1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-23 20:23:50 +03:00

r15649: Allow to store 24 password history entries in ldapsam (same limit as on

Windows). Fixes bug #1914.

Guenther
This commit is contained in:
Günther Deschner
2006-05-16 22:03:05 +00:00
committed by Gerald (Jerry) Carter
parent 51df47c772
commit b5a5d0b24e
2 changed files with 8 additions and 6 deletions

View File

@@ -738,6 +738,7 @@ struct locking_data {
#define PW_HISTORY_SALT_LEN 16
#define SALTED_MD5_HASH_LEN 16
#define PW_HISTORY_ENTRY_LEN (PW_HISTORY_SALT_LEN+SALTED_MD5_HASH_LEN)
#define MAX_PW_HISTORY_LEN 24
/*
* Flags for account policy.