Bug 5444 - "Must Change Password at Next Login" does not work
Summary: "Must Change Password at Next Login" does not work
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.28a
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-06 14:03 UTC by Mike Brady
Modified: 2020-12-20 23:25 UTC (History)
0 users

See Also:


Attachments
Compressed Log level 10 of WinXP session (894.52 KB, application/x-gzip)
2008-05-06 14:07 UTC, Mike Brady
no flags Details
smb.conf (2.93 KB, text/plain)
2008-05-06 14:09 UTC, Mike Brady
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Brady 2008-05-06 14:03:49 UTC
When setting the "User Must Change Password at Next Login" flag via usrmgr the user is not prompted to change their password.  The various Password fields in password backend (tdb) as viewed using pdbedit are all set to zero, so it is doing something.

Setting this using "net sam pwdmustchangenow" works correctly (i.e. the users is prompted to change their password).  It also sets all the password fields to zero, but I guess it must be doing something else as well.

System is Centos 5.1 x86_64.
Samba is a v3-0-test GIT snapshot from 26 Apr 2008.
Comment 1 Mike Brady 2008-05-06 14:07:36 UTC
Created attachment 3276 [details]
Compressed Log level 10 of WinXP session

Log file covers 
- login as root from WinXP
- Set "Must Change Password" for user fredf
- log out
- login as fredf

Change password was not prompted for.
Comment 2 Mike Brady 2008-05-06 14:09:20 UTC
Created attachment 3277 [details]
smb.conf
Comment 3 Björn Jacke 2020-12-20 23:25:49 UTC
usrmgr works here as designed.