mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
s3:auth_server: make use of cli_state_protocol()
metze
This commit is contained in:
parent
da53434391
commit
ec9b6134b7
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user