diff options
author | Günther Deschner <gd@samba.org> | 2006-05-16 22:03:05 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:05 -0500 |
commit | f81e4521bf9408754a9873646fd7e911d968b4e1 (patch) | |
tree | 8032da2d5f4282d728070fed37a82597f820b132 /source3/include | |
parent | 5e8221d9091320414bd168f8166e189c50f95a87 (diff) | |
download | samba-f81e4521bf9408754a9873646fd7e911d968b4e1.tar.gz samba-f81e4521bf9408754a9873646fd7e911d968b4e1.tar.xz samba-f81e4521bf9408754a9873646fd7e911d968b4e1.zip |
r15649: Allow to store 24 password history entries in ldapsam (same limit as on
Windows). Fixes bug #1914.
Guenther
(This used to be commit b5a5d0b24ea5320cb2f28dbefe81ddf5c58baf77)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index c583055a49c..fdeaaad6515 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -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. |