diff options
author | Jeremy Allison <jra@samba.org> | 2001-04-30 22:12:38 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-04-30 22:12:38 +0000 |
commit | 6703f621ea798bd1877bd3baa523307ee288dccd (patch) | |
tree | 96f87a7d971d2e3e48311a5ba36f281d48d1217b | |
parent | 1648ac64a75de74d1a1575eb49cccc4f75488bfa (diff) | |
download | samba-6703f621ea798bd1877bd3baa523307ee288dccd.tar.gz samba-6703f621ea798bd1877bd3baa523307ee288dccd.tar.xz samba-6703f621ea798bd1877bd3baa523307ee288dccd.zip |
Ensure correct password change script gets selected --with-pam.
Jeremy.
-rw-r--r-- | source/include/local.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |