summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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