Failing to join domain/Samba/LDAP/XP
I've read quite a few posts in various forums on this problem, but haven't yet found a solution. I'm running Samba 3.0.23c-1.fc5 (Fedora 5) as a PDC with an LDAP backend and my problem is joining XP machines to the domain. It seems that the only way I can get it to work is to add the machine account with
smbldap-useradd -w "machine$"
and _also_ add an entry to /etc/passwd for the same machine with the same uid and gid as assigned in the LDAP backend.
Unless I do both, I always get a user name not found error when trying to join the domain.
Another interesting thing is that when asked on the XP side for a username and password of an account that has permissions to join the domain, entering "root" without a password works. If I include the password for root I get an bad password error.
I have defined in smb.conf
add machine script = /usr/sbin/smbldap-useradd -w "%u"
and when joining fails, the following in smbd.log
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w "machine$"' gave 9
|All times are GMT -5. The time now is 09:22 PM.|