diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-10-12 04:49:42 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-10-12 04:49:42 +0000 |
commit | 076aa97bee54d182288d9e93ae160ae22a5f7757 (patch) | |
tree | 6d48af1ad3d99a21aa07207dc4244d50733ee6aa /source/client | |
parent | 4f12df9fc569b73dcf037b476976cb3be47ac43f (diff) | |
download | samba-076aa97bee54d182288d9e93ae160ae22a5f7757.tar.gz samba-076aa97bee54d182288d9e93ae160ae22a5f7757.tar.xz samba-076aa97bee54d182288d9e93ae160ae22a5f7757.zip |
added NTLMSSP authentication to libsmb. It seems to work well so I have enabled it by default if the server supports it. Let me know if this breaks anything. Choose kerberos with the -k flag to smbclient, otherwise it will use SPNEGO/NTLMSSP/NTLM
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/client.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/client/client.c b/source/client/client.c index dfcb3d9616c..1317346df3d 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -2115,10 +2115,7 @@ struct cli_state *do_connect(const char *server, const char *share) } c->protocol = max_protocol; - - if (use_kerberos) { - c->use_spnego = True; - } + c->use_kerberos = use_kerberos; if (!cli_session_request(c, &calling, &called)) { char *p; |