summaryrefslogtreecommitdiffstats
path: root/source/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-10 00:37:14 +0000
committerJeremy Allison <jra@samba.org>1998-11-10 00:37:14 +0000
commit8c1625365479f12fa544d83e1a9f72a548398108 (patch)
treecd6b236873675adf617d373ac1915e55c2960b32 /source/param
parentcb23417503dd2c3e8370757943daca78f3b598b6 (diff)
downloadsamba-8c1625365479f12fa544d83e1a9f72a548398108.tar.gz
samba-8c1625365479f12fa544d83e1a9f72a548398108.tar.xz
samba-8c1625365479f12fa544d83e1a9f72a548398108.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.
Diffstat (limited to 'source/param')
-rw-r--r--source/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 74f8df6cb7c..bfc1b801e77 100644
--- a/source/param/loadparm.c
+++ b/source/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);