summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-12 15:51:19 +0200
committerGünther Deschner <gd@samba.org>2011-10-14 12:07:24 +0200
commit2a5affffff2beca0958b10cfd652f63825104c8a (patch)
tree2a0537a1306ad71671d04f35c83155ff551dd06f /source3
parentd6a1867349da01615e23a3715938193053838ce8 (diff)
downloadsamba-2a5affffff2beca0958b10cfd652f63825104c8a.tar.gz
samba-2a5affffff2beca0958b10cfd652f63825104c8a.tar.bz2
samba-2a5affffff2beca0958b10cfd652f63825104c8a.zip
s3-passdb: add {LM|NT}_HASH_LEN defines in passdb.h.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/passdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index 93850b64e4..b8e7e0a8ab 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -23,6 +23,14 @@
#ifndef _PASSDB_H
#define _PASSDB_H
+#ifndef NT_HASH_LEN
+#define NT_HASH_LEN 16
+#endif
+
+#ifndef LM_HASH_LEN
+#define LM_HASH_LEN 16
+#endif
+
#include "../librpc/gen_ndr/lsa.h"
/* group mapping headers */