Displaying 1 result from an estimated 1 matches for "pdb_canchangetim".
Did you mean:
pdb_canchangetime
2009 Jan 08
0
Wrong behaviour in pdb_get_set.c: pdb_get_pass_can_change_time?
...word was set
(sampass->pass_last_set_time) equals nil, it returns zero. So we are up
to three way's of preventing password changes in general.
Now following some 3 stange lines of code:
if (sampass->pass_can_change_time == get_time_t_max() &&
pdb_get_init_flags(sampass, PDB_CANCHANGETIME) == PDB_CHANGED)
return sampass->pass_can_change_time;
Here (again, unneccessarily) the time is checked against get_time_t_max
and it's checked wether the flag that the sambaPwdCanChange time was
changed (which doesn't makes much sense to me at all, because this line
will nev...