diff options
author | Jeremy Allison <jra@samba.org> | 2001-05-02 23:32:09 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-05-02 23:32:09 +0000 |
commit | aac630b382fefff2e3ead291d2d838832a180925 (patch) | |
tree | 88bd61c1ee2458432cf9bc820cef40732ab0bcea /source3/include/local.h | |
parent | dea501bc5fbafddef502c788cf7f44d9034e0fcd (diff) | |
download | samba-aac630b382fefff2e3ead291d2d838832a180925.tar.gz |
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)
Diffstat (limited to 'source3/include/local.h')
-rw-r--r-- | source3/include/local.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/include/local.h b/source3/include/local.h index 6449816c25d..e534f39306a 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 |