diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-03-23 03:17:38 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2004-03-23 03:17:38 +0000 |
commit | 0340fec0c1a01339d459c9505614d69ac6a62e9b (patch) | |
tree | c120aae94b2d3a7e60135c0794e8f2455e72e831 /source4/param/loadparm.c | |
parent | c5679b707e69a931676ae074917b63b985ed17fb (diff) | |
download | samba-0340fec0c1a01339d459c9505614d69ac6a62e9b.tar.gz samba-0340fec0c1a01339d459c9505614d69ac6a62e9b.tar.bz2 samba-0340fec0c1a01339d459c9505614d69ac6a62e9b.zip |
put the "max xmit" option back into Samba4
(This used to be commit 82e50a1ce8904c72c90b1e771f232acaad2c835e)
Diffstat (limited to 'source4/param/loadparm.c')
-rw-r--r-- | source4/param/loadparm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 64b316bbbd..0dcbe64f7f 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -149,6 +149,7 @@ typedef struct char *szGuestaccount; int mangled_stack; int max_mux; + int max_xmit; int pwordlevel; int unamelevel; int maxprotocol; @@ -619,6 +620,7 @@ static struct parm_struct parm_table[] = { {"announce version", P_STRING, P_GLOBAL, &Globals.szAnnounceVersion, NULL, NULL, FLAG_DEVELOPER}, {"announce as", P_ENUM, P_GLOBAL, &Globals.announce_as, NULL, enum_announce_as, FLAG_DEVELOPER}, {"max mux", P_INTEGER, P_GLOBAL, &Globals.max_mux, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER}, + {"max xmit", P_INTEGER, P_GLOBAL, &Globals.max_xmit, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER}, {"name resolve order", P_STRING, P_GLOBAL, &Globals.szNameResolveOrder, NULL, NULL, FLAG_ADVANCED | FLAG_WIZARD | FLAG_DEVELOPER}, {"max ttl", P_INTEGER, P_GLOBAL, &Globals.max_ttl, NULL, NULL, FLAG_ADVANCED | FLAG_DEVELOPER}, @@ -972,6 +974,7 @@ static void init_globals(void) Globals.bLoadPrinters = True; Globals.mangled_stack = 50; Globals.max_mux = 50; /* This is *needed* for profile support. */ + Globals.max_xmit = 4356; /* the value w2k3 chooses */ Globals.lpqcachetime = 10; Globals.bDisableSpoolss = False; Globals.pwordlevel = 0; @@ -1280,6 +1283,7 @@ FN_GLOBAL_INTEGER(lp_max_wins_ttl, &Globals.max_wins_ttl) FN_GLOBAL_INTEGER(lp_min_wins_ttl, &Globals.min_wins_ttl) FN_GLOBAL_INTEGER(lp_time_offset, &Globals.time_offset) FN_GLOBAL_INTEGER(lp_maxmux, &Globals.max_mux) +FN_GLOBAL_INTEGER(lp_max_xmit, &Globals.max_xmit) FN_GLOBAL_INTEGER(lp_passwordlevel, &Globals.pwordlevel) FN_GLOBAL_INTEGER(lp_usernamelevel, &Globals.unamelevel) FN_GLOBAL_INTEGER(lp_maxprotocol, &Globals.maxprotocol) |