From: Jeremy Allison Date: Mon, 30 Apr 2001 22:12:38 +0000 (+0000) Subject: Ensure correct password change script gets selected --with-pam. X-Git-Tag: samba-2.2.5pre1~2087^2~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6703f621ea798bd1877bd3baa523307ee288dccd;p=thirdparty%2Fsamba.git Ensure correct password change script gets selected --with-pam. Jeremy. --- diff --git a/source/include/local.h b/source/include/local.h index e534f39306a..6449816c25d 100644 --- a/source/include/local.h +++ b/source/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