git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0bf0cb
)
s3:winbind: Even on a domain controller, "our" domain is internal
author
Volker Lendecke
<vl@samba.org>
Sat, 22 Aug 2009 15:10:16 +0000
(17:10 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 23 Aug 2009 08:19:32 +0000
(10:19 +0200)
It happens to be what we also share out via NETLOGON/SAMR, but winbind has
direct access to it via the passdb domain methods
source3/winbindd/winbindd_util.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_util.c
b/source3/winbindd/winbindd_util.c
index 9f853be32a2ea740899207b5fed78f10557724ab..5c2ebab8363ef8bcf99ff10e4428b12085b587f1 100644
(file)
--- a/
source3/winbindd/winbindd_util.c
+++ b/
source3/winbindd/winbindd_util.c
@@
-76,9
+76,6
@@
static bool is_internal_domain(const DOM_SID *sid)
if (sid == NULL)
return False;
- if ( IS_DC )
- return sid_check_is_builtin(sid);
-
return (sid_check_is_domain(sid) || sid_check_is_builtin(sid));
}
@@
-87,9
+84,6
@@
static bool is_in_internal_domain(const DOM_SID *sid)
if (sid == NULL)
return False;
- if ( IS_DC )
- return sid_check_is_in_builtin(sid);
-
return (sid_check_is_in_our_domain(sid) || sid_check_is_in_builtin(sid));
}