git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a127d53
)
r22631: Remove the possibility of sid_check_is_domain and
author
James Peach
<jpeach@samba.org>
Tue, 1 May 2007 20:03:44 +0000
(20:03 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:19:51 +0000
(12:19 -0500)
sid_check_is_in_our_domain getting out of sync.
(This used to be commit
bbc102172abcb5f7c5c9e777536d7c17afe8b355
)
source3/passdb/machine_sid.c
patch
|
blob
|
history
diff --git
a/source3/passdb/machine_sid.c
b/source3/passdb/machine_sid.c
index d7cae06749c5f74836b18bf80a0493c3f2618021..ebf9f2794b6e81fc57be2719284c2d777f587c48 100644
(file)
--- a/
source3/passdb/machine_sid.c
+++ b/
source3/passdb/machine_sid.c
@@
-220,6
+220,5
@@
BOOL sid_check_is_in_our_domain(const DOM_SID *sid)
sid_copy(&dom_sid, sid);
sid_split_rid(&dom_sid, &rid);
-
- return sid_equal(&dom_sid, get_global_sam_sid());
+ return sid_check_is_domain(&dom_sid);
}