[Samba] smbldap-useradd join domain

Didier Roques Didier.Roques at brive.unilim.fr
Fri Jul 7 14:21:17 GMT 2006

 I use samba 3.0.20, and i use the smbldap-tool 0.9.2.

I've got a problem to add a workstation to the domain using the
following script

add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -c 'Machine
Account' -s /bin/false '%u'

The machine is included into the ldap hosts tree but it misses the
sambaSamAccount class ... so the machine is not joined to the domain, i've
got an error "user unknown" given by the windows workstation.

When i read the perl script smbldap-useradd it seems that the w option is
not computed correctly...

Have you got a patch or a solution ?

thanks a lot!

More information about the samba mailing list