From 28b4b059386b4369d6ad85c82bbc150aa81609c4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 22 Feb 2011 19:45:24 +0100 Subject: s3-includes: move some chgpasswd related defines to the locations where they are used. Guenther --- source3/auth/pass_check.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/auth') diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c index c61a10ba1b..d3b9b92601 100644 --- a/source3/auth/pass_check.c +++ b/source3/auth/pass_check.c @@ -25,6 +25,12 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_AUTH +/* what is the longest significant password available on your system? + Knowing this speeds up password searches a lot */ +#ifndef PASSWORD_LENGTH +#define PASSWORD_LENGTH 8 +#endif + /* these are kept here to keep the string_combinations function simple */ static char *ths_user; -- cgit