[Samba] ldap backend and usrmgr.exe

Johan Hendriks Johan at double-l.nl
Thu Nov 18 09:34:19 MST 2010

This is a case in your smbldap-tools: "add user script=
/usr/local/sbin/smbldap-useradd -m %u"
Put in the right arguments that fit your system.

I think also your passwd change wont work this way:

passwd program = /usr/bin/passwd %u
      passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn *

This has to be:

ldap passwd sync = Yes
passwd program = /usr/local/sbin/smbldap-passwd -u %u

EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de

Thank you for your kind reply.

I do not clearly know what you mean with the First answer.
I tried almost every option.
-a -P -m "%u"  and so on.
If i use /usr/local/sbin/smbldap-useradd -m test
The user test is added to the system, and i can see it with usrmgr.exe..

Could you be more specific what i need to change.

Thanks again.
ps i am out of the office till thuesday, so no message does not mean that i am not thankfull :D

Johan Hendriks

More information about the samba mailing list