git.samba.org
/
ambi
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b2151
)
winbind: Fix wb_lookupsids for AD DCs
author
Volker Lendecke
<vl@samba.org>
Sun, 25 Dec 2016 11:33:53 +0000
(11:33 +0000)
committer
Volker Lendecke
<vl@samba.org>
Mon, 2 Jan 2017 17:04:13 +0000
(18:04 +0100)
Not yet a fix, but the IS_DC macro also contains the
ROLE_ACTIVE_DIRECTORY_DC, and once we start to fully do this we'll
need it.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/wb_lookupsids.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/wb_lookupsids.c
b/source3/winbindd/wb_lookupsids.c
index a4bcbaddd7b9d9e9187b94ddcd3f653c447737b5..c395f5489c66bc98df53a461f65dd18bb3ecd376 100644
(file)
--- a/
source3/winbindd/wb_lookupsids.c
+++ b/
source3/winbindd/wb_lookupsids.c
@@
-272,8
+272,7
@@
static bool wb_lookupsids_bulk(const struct dom_sid *sid)
return true;
}
- if ((lp_server_role() == ROLE_DOMAIN_PDC) ||
- (lp_server_role() == ROLE_DOMAIN_BDC)) {
+ if (IS_DC) {
/*
* Bulk lookups to trusted DCs
*/