summaryrefslogtreecommitdiff
path: root/source3/smbd/auth_server.c
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
commit1f829e19eb3b81ad1c4451fe9a90617e6cee7dd7 (patch)
tree9de623172cc17ca9a5891f53c1e287f0a32fa008 /source3/smbd/auth_server.c
parenta947591674d6baf747809464b34b03ea165d2b13 (diff)
downloadsamba-1f829e19eb3b81ad1c4451fe9a90617e6cee7dd7.tar.gz
samba-1f829e19eb3b81ad1c4451fe9a90617e6cee7dd7.tar.bz2
samba-1f829e19eb3b81ad1c4451fe9a90617e6cee7dd7.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 (This used to be commit 190898586fa218c952fbd5bea56155d04e6f248b)
Diffstat (limited to 'source3/smbd/auth_server.c')
-rw-r--r--source3/smbd/auth_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/auth_server.c b/source3/smbd/auth_server.c
index 2574a52ef3..520417e3e0 100644
--- a/source3/smbd/auth_server.c
+++ b/source3/smbd/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;