1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

don't use spnego in the client unless enabled in smb.conf

(This used to be commit c00388de6cf5d0527505bfe4edfe2f0269c5a4c8)
This commit is contained in:
Andrew Tridgell 2002-08-22 22:52:16 +00:00
parent 0bc1feb2d6
commit 8e089e8770

View File

@ -234,7 +234,9 @@ struct cli_state *cli_initialise(struct cli_state *cli)
cli->outbuf = (char *)malloc(cli->bufsize);
cli->inbuf = (char *)malloc(cli->bufsize);
cli->oplock_handler = cli_oplock_ack;
cli->use_spnego = True;
if (lp_use_spnego()) {
cli->use_spnego = True;
}
/* Set the CLI_FORCE_DOSERR environment variable to test
client routines using DOS errors instead of STATUS32