[Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

Asier Baranguán abaranguan at elpagestion.com
Tue Jun 26 21:45:26 GMT 2007


El Martes, 26 de Junio de 2007 10:23, mikelOn escribió:
>         add user script = /usr/sbin/smbldap-useradd -m "%u"

If your users are Windows users you should add an '-a' here, and add the users 
with the '-a' flag. Like this:

	add user script = /usr/sbin/smbldap-useradd -m -a "%u"

>         delete user script = /usr/sbin/smbldap-userdel -r "%u"
>         add group script = /usr/sbin/smbldap-groupadd "%g"

You should add '-a -p' here:

         add group script = /usr/sbin/smbldap-groupadd -m -a "%g"

> P.S.: ¿Can it have anything to do with other stuff such as the DNS server?

Perhaps yes... I have a Samba server with OpenLDAP acting as a PDC and we use 
dnsmasq as our DNS server. It's small, fast and deals very well with Samba 
and Windows clients. We use it also as DHCP server so all the machines have 
the correct IP, DNS server, WINS Server and so on.

One question... the user "mikelvm" is a regular UNIX user or one added with 
the smbldap-useradd tool?
-- 
Asier.


More information about the samba mailing list