SUSE LINUX Enterprise & openSUSE Community
เมษายน 26, 2019, 12:52:29 AM *
ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น
   หน้าแรก   ช่วยเหลือ ค้นหา เข้าสู่ระบบ สมัครสมาชิก  

[Why we need your support] SUSE and openSUSE are trademarks of Attachmate Group, Inc. - WE ARE NOT IN ANY WAY ASSOCIATED WITH SUSE AND ATTACHMATE GROUP. is a SUSE Linux user and community found in Thailand but not limited to other country suse linux user to join in. Currently active contents (How to's, Scripts, Tips, Tricks, Tutorials, Linux Command Line, and Troubleshooting) this suse linux how to's and expert support are SUSE Linux.
หน้า: [1]   ลงล่าง
หัวข้อ: [Check list] ไคลเอ็นต์เวิร์คสเตชั่นไม่สามารถ join โดเมนไปยัง Samba Domain ได้  (อ่าน 1912 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
Expert : ผู้เชี่ยวชาญ

Karma: +1/-0
ออฟไลน์ ออฟไลน์

กระทู้: 1931


« เมื่อ: มกราคม 14, 2013, 01:45:59 PM »

Unable To Join Workstation To Samba Domain: ERROR: ACCESS_DENIED or User Name Could Not Be Found


SUSE Linux Enterprise Desktop 10
SUSE Linux Enterprise Desktop 11
Novell Open Enterprise Server 2 (OES 2) Linux


While trying to join a workstation to a Samba domain, the following errors may be encountered (on the client/workstation):

ERROR: The following error occurred attempting to join the domain "YourDomainName":  The user name could not be found

ERROR: The following error occurred attempting to join the domain "YourDomainName": ACCESS_DENIED
The /var/log/samba/log.smbd may report the following:
smbldap_open: cannot access LDAP when not root..


On the server, check the following:
Make sure the user being used to join the domain with exists

getent passwd | grep -i <username>

Make sure the user also shows up as a Samba-enabled user

pdbedit -Lw | grep -i <username>

List the rights the user has under Samba

net rpc rights list <username>

When executing the command listed above, you will need to enter root's password
If the user has sufficient rights, then the right "SeMachineAccountPrivilege" should be returned
If the SeMachineAccountPrivilege is not listed, then the right will need to be granted to the user

net rpc rights grant <username> SeMachineAccountPrivilege

If, while trying to add rights to the user the following error is encountered, then add the root user to samba, or make sure the password is correct (outlined below):

ERROR:  Failed to grant privileges for <username> (NT_STATUS_ACCESS_DENIED)

To add a user, such as root, to Samba (this can be done through iManager for OES Linux servers), run the following command:

smbpasswd -a root
(enter the password when prompted)

To change the Samba root password (assuming the user is already there), run the following command:

smbpasswd root
(enter the password when prompted)

If the root user had to be added, or the password modified, try re-granting the rights to the username as specified in number three above.
Once the rights are granted, and can be listed as outline in number three above, the user should be able to join accounts to the domain.

Reference -
แจ้งลบกระทู้นี้หรือติดต่อผู้ดูแล   บันทึกการเข้า

ageLOC Technology
หน้า: [1]   ขึ้นบน

(@)2007 SUSE Linux user community found in Thailand. This site is not an official openSUSE and SUSE website, and is not in any way affiliated with or endorsed by SUSE Linux GmbH or Novell. openSUSE and SUSE are trademarks of Novell, Inc. in the United States and other countries.
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
หน้านี้ถูกสร้างขึ้นภายในเวลา 0.035 วินาที กับ 19 คำสั่ง (Pretty URLs adds 0.009s, 2q)