summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index f29859945c..4582d980c2 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -116,7 +116,7 @@ static struct cli_state *server_cryptkey(TALLOC_CTX *mem_ctx)
return NULL;
}
- if (cli->protocol < PROTOCOL_LANMAN2 ||
+ if (cli_state_protocol(cli) < PROTOCOL_LANMAN2 ||
!(cli->sec_mode & NEGOTIATE_SECURITY_USER_LEVEL)) {
TALLOC_FREE(mutex);
DEBUG(1,("%s isn't in user level security mode\n",desthost));