git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da53434
)
s3:auth_server: make use of cli_state_protocol()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Aug 2011 15:00:24 +0000
(17:00 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 2 Aug 2011 02:54:29 +0000
(
04:54
+0200)
metze
source3/auth/auth_server.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_server.c
b/source3/auth/auth_server.c
index f29859945c2ba02004fc5af85767be2376fd67ce..4582d980c2d46cc9e0cc3a12ed17d3f8c1379e4e 100644
(file)
--- 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));