Displaying 1 result from an estimated 1 matches for "pdb_set_pass_must_change_time".
Did you mean:
pdb_get_pass_must_change_time
2002 Jul 17
0
user password expiration patch (Samba 2.2.4/2.2.5 PDC with LDAP)
.../pdb_smbpasswd.c Thu Jun 6 17:11:02 2002
@@ -1222,10 +1222,11 @@
pdb_set_dir_drive (sam_pass, lp_logon_drive(), False);
- /* FIXME!! What should this be set to? New smb.conf parameter maybe?
- max password age? For now, we'll use the current time + 21 days.
- --jerry */
- pdb_set_pass_must_change_time (sam_pass, time(NULL)+1814400);
+ /* to jerry --
+ FIXED!! New smb.conf parameter "user password expiration"
+ default is 21 days in sec.
+ --marcus & fred */
+ pdb_set_pass_must_change_time (sam_pass,
time(NULL)+lp_user_password_expiration());
/* check if this is a...