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:
ef84f4c
)
dsgetdcname: fix flag check
author
Uri Simchoni
<uri@samba.org>
Thu, 3 Mar 2016 07:18:57 +0000
(09:18 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 7 Mar 2016 21:16:20 +0000
(22:16 +0100)
Fix the check for zero requseted flags.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11769
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/dsgetdcname.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/dsgetdcname.c
b/source3/libsmb/dsgetdcname.c
index 1033329a04e03c5609e0b674b0843349bf3b497d..b5bc51dffaeb65ee11865b525a746b350eb44644 100644
(file)
--- a/
source3/libsmb/dsgetdcname.c
+++ b/
source3/libsmb/dsgetdcname.c
@@
-284,7
+284,7
@@
static uint32_t get_cldap_reply_server_flags(struct netlogon_samlogon_response *
static bool check_cldap_reply_required_flags(uint32_t ret_flags,
uint32_t req_flags)
{
- if (re
t
_flags == 0) {
+ if (re
q
_flags == 0) {
return true;
}