PW_HISTORY_ENTRY_LEN 1446 source3/passdb/passdb.c uint8 *pw_hist = SMB_MALLOC_ARRAY(uint8, pwHistLen * PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1451 source3/passdb/passdb.c memset(pw_hist, '\0', pwHistLen * PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1454 source3/passdb/passdb.c SMB_ASSERT((nt_pw_hist_len % PW_HISTORY_ENTRY_LEN) == 0); PW_HISTORY_ENTRY_LEN 1455 source3/passdb/passdb.c nt_pw_hist_len /= PW_HISTORY_ENTRY_LEN; PW_HISTORY_ENTRY_LEN 1457 source3/passdb/passdb.c memcpy(&pw_hist[i*PW_HISTORY_ENTRY_LEN], PW_HISTORY_ENTRY_LEN 1458 source3/passdb/passdb.c &nt_pw_hist_ptr[i*PW_HISTORY_ENTRY_LEN], PW_HISTORY_ENTRY_LEN 1459 source3/passdb/passdb.c PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1680 source3/passdb/passdb.c uint8 *pw_hist = (uint8 *)SMB_MALLOC(pwHistLen * PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1685 source3/passdb/passdb.c memset(pw_hist, '\0', pwHistLen * PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1688 source3/passdb/passdb.c SMB_ASSERT((nt_pw_hist_len % PW_HISTORY_ENTRY_LEN) == 0); PW_HISTORY_ENTRY_LEN 1689 source3/passdb/passdb.c nt_pw_hist_len /= PW_HISTORY_ENTRY_LEN; PW_HISTORY_ENTRY_LEN 1691 source3/passdb/passdb.c memcpy(&pw_hist[i*PW_HISTORY_ENTRY_LEN], PW_HISTORY_ENTRY_LEN 1692 source3/passdb/passdb.c &nt_pw_hist_ptr[i*PW_HISTORY_ENTRY_LEN], PW_HISTORY_ENTRY_LEN 1693 source3/passdb/passdb.c PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1886 source3/passdb/passdb.c nt_pw_hist_len *= PW_HISTORY_ENTRY_LEN; PW_HISTORY_ENTRY_LEN 161 source3/passdb/pdb_get_set.c || ((sampass->nt_pw_his.length % PW_HISTORY_ENTRY_LEN) == 0)); PW_HISTORY_ENTRY_LEN 162 source3/passdb/pdb_get_set.c *current_hist_len = sampass->nt_pw_his.length / PW_HISTORY_ENTRY_LEN; PW_HISTORY_ENTRY_LEN 879 source3/passdb/pdb_get_set.c pwd, historyLen*PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1033 source3/passdb/pdb_get_set.c pwHistLen*PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1041 source3/passdb/pdb_get_set.c current_history_len*PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1044 source3/passdb/pdb_get_set.c memset(&new_history[current_history_len*PW_HISTORY_ENTRY_LEN], PW_HISTORY_ENTRY_LEN 1045 source3/passdb/pdb_get_set.c '\0', (pwHistLen-current_history_len)*PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1053 source3/passdb/pdb_get_set.c memmove(&pwhistory[PW_HISTORY_ENTRY_LEN], PW_HISTORY_ENTRY_LEN 1054 source3/passdb/pdb_get_set.c pwhistory, (pwHistLen -1)*PW_HISTORY_ENTRY_LEN ); PW_HISTORY_ENTRY_LEN 918 source3/passdb/pdb_ldap.c pwHistLen * PW_HISTORY_ENTRY_LEN)) == PW_HISTORY_ENTRY_LEN 923 source3/passdb/pdb_ldap.c memset(pwhist, '\0', pwHistLen * PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 936 source3/passdb/pdb_ldap.c &pwhist[i*PW_HISTORY_ENTRY_LEN])) { PW_HISTORY_ENTRY_LEN 942 source3/passdb/pdb_ldap.c &pwhist[(i*PW_HISTORY_ENTRY_LEN)+ PW_HISTORY_ENTRY_LEN 951 source3/passdb/pdb_ldap.c memset(pwhist, '\0', pwHistLen * PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 1348 source3/passdb/pdb_ldap.c pdb_sethexpwd(&pwstr[i*64], &pwhist[i*PW_HISTORY_ENTRY_LEN], 0); PW_HISTORY_ENTRY_LEN 1351 source3/passdb/pdb_ldap.c &pwhist[(i*PW_HISTORY_ENTRY_LEN)+PW_HISTORY_SALT_LEN], 0); PW_HISTORY_ENTRY_LEN 1051 source3/smbd/chgpasswd.c dump_data(100, pwhistory, PW_HISTORY_ENTRY_LEN*pwHisLen); PW_HISTORY_ENTRY_LEN 1056 source3/smbd/chgpasswd.c const uchar *current_salt = &pwhistory[i*PW_HISTORY_ENTRY_LEN]; PW_HISTORY_ENTRY_LEN 1057 source3/smbd/chgpasswd.c const uchar *old_nt_pw_salted_md5_hash = &pwhistory[(i*PW_HISTORY_ENTRY_LEN)+ PW_HISTORY_ENTRY_LEN 292 source3/torture/pdbtest.c if (history * PW_HISTORY_ENTRY_LEN < NT_HASH_LEN) { PW_HISTORY_ENTRY_LEN 295 source3/torture/pdbtest.c buf = (uint8 *)TALLOC(ctx, history * PW_HISTORY_ENTRY_LEN); PW_HISTORY_ENTRY_LEN 309 source3/torture/pdbtest.c for (i = 0; i < history * PW_HISTORY_ENTRY_LEN; i++) {