Searched refs:pwHistLen (Results 1 - 3 of 3) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/passdb/ |
H A D | pdb_get_set.c | 1191 uint32 pwHistLen; local 1192 account_policy_get(AP_PASSWORD_HISTORY, &pwHistLen); 1193 if (pwHistLen != 0){ 1200 if (current_history_len != pwHistLen) { 1204 /* current_history_len > pwHistLen is not a problem - we 1207 if (current_history_len < pwHistLen) { 1210 pwHistLen*PW_HISTORY_ENTRY_LEN); 1218 '\0', (pwHistLen-current_history_len)*PW_HISTORY_ENTRY_LEN); 1223 if (pwhistory && pwHistLen){ 1225 if (pwHistLen > [all...] |
H A D | pdb_ldap.c | 465 int pwHistLen; local 746 account_policy_get(AP_PASSWORD_HISTORY, &pwHistLen); 747 if (pwHistLen > 0){ 752 pwHistLen = MIN(pwHistLen, ((sizeof(temp)-1)/64)); 754 if ((pwhist = SMB_MALLOC(pwHistLen * PW_HISTORY_ENTRY_LEN)) == NULL){ 758 memset(pwhist, '\0', pwHistLen * PW_HISTORY_ENTRY_LEN); 765 for (i = 0; i < pwHistLen; i++){ 781 memset(pwhist, '\0', pwHistLen * PW_HISTORY_ENTRY_LEN); 784 if (!pdb_set_pw_history(sampass, pwhist, pwHistLen, PDB_SE 1089 int pwHistLen = 0; local [all...] |
H A D | passdb.c | 1773 uint32 pwHistLen = 0; local 1895 account_policy_get(AP_PASSWORD_HISTORY, &pwHistLen); 1896 if (pwHistLen) { 1897 char *pw_hist = SMB_MALLOC(pwHistLen * PW_HISTORY_ENTRY_LEN); 1902 memset(pw_hist, '\0', pwHistLen * PW_HISTORY_ENTRY_LEN); 1907 for (i = 0; (i < pwHistLen) && (i < nt_pw_hist_len); i++) { 1913 if (!pdb_set_pw_history(sampass, pw_hist, pwHistLen, PDB_SET)) { 1995 uint32 pwHistLen = 0; local 2103 account_policy_get(AP_PASSWORD_HISTORY, &pwHistLen); 2105 if (pwHistLen [all...] |
Completed in 50 milliseconds