[Samba] domain join - no sambaSamAccount created
U. Dettmer
udettmer at gmx.net
Fri Sep 5 09:10:17 GMT 2003
Hi,
we are using Samba 3 ( CVS checkout from 09/01 ) on a SuSE 8.2 box with all patches applied. The passdb backend is LDAP / eDirectory 8.7 on
another machine. The Samba box is supposed to work as a stand alone domain controller, so I am testing to join a client machine to it's domain.
This is my "add machine script": /usr/bin/cpu useradd %u -d /dev/null -f /etc/samba/scripts/machadd.cfg -F %u -L %u -g 511 -p xxx
I've manually tested this script and it's reliably creating a functional user with the necessary posixAccount class attached. When I do a
"smbpasswd -amn" on that user object it becomes a Samba machine account just as it should.
But when I run the "Network ID"-Wizard from the Windows XP client I get a "bad username or password" message when Windows is at the point of
actually requesting the machine account on the DC.
Strangely, the correct posixAccount is indeed being created - Samba simply "forgets" to add the SambaSamAccount after the script ran. This is
also what the LDAP log tells me: There are no errors at all, but the LDAP traffic still stops right after the posixAccount user is added.
I've also got a level 3 Samba log for the client machine. It doesn't tell me much more, but it can be mailed on request.
Thanks for any help !
Ulf Dettmer
More information about the samba
mailing list