[Samba] smbldap tools

Adam Williams adam at morrison-ind.com
Mon Nov 17 11:41:21 GMT 2003


|>|Yes you can, but without the -a option:
> |>|add user script = /usr/local/sbin/smbldap-useradd.pl -m "%u"
> |>The only difference here is that it creates the home directory but still
> |>posixAccount.
> |>This makes creating a new user a 2 step:
> |>1-smbldap-useradd.pl
> |>2- smbpasswd
> |Are you using it in smb.conf add user script or not?  If so what does
> |smbpasswd have to do with anything?  
> |1. Create the posixAccount object (the purpose of smbldap-useradd).
> |2. *SAMBA* will create the sambaSamAccount attributes on the relevant
> |posixAccount.
> How will samba do that, or more accurately when ?

It will do that immediatly after invoking add user script, assuming add
user script returned a success return value.




More information about the samba mailing list