s3-passdb: add {LM|NT}_HASH_LEN defines in passdb.h.
authorGünther Deschner <gd@samba.org>
Wed, 12 Oct 2011 13:51:19 +0000 (15:51 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 14 Oct 2011 10:07:24 +0000 (12:07 +0200)
Guenther

source3/include/passdb.h

index 93850b64e4aa48663f0a295402142dde47815e56..b8e7e0a8abecffbbbf296f3bb8ecd9b8029937b1 100644 (file)
 #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 */