From 41432074f56307cd3043ec5ed1ef6359a1a01cea Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 16 Sep 2001 00:07:04 +0000 Subject: 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) --- source3/Makefile.in | 2 +- source3/param/loadparm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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 -- cgit