]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Ensure correct password change script gets selected --with-pam.
authorJeremy Allison <jra@samba.org>
Mon, 30 Apr 2001 22:12:38 +0000 (22:12 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 30 Apr 2001 22:12:38 +0000 (22:12 +0000)
Jeremy.

source/include/local.h

index e534f39306ac54d2027d7ef67e36a5827eb92a33..6449816c25df5af20d251a7c6515c4c4b381de58 100644 (file)
  * 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