From e3ca9f33bb979cc341286e37f4f2f5d3e47c4124 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 30 Apr 2001 22:12:38 +0000 Subject: Ensure correct password change script gets selected --with-pam. Jeremy. (This used to be commit 6703f621ea798bd1877bd3baa523307ee288dccd) --- source3/include/local.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include') diff --git a/source3/include/local.h b/source3/include/local.h index e534f39306..6449816c25 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -168,7 +168,11 @@ * Default passwd chat script. */ +#ifdef WITH_PAM +#define DEFAULT_PASSWD_CHAT "(current) New Retype" +#else #define DEFAULT_PASSWD_CHAT "*new*password* %n\\n *new*password* %n\\n *changed*" +#endif /* Minimum length of allowed password when changing UNIX password. */ #define MINPASSWDLENGTH 5 -- cgit