diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-01 17:00:24 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-02 04:54:29 +0200 |
commit | ec9b6134b7342576fa0e09e93e7901da6fb0aea2 (patch) | |
tree | b47d8cf83a8b339afb9c6915fbb8a2ba497a7613 /source3 | |
parent | da534343914c7b7b5cf7300a3cff2614b9e613e5 (diff) | |
download | samba-ec9b6134b7342576fa0e09e93e7901da6fb0aea2.tar.gz samba-ec9b6134b7342576fa0e09e93e7901da6fb0aea2.tar.bz2 samba-ec9b6134b7342576fa0e09e93e7901da6fb0aea2.zip |
s3:auth_server: make use of cli_state_protocol()
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/auth_server.c | 2 |
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)); |