mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
fix typo auth/auth_server.c
remove unused 'max packet' and 'packet size' options
This commit is contained in:
parent
80a25fe365
commit
6a787a695d
@ -285,7 +285,7 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context
|
|||||||
* need to detect this as some versions of NT4.x are broken. JRA.
|
* need to detect this as some versions of NT4.x are broken. JRA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* I sure as hell hope that there arn't servers out there that take
|
/* I sure as hell hope that there aren't servers out there that take
|
||||||
* NTLMv2 and have this bug, as we don't test for that...
|
* NTLMv2 and have this bug, as we don't test for that...
|
||||||
* - abartlet@samba.org
|
* - abartlet@samba.org
|
||||||
*/
|
*/
|
||||||
|
@ -171,7 +171,6 @@ typedef struct
|
|||||||
int max_xmit;
|
int max_xmit;
|
||||||
int max_mux;
|
int max_mux;
|
||||||
int max_open_files;
|
int max_open_files;
|
||||||
int max_packet;
|
|
||||||
int pwordlevel;
|
int pwordlevel;
|
||||||
int unamelevel;
|
int unamelevel;
|
||||||
int deadtime;
|
int deadtime;
|
||||||
@ -799,8 +798,6 @@ static struct parm_struct parm_table[] = {
|
|||||||
{"max xmit", P_INTEGER, P_GLOBAL, &Globals.max_xmit, NULL, NULL, 0},
|
{"max xmit", P_INTEGER, P_GLOBAL, &Globals.max_xmit, NULL, NULL, 0},
|
||||||
|
|
||||||
{"name resolve order", P_STRING, P_GLOBAL, &Globals.szNameResolveOrder, NULL, NULL, 0},
|
{"name resolve order", P_STRING, P_GLOBAL, &Globals.szNameResolveOrder, NULL, NULL, 0},
|
||||||
{"max packet", P_INTEGER, P_GLOBAL, &Globals.max_packet, NULL, NULL, 0},
|
|
||||||
{"packet size", P_INTEGER, P_GLOBAL, &Globals.max_packet, NULL, NULL, 0},
|
|
||||||
{"max ttl", P_INTEGER, P_GLOBAL, &Globals.max_ttl, NULL, NULL, 0},
|
{"max ttl", P_INTEGER, P_GLOBAL, &Globals.max_ttl, NULL, NULL, 0},
|
||||||
{"max wins ttl", P_INTEGER, P_GLOBAL, &Globals.max_wins_ttl, NULL, NULL, 0},
|
{"max wins ttl", P_INTEGER, P_GLOBAL, &Globals.max_wins_ttl, NULL, NULL, 0},
|
||||||
{"min wins ttl", P_INTEGER, P_GLOBAL, &Globals.min_wins_ttl, NULL, NULL, 0},
|
{"min wins ttl", P_INTEGER, P_GLOBAL, &Globals.min_wins_ttl, NULL, NULL, 0},
|
||||||
@ -1245,7 +1242,6 @@ static void init_globals(void)
|
|||||||
Globals.bAlgorithmicRidBase = BASE_RID;
|
Globals.bAlgorithmicRidBase = BASE_RID;
|
||||||
|
|
||||||
Globals.bLoadPrinters = True;
|
Globals.bLoadPrinters = True;
|
||||||
Globals.max_packet = 65535;
|
|
||||||
Globals.mangled_stack = 50;
|
Globals.mangled_stack = 50;
|
||||||
Globals.max_xmit = 65535;
|
Globals.max_xmit = 65535;
|
||||||
Globals.max_mux = 50; /* This is *needed* for profile support. */
|
Globals.max_mux = 50; /* This is *needed* for profile support. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user