[Samba] ldap passwd sync only

Gerald (Jerry) Carter jerry at samba.org
Wed Aug 15 20:57:13 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcin Giedz wrote:

> In my opinion there is something wrong with
> ldap password sync" and "unix password sync" as
> well. In my case I need to update NTLM passwords
> and userPassword but in several different places
> in LDAP tree. In smb.conf I've got something like this:
>
> ldap passwd sync = No
> unix password sync = Yes
> passwd program = /opt/samba-3.0.23d/bin/spasswd.pl -u %u
> passwd chat = *New*password* %n\n *Retype*new*password* %n\n
>
> where spasswd.pl script changes userPassword in
> many places for particular user. The problem is
> when I have "unix password sync=Yes" I CAN'T join
> domain any Linux machines. So to join such machine I need to
> mark "unix password sync" , then add machine and
> change "unix password sync" back. This is workaround
> but not a solution.
>
> The same situation is with 3.0.25b.

Looks at level 10 debug logs for SAMR_SET.*PASS.* or
SAMR_CREATE_USER and it should be apparent what is failing.




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGw2ipIR7qMdg1EfYRAskIAJ0cLJa19xNQgStyOPED4zOWFrDCaACg2d/j
sK+9+i0fKn1aRnXiKSjjzt4=
=2fja
-----END PGP SIGNATURE-----


More information about the samba mailing list