diff options
author | Volker Lendecke <vl@samba.org> | 2009-12-30 20:11:36 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-01-02 12:09:05 +0100 |
commit | 133f023d58de8106d41d59dfc3c22e63a5653701 (patch) | |
tree | e365f526dfb975048f7ff5c51ee61d86934a127c /source3/winbindd | |
parent | 92345f49e3f9c18a21f8a0d5b9af86f383476c4c (diff) | |
download | samba-133f023d58de8106d41d59dfc3c22e63a5653701.tar.gz samba-133f023d58de8106d41d59dfc3c22e63a5653701.tar.bz2 samba-133f023d58de8106d41d59dfc3c22e63a5653701.zip |
s3: Use global_sid_Builtin in find_builtin_domain
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index 01440b678f..e5b0c06c13 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -810,12 +810,9 @@ struct winbindd_domain *find_root_domain(void) struct winbindd_domain *find_builtin_domain(void) { - DOM_SID sid; struct winbindd_domain *domain; - string_to_sid(&sid, "S-1-5-32"); - domain = find_domain_from_sid(&sid); - + domain = find_domain_from_sid(&global_sid_Builtin); if (domain == NULL) { smb_panic("Could not find BUILTIN domain"); } |