diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-09-16 00:07:04 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-09-16 00:07:04 +0000 |
commit | 41432074f56307cd3043ec5ed1ef6359a1a01cea (patch) | |
tree | c110f7f0387e2cf8e55fba9fd7edc4023f807abf /source3 | |
parent | 06ccf1e499b170e3e9d97ffdf27a8c896c8cf1cd (diff) | |
download | samba-41432074f56307cd3043ec5ed1ef6359a1a01cea.tar.gz samba-41432074f56307cd3043ec5ed1ef6359a1a01cea.tar.bz2 samba-41432074f56307cd3043ec5ed1ef6359a1a01cea.zip |
Kill off the dangerous passwd program default, as its both very
system-dependent and can allow (when unix password sync = yes) the
'syncronisation' of root's password by a normal user :-(
Andrew Bartlett
(This used to be commit eecda11eef8bff73286c6a3c9f89ed0d1dcd7f73)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/Makefile.in | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 3de7aeeac0..80efefe7f7 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -62,7 +62,7 @@ LOCKDIR = @lockdir@ # libsmbclient support here BLDSHARED = @BLDSHARED@ -PASSWD_FLAGS = -DPASSWD_PROGRAM=\"$(PASSWD_PROGRAM)\" -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" -DPRIVATE_DIR=\"$(PRIVATE_DIR)\" +PASSWD_FLAGS = -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" -DPRIVATE_DIR=\"$(PRIVATE_DIR)\" FLAGS1 = $(CFLAGS) -Iinclude -I$(srcdir)/include -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper $(CPPFLAGS) -DLOGFILEBASE=\"$(LOGFILEBASE)\" FLAGS2 = -DCONFIGFILE=\"$(CONFIGFILE)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" FLAGS3 = -DSWATDIR=\"$(SWATDIR)\" -DSBINDIR=\"$(SBINDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 951bfa5ec2..4e057929b0 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1189,7 +1189,7 @@ static void init_globals(void) */ string_set(&Globals.szPasswdChat, DEFAULT_PASSWD_CHAT); string_set(&Globals.szWorkGroup, WORKGROUP); - string_set(&Globals.szPasswdProgram, PASSWD_PROGRAM); + string_set(&Globals.szPasswdProgram, ""); string_set(&Globals.szPrintcapname, PRINTCAP_NAME); string_set(&Globals.szLockDir, LOCKDIR); #ifdef WITH_UTMP |