From aac630b382fefff2e3ead291d2d838832a180925 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 2 May 2001 23:32:09 +0000 Subject: Had to add a "pam password change" parameter (defaults to "off") and inlined the pam password change code to ensure that existing and working password chat scripts don't break with 2.2.1. PAM password changing has to be explicitly requested. Allowed wildcards in pam password change matching (matches password chat script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to stop warnings. Don't worry - the const changes are isolated and don't cause any other warnings :-). Jeremy. (This used to be commit 47b4d82536c09bffe3a0d9917fa31d935f1be7d8) --- source3/include/local.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/include/local.h') diff --git a/source3/include/local.h b/source3/include/local.h index 6449816c25..e534f39306 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -168,11 +168,7 @@ * 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 -- cgit