search for: pdb_get_pass_can_chang

Displaying 1 result from an estimated 1 matches for "pdb_get_pass_can_chang".

2009 Jan 08
0
Wrong behaviour in pdb_get_set.c: pdb_get_pass_can_change_time?
...s: 1) change_oem_password (smbd/chgpasswd.c): It seems this is the function that is called upon a user changes it's password from a windows box. And it's there that some strange things start to happen: It calls pdb_gat_pass_can_change_time to get the time, but before this time is checked, pdb_get_pass_can_change (passdb/pdb_get_set.c) is called. There, if sampass->pass_can_change_time is equal to get_time_t_max() (which is I think the maximum 32bit number, correct me if I'm wrong) and the time the password was last set (sampass->pass_last_set_time) is not nil, it refuses to change the password....