Displaying 2 results from an estimated 2 matches for "pdb_get_pass_must_change_time".
2002 Jul 17
0
user password expiration patch (Samba 2.2.4/2.2.5 PDC with LDAP)
...+ samba-2.2.4/source/passdb/pdb_ldap.c Fri Jun 7 14:39:10 2002
@@ -608,7 +608,7 @@
slprintf (temp, sizeof (temp) - 1, "%li",
pdb_get_pass_can_change_time(sampass));
make_a_mod(mods, ldap_state, "pwdCanChange", temp);
- slprintf (temp, sizeof (temp) - 1, "%li",
pdb_get_pass_must_change_time(sampass));
+ slprintf (temp, sizeof (temp) - 1, "%li",
time(NULL)+lp_user_password_expiration());
make_a_mod(mods, ldap_state, "pwdMustChange", temp);
/* displayName, cn, and gecos should all be the same
diff -ur --new-file samba.org/source/passdb/pdb_smbpasswd.c
samba-...
2003 Sep 23
0
[PATCH] tdb multiple format
...db_get_logon_time(sampass);
logoff_time = (uint32)pdb_get_logoff_time(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, T...