summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-30 22:12:38 +0000
committerJeremy Allison <jra@samba.org>2001-04-30 22:12:38 +0000
commite3ca9f33bb979cc341286e37f4f2f5d3e47c4124 (patch)
tree076d60804c88da5ac40112c04de0128d69c2d92d /source3/include/local.h
parentc3a999409db6a9e0d38928feb02ab6815bd28d57 (diff)
downloadsamba-e3ca9f33bb979cc341286e37f4f2f5d3e47c4124.tar.gz
samba-e3ca9f33bb979cc341286e37f4f2f5d3e47c4124.tar.bz2
samba-e3ca9f33bb979cc341286e37f4f2f5d3e47c4124.zip
Ensure correct password change script gets selected --with-pam.
Jeremy. (This used to be commit 6703f621ea798bd1877bd3baa523307ee288dccd)
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h4
1 files changed, 4 insertions, 0 deletions
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