From ec9b6134b7342576fa0e09e93e7901da6fb0aea2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 1 Aug 2011 17:00:24 +0200 Subject: s3:auth_server: make use of cli_state_protocol() metze --- source3/auth/auth_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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)); -- cgit