Bug 7101 - [PATCH] ldap password sync doesn't work with and ldap password policy
Summary: [PATCH] ldap password sync doesn't work with and ldap password policy
Alias: None
Product: Samba 3.4
Classification: Unclassified
Component: User & Group Accounts (show other bugs)
Version: 3.4.3
Hardware: Other Windows NT
: P3 normal
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: Samba QA Contact
Depends on:
Reported: 2010-02-04 19:37 UTC by Andy Hanton
Modified: 2010-07-06 11:53 UTC (History)
0 users

See Also:

Update ldap password first (2.17 KB, patch)
2010-02-04 19:38 UTC, Andy Hanton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Hanton 2010-02-04 19:37:27 UTC
I have a password policy set on my ldap server and I have 'ldap password sync' set.  When I try to change my password to one that doesn't satisfy the policy, samba incorrectly claims that the password change failed.  My samba password is set to the new password, but my ldap password stays the same.  Samba should set the ldap password first so that the two passwords stay in sync even if the ldap server refuses the new password.
Comment 1 Andy Hanton 2010-02-04 19:38:15 UTC
Created attachment 5277 [details]
Update ldap password first
Comment 2 Björn Jacke 2010-07-06 11:53:33 UTC
this looks good for me, thanks! I added it to master with a679319192a50f8115c830ceabe33010d584e3c9 
It will be in the upcoming 3.6 releases.