search for: pdb_get_pass_last_set_time

Displaying 3 results from an estimated 3 matches for "pdb_get_pass_last_set_time".

2004 Jul 05
1
Accounts are getting disabled
...ich I'm happy to > look into and fix). > > /* only reset a password if the last set time has been > explicitly been set to zero. A default last set time > is ignored */ > > if ( (pdb_get_init_flags(pass, PDB_PASSLASTSET) != PDB_DEFAULT) > && (pdb_get_pass_last_set_time(pass) == 0) ) > { > > The intention of the logic was that if the value was undefined in LDAP, > the flags would be set to PDB_DEFAULT and it would not be treated as > 'defined as zero' for this test. I take a closer look at my users: Heres a ldap record (without passwor...
2002 Jul 17
0
user password expiration patch (Samba 2.2.4/2.2.5 PDC with LDAP)
...ime = (uint32)pdb_get_kickoff_time(sampass); pass_can_change_time = (uint32)pdb_get_pass_can_change_time(sampass); - pass_must_change_time = (uint32)pdb_get_pass_must_change_time(sampass); + pass_must_change_time = (uint32) time(NULL)+lp_user_password_expiration(); pass_last_set_time = (uint32)pdb_get_pass_last_set_time(sampass);
2003 Sep 23
0
[PATCH] tdb multiple format
...(sampass); kickoff_time = (uint32)pdb_get_kickoff_time(sampass); + lockout_time = (uint32)pdb_get_lockout_time(sampass); pass_can_change_time = (uint32)pdb_get_pass_can_change_time(sampass); pass_must_change_time = (uint32)pdb_get_pass_must_change_time(sampass); pass_last_set_time = (uint32)pdb_get_pass_last_set_time(sampass); @@ -1598,10 +1641,11 @@ if (munged_dial) munged_dial_len = strlen(munged_dial) +1; else - munged_dial_len = 0; - + munged_dial_len = 0; + + /* one time to get the size needed */ - len = tdb_pack(NULL, 0, TDB_FORMAT_STRING, + len = tdb_pack(NULL, 0, TDB_FORMAT_STRING[TDB_F...