summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c5
1 files changed, 1 insertions, 4 deletions
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;