diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-08-22 22:52:16 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-08-22 22:52:16 +0000 |
commit | 8e089e8770722d218c76881e3de2138433e3504c (patch) | |
tree | 52139952cea66b080882a65a68a18201b4c0f7dd /source3/libsmb | |
parent | 0bc1feb2d60e1584c4ab41d50c8c0890a0cac00f (diff) | |
download | samba-8e089e8770722d218c76881e3de2138433e3504c.tar.gz samba-8e089e8770722d218c76881e3de2138433e3504c.tar.bz2 samba-8e089e8770722d218c76881e3de2138433e3504c.zip |
don't use spnego in the client unless enabled in smb.conf
(This used to be commit c00388de6cf5d0527505bfe4edfe2f0269c5a4c8)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index c9500ead5d..9ae3882301 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -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 |