From 9f7cb41f11c0d2fc09104f6998f75c59bc363b26 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 12 Oct 2001 04:49:42 +0000 Subject: 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 (This used to be commit 076aa97bee54d182288d9e93ae160ae22a5f7757) --- source3/client/client.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/client/client.c') diff --git a/source3/client/client.c b/source3/client/client.c index dfcb3d9616..1317346df3 100644 --- a/source3/client/client.c +++ b/source3/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; -- cgit