Displaying 1 result from an estimated 1 matches for "pdb_get_can_change_tim".
Did you mean:
pdb_get_can_change_time
2009 Jan 08
0
Wrong behaviour in pdb_get_set.c: pdb_get_pass_can_change_time?
...change_time,
which has the result of pdb_get_pass_can_change_time stored, is not nil,
and if the actual time is smaller than can_change_time.
So there is another magic value that can prevent password changes: 0.
Why are there two such values at all?! But let's continue on:
I now had a look at pdb_get_can_change_time, which I think behaves
improperly:
First, if the last time the password 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...