[Samba] Unable to join Windows2003 machine to Samba domain

Tomasz Chmielewski mangoo at mch.one.pl
Wed Jun 8 19:00:33 GMT 2005


Jim McDonough schrieb:
> 
> 
> 
>>The result is I get the message "Logon failure: unknown user name or
>>bad password."
>>
>>I have set the root password with smbpasswd on the PDC machine.  I have
>>many users in the ldap backend but root is in passwd.  Have I forgotten
>>something?

here some more clues:

- see what's added to Samba logs when you want to join to the domain
- your add machine script seems to be wrong:

shouldn't it be (you forgot about "-w"):


         add machine script = /usr/local/sbin/smbldap-useradd -w "%u"

- try if adding machine from command line works:

# /usr/local/sbin/smbldap-useradd -w somename
# getent passwd

should list you the machine name you just added.


-- 
Tomek


More information about the samba mailing list