Bug 5444 - "Must Change Password at Next Login" does not work
"Must Change Password at Next Login" does not work
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
3.0.28a
All Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-06 14:03 UTC by Mike Brady
Modified: 2008-05-06 14:09 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