Bug 6245 - usrmgr, when creating a new user, "user must change password on next logon" doesnt take effect
Summary: usrmgr, when creating a new user, "user must change password on next logon" d...
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.3.3
Hardware: x86 Linux
: P3 normal
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-04-02 17:13 UTC by David Markey
Modified: 2009-04-03 06:13 UTC (History)
0 users

See Also:

backport to 3-3-test (10.77 KB, patch)
2009-04-03 05:08 UTC, Guenther Deschner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Markey 2009-04-02 17:13:10 UTC
usrmgr, which creating a new user ticking "user must change password on next logon" doesn't take effect, the administrator has to go into the user properties of the newly created user to tick the box.

I'm using an LDAP backend. Its probably advisable to use different back-ends.

Also an issue on 3.2(and possibly 3.0)
Comment 1 Guenther Deschner 2009-04-02 18:11:13 UTC
As a start I tested with 3-4-test and tdbsam and it worked. 

Need to look at other branches and backends still.
Comment 2 Guenther Deschner 2009-04-03 05:08:06 UTC
Ok, the fix for this (in 3-4-test) is: 
Comment 3 Guenther Deschner 2009-04-03 05:08:44 UTC
Created attachment 4048 [details]
backport to 3-3-test

This does it for me in 3-3-test
Comment 4 Guenther Deschner 2009-04-03 05:33:09 UTC
tested the 3-3-test patch with ldapsam successfully as well.
Comment 5 Guenther Deschner 2009-04-03 06:13:20 UTC
Closing, as the (tested) backport patch has been pushed to 3-3-test and will be in next releases.

The remaining problem is the use of the smbk5pwd OpenLDAP overlay when used with ldapsam. The smbk5pwd is not part of Samba.