summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-10-30 13:54:54 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-10-30 13:54:54 +0000
commit190898586fa218c952fbd5bea56155d04e6f248b (patch)
treefb6efe76c208c7b61b3364e4594c82411a9498fb /source/auth
parentc78fec86c97075bb5726fcb7ed197bc75dd88ac0 (diff)
downloadsamba-190898586fa218c952fbd5bea56155d04e6f248b.tar.gz
samba-190898586fa218c952fbd5bea56155d04e6f248b.tar.xz
samba-190898586fa218c952fbd5bea56155d04e6f248b.zip
Spnego on the 'server' end of security=server just does not work, so set the
flags so we just do a 'normal' session setup. Also add some parinoia code to detect when sombody attempts to do a 'normal' session setup when spnego had been negoitiated. Andrew Bartlett
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/auth/auth_server.c b/source/auth/auth_server.c
index 2574a52ef3d..520417e3e09 100644
--- a/source/auth/auth_server.c
+++ b/source/auth/auth_server.c
@@ -51,6 +51,9 @@ struct cli_state *server_cryptkey(void)
if (!cli_initialise(cli))
return NULL;
+ /* security = server just can't function with spnego */
+ cli->use_spnego = False;
+
pserver = strdup(lp_passwordserver());
p = pserver;