git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2beba
)
Ensure we set "always sign" flag if set. We don't currently do anything with
author
Jeremy Allison
<jra@samba.org>
Mon, 5 Jan 2004 19:21:06 +0000
(19:21 +0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 5 Jan 2004 19:21:06 +0000
(19:21 +0000)
this but we should log the fact it was negotiated.
Jeremy.
(This used to be commit
84d34e32be03ec99ce19520f24bb4daaeeddbbc3
)
source3/libsmb/ntlmssp.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/ntlmssp.c
b/source3/libsmb/ntlmssp.c
index 0ab51dc960a261098e993967564aa9534815c651..95fd4c03e5510cdbbeb5947622b8c0d5b3880a72 100644
(file)
--- a/
source3/libsmb/ntlmssp.c
+++ b/
source3/libsmb/ntlmssp.c
@@
-338,6
+338,10
@@
static void ntlmssp_handle_neg_flags(struct ntlmssp_state *ntlmssp_state,
ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_LM_KEY;
}
+ if (neg_flags & NTLMSSP_NEGOTIATE_ALWAYS_SIGN) {
+ ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_ALWAYS_SIGN;
+ }
+
if (!(neg_flags & NTLMSSP_NEGOTIATE_NTLM2)) {
ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_NTLM2;
}