diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-10 00:37:14 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-10 00:37:14 +0000 |
commit | 5c3295c16dd1638a03d9f80fed455c9826e478cb (patch) | |
tree | d36a0aacf2086ef37833e0c215d8f5a7c6ad2ab4 /source3/param | |
parent | 2561e062b9e4ef2ee7a59bea80422379b7009c79 (diff) | |
download | samba-5c3295c16dd1638a03d9f80fed455c9826e478cb.tar.gz samba-5c3295c16dd1638a03d9f80fed455c9826e478cb.tar.bz2 samba-5c3295c16dd1638a03d9f80fed455c9826e478cb.zip |
Default for SMB_PASSWD program was set to smbpasswd ! This explained the problems
John & Andrew were having with smbpasswd. This would cause the smbpasswd
to be changed *twice* - this the second decrypt would fail.
Changed it to be "/bin/passwd" and changed the name of the macro
to PASSWORD_PROGRAM to make it clear this is not an smb password
changer.
Jeremy.
(This used to be commit 8c1625365479f12fa544d83e1a9f72a548398108)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 74f8df6cb7..bfc1b801e7 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -791,7 +791,7 @@ static void init_globals(void) string_set(&Globals.szSMBPasswdFile, SMB_PASSWD_FILE); string_set(&Globals.szPasswdChat,"*old*password* %o\\n *new*password* %n\\n *new*password* %n\\n *changed*"); string_set(&Globals.szWorkGroup, WORKGROUP); - string_set(&Globals.szPasswdProgram, SMB_PASSWD); + string_set(&Globals.szPasswdProgram, PASSWD_PROGRAM); string_set(&Globals.szPrintcapname, PRINTCAP_NAME); string_set(&Globals.szDriverFile, DRIVERFILE); string_set(&Globals.szLockDir, LOCKDIR); |