summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-18 19:29:19 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-18 19:29:19 +0000
commitf6d91d05650894e1cce2685141108e555220da8a (patch)
treed79ddc307170a1abf2d1a3cefdb1a5404ce635d7 /source3/param
parentfc62d6bf368c950e1e51bc42771cce8b299df42c (diff)
downloadsamba-f6d91d05650894e1cce2685141108e555220da8a.tar.gz
samba-f6d91d05650894e1cce2685141108e555220da8a.tar.bz2
samba-f6d91d05650894e1cce2685141108e555220da8a.zip
add an option to enable/disable nt pipes
(This used to be commit c161b2f850f124ac5f24968e7865a7d0eb68e23e)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index b7486448bb..37e53f437e 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -232,6 +232,7 @@ typedef struct
BOOL bOleLockingCompat;
BOOL bTimestampLogs;
BOOL bNTSmbSupport;
+ BOOL bNTPipeSupport;
BOOL bStatCache;
BOOL bKernelOplocks;
} global;
@@ -578,6 +579,7 @@ static struct parm_struct parm_table[] =
{"write raw", P_BOOL, P_GLOBAL, &Globals.bWriteRaw, NULL, NULL, 0},
{"networkstation user login", P_BOOL,P_GLOBAL, &Globals.bNetWkstaUserLogon,NULL, NULL, 0},
{"nt smb support", P_BOOL, P_GLOBAL, &Globals.bNTSmbSupport, NULL, NULL, 0},
+ {"nt pipe support", P_BOOL, P_GLOBAL, &Globals.bNTPipeSupport, NULL, NULL, 0},
{"announce version", P_STRING, P_GLOBAL, &Globals.szAnnounceVersion, NULL, NULL, 0},
{"announce as", P_ENUM, P_GLOBAL, &Globals.announce_as, NULL, enum_announce_as, 0},
{"max mux", P_INTEGER, P_GLOBAL, &Globals.max_mux, NULL, NULL, 0},
@@ -870,6 +872,7 @@ static void init_globals(void)
Globals.bPasswdChatDebug = False;
Globals.bOleLockingCompat = True;
Globals.bNTSmbSupport = True; /* Do NT SMB's by default. */
+ Globals.bNTPipeSupport = True; /* Do NT pipes by default. */
Globals.bStatCache = True; /* use stat cache by default */
#ifdef WITH_LDAP
@@ -1165,6 +1168,7 @@ FN_GLOBAL_BOOL(lp_unix_password_sync,&Globals.bUnixPasswdSync)
FN_GLOBAL_BOOL(lp_passwd_chat_debug,&Globals.bPasswdChatDebug)
FN_GLOBAL_BOOL(lp_ole_locking_compat,&Globals.bOleLockingCompat)
FN_GLOBAL_BOOL(lp_nt_smb_support,&Globals.bNTSmbSupport)
+FN_GLOBAL_BOOL(lp_nt_pipe_support,&Globals.bNTPipeSupport)
FN_GLOBAL_BOOL(lp_stat_cache,&Globals.bStatCache)
FN_GLOBAL_INTEGER(lp_os_level,&Globals.os_level)