git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42238c7
)
r21918: Reverting this change as it is now causing aborts() in
author
Gerald Carter
<jerry@samba.org>
Wed, 21 Mar 2007 21:08:15 +0000
(21:08 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:48 +0000
(12:18 -0500)
find_builtin_domain(). This all needs more testing
before anyone starts changing these lookup routines again.
(This used to be commit
add225e1c8fef1d3ddb7fd43c1744858df45ecfd
)
source3/nsswitch/winbindd_util.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_util.c
b/source3/nsswitch/winbindd_util.c
index b649dc4768a846d775bf97b83d01b2c5e2296e9c..10fbd7c639bf7bb7ef7de7fec8512fa44355d058 100644
(file)
--- a/
source3/nsswitch/winbindd_util.c
+++ b/
source3/nsswitch/winbindd_util.c
@@
-604,13
+604,8
@@
struct winbindd_domain *find_domain_from_sid_noinit(const DOM_SID *sid)
/* Search through list */
for (domain = domain_list(); domain != NULL; domain = domain->next) {
- /* We need to use sid_peek_check_rid, because we want
- * to make sure that the SIDs we send to the backends are
- * as specific as possible.
- */
- if (sid_peek_check_rid(&domain->sid, sid, &discard)) {
+ if (sid_compare_domain(sid, &domain->sid) == 0)
return domain;
- }
}
/* Not found */