[Samba] Password change caused lose X flag

Gerald (Jerry) Carter jerry at samba.org
Thu Sep 29 12:20:47 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Li, Ying (ESG) wrote:
| Hello,
|
| I have a question with password never expired flag during changing
| password.
|
| If X flag for password never expired has been set in account flags for a
| user, password change would cause to lose the X flags. By taking a look
| at the code of the line 993 in passdb/passdb.c, it said all other acb
| flags will be inherited from current existing account ctrl bit, except
| for (ACB_WSTRUST|ACB_DOMTRUST|ACB_SVRTRUST|ACB_NORMAL). So I assume the
| attribute ACB_PWNOEXP should present during changing password.
|
| However, actually, when a password is changed, the attribute disappears,
| so that administrator have to reset the attribute for all users. I just
| want to know this behavior is a bug or by design.

Sounds like a bug from your description.  I'd file a report at
bugzilla.samba.org.






cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDO9wfIR7qMdg1EfYRAmV1AKCc4lEjaxsViABK066MTg7BtJrr4QCg71k/
PjRW/PybI1ltzZv0Kwraq9M=
=Nft3
-----END PGP SIGNATURE-----


More information about the samba mailing list