summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-22 17:10:16 +0200
committerVolker Lendecke <vl@samba.org>2009-08-23 10:19:32 +0200
commit1603c608c9c8c6b42a18dd5545c5d15fc2f0af48 (patch)
tree905c4b90cc38780c18496e5d7554a86f2b3a9cf4 /source3
parenta0bf0cb0fb1d2f98311449949aa9e15f6523cb3b (diff)
downloadsamba-1603c608c9c8c6b42a18dd5545c5d15fc2f0af48.tar.gz
samba-1603c608c9c8c6b42a18dd5545c5d15fc2f0af48.tar.bz2
samba-1603c608c9c8c6b42a18dd5545c5d15fc2f0af48.zip
s3:winbind: Even on a domain controller, "our" domain is internal
It happens to be what we also share out via NETLOGON/SAMR, but winbind has direct access to it via the passdb domain methods
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 9f853be32a..5c2ebab836 100644
--- 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));
}