Remove SMBRUN support
Этот коммит содержится в:
родитель
e9ab8a8ee5
Коммит
b9b33a4a39
@ -56,18 +56,10 @@ CODEPAGEDIR = @codepagedir@
|
||||
# The current codepage definition list.
|
||||
CODEPAGELIST= 437 737 850 852 861 932 866 949 950 936
|
||||
|
||||
# where you are going to have the smbrun binary. This defaults to the
|
||||
# install directory. This binary is needed for correct printing
|
||||
# and magic script execution. This should be an absolute path!
|
||||
# Also not that this should include the name "smbrun" on the end (the
|
||||
# name of the executable)
|
||||
SMBRUN = $(BINDIR)/smbrun
|
||||
|
||||
|
||||
PASSWD_FLAGS = -DPASSWD_PROGRAM=\"$(PASSWD_PROGRAM)\" -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\"
|
||||
FLAGS1 = $(CFLAGS) -Iinclude -I$(srcdir)/include $(CPPFLAGS) -DSMBLOGFILE=\"$(SMBLOGFILE)\" -DNMBLOGFILE=\"$(NMBLOGFILE)\"
|
||||
FLAGS2 = -DCONFIGFILE=\"$(CONFIGFILE)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\"
|
||||
FLAGS3 = -DSWATDIR=\"$(SWATDIR)\" -DSBINDIR=\"$(SBINDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DSMBRUN=\"$(SMBRUN)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\"
|
||||
FLAGS3 = -DSWATDIR=\"$(SWATDIR)\" -DSBINDIR=\"$(SBINDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\"
|
||||
FLAGS4 = -DDRIVERFILE=\"$(DRIVERFILE)\" -DBINDIR=\"$(BINDIR)\"
|
||||
FLAGS5 = $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) -DHAVE_INCLUDES_H
|
||||
FLAGS = $(ISA) $(FLAGS5) $(PASSWD_FLAGS)
|
||||
|
@ -852,11 +852,8 @@ static void init_globals(void)
|
||||
string_set(&Globals.szDriverFile, DRIVERFILE);
|
||||
string_set(&Globals.szLockDir, LOCKDIR);
|
||||
string_set(&Globals.szRootdir, "/");
|
||||
//string_set(&Globals.szSmbrun, SMBRUN);
|
||||
string_set(&Globals.szSocketAddress, "0.0.0.0");
|
||||
pstrcpy(s, "Samba ");
|
||||
pstrcat(s, VERSION);
|
||||
string_set(&Globals.szServerString,s);
|
||||
string_set(&Globals.szServerString, "Samba " VERSION);
|
||||
slprintf(s,sizeof(s)-1, "%d.%d", DEFAULT_MAJOR_VERSION, DEFAULT_MINOR_VERSION);
|
||||
string_set(&Globals.szAnnounceVersion,s);
|
||||
|
||||
@ -1234,7 +1231,6 @@ FN_GLOBAL_INTEGER(lp_os_level,&Globals.os_level)
|
||||
FN_GLOBAL_INTEGER(lp_max_ttl,&Globals.max_ttl)
|
||||
FN_GLOBAL_INTEGER(lp_max_wins_ttl,&Globals.max_wins_ttl)
|
||||
FN_GLOBAL_INTEGER(lp_min_wins_ttl,&Globals.max_wins_ttl)
|
||||
FN_GLOBAL_INTEGER(lp_max_log_size,&Globals.max_log_size)
|
||||
FN_GLOBAL_INTEGER(lp_max_open_files,&Globals.max_open_files)
|
||||
FN_GLOBAL_INTEGER(lp_maxxmit,&Globals.max_xmit)
|
||||
FN_GLOBAL_INTEGER(lp_maxmux,&Globals.max_mux)
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user