Bug 2836 - "password never expires" cosmetic problem
"password never expires" cosmetic problem
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
3.0.23
All Windows XP
: P3 minor
: 3.0.26
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-29 10:11 UTC by Daniel Beschorner
Modified: 2007-05-11 11:37 UTC (History)
4 users (show)

See Also:


Attachments
Patch to return time_min if password never expires (1.11 KB, patch)
2005-09-12 10:32 UTC, Daniel Beschorner
no flags Details
Patch to return time_min if password never expires V2 (1.11 KB, patch)
2005-11-07 15:09 UTC, Daniel Beschorner
no flags Details
Patch for 3.0.23 (1.06 KB, patch)
2006-06-29 05:27 UTC, Daniel Beschorner
no flags Details
Patch for 3.0.23 (1.06 KB, patch)
2006-06-29 05:36 UTC, Daniel Beschorner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Beschorner 2005-06-29 10:11:31 UTC
With sambaAcctFlags [UX         ] ("password never expires" in usrmgr) Windows 
still complains "Your password expires in ... days".
Comment 1 Jacob Elder 2005-09-08 12:25:29 UTC
(In reply to comment #0)
> With sambaAcctFlags [UX         ] ("password never expires" in usrmgr) 
Windows 
> still complains "Your password expires in ... days".

This more than cosmetic. It has triggered dozens of help desk calls from 
frustrated users who's passwords are expiring all of a sudden. 
Comment 2 Daniel Beschorner 2005-09-12 10:32:43 UTC
Created attachment 1439 [details]
Patch to return time_min if password never expires

so Windows won't complain any longer, works at least for me
Comment 3 Daniel Beschorner 2005-11-07 15:09:14 UTC
Created attachment 1565 [details]
Patch to return time_min if password never expires V2
Comment 4 Daniel Beschorner 2006-06-29 05:27:35 UTC
Created attachment 2001 [details]
Patch for 3.0.23

No password expires warnings when password never expires is set
Comment 5 Daniel Beschorner 2006-06-29 05:36:51 UTC
Created attachment 2002 [details]
Patch for 3.0.23
Comment 6 Daniel Beschorner 2006-06-29 05:37:26 UTC
Comment on attachment 2002 [details]
Patch for 3.0.23

No password expires warnings when password never expires is set
Comment 7 Volker Lendecke 2006-06-29 06:10:33 UTC
I'd rather set this in the init_sam_from_xx routines, so that there can be no confusion about the data field contents.

Volker
Comment 8 Daniel Beschorner 2006-06-29 09:31:48 UTC
A better solution might be to init the pwd_must_change on toggling the noexp flag.

But why not kill the pwd_must_change field at all?
It's just calculated from last password change time + maximum password age policy in Windows I assume.
Comment 9 Volker Lendecke 2006-06-29 09:34:43 UTC
Sure, that's the 100% solution. Feel free, but please don't change any data format in LDAP or tdb, just ignore this field while reading and set it to some defined dummy value while writing.

Volker