mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
winbindd: remove unused find_root_domain()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
0eb537adb1
commit
a860400725
@ -470,7 +470,6 @@ struct winbindd_domain *find_domain_from_name(const char *domain_name);
|
||||
struct winbindd_domain *find_domain_from_sid_noinit(const struct dom_sid *sid);
|
||||
struct winbindd_domain *find_domain_from_sid(const struct dom_sid *sid);
|
||||
struct winbindd_domain *find_our_domain(void);
|
||||
struct winbindd_domain *find_root_domain(void);
|
||||
struct winbindd_domain *find_lookup_domain_from_sid(const struct dom_sid *sid);
|
||||
struct winbindd_domain *find_lookup_domain_from_name(const char *domain_name);
|
||||
bool parse_domain_user(const char *domuser, fstring domain, fstring user);
|
||||
|
@ -1005,17 +1005,6 @@ struct winbindd_domain *find_our_domain(void)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct winbindd_domain *find_root_domain(void)
|
||||
{
|
||||
struct winbindd_domain *ours = find_our_domain();
|
||||
|
||||
if (ours->forest_name == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return find_domain_from_name( ours->forest_name );
|
||||
}
|
||||
|
||||
/* Find the appropriate domain to lookup a name or SID */
|
||||
|
||||
struct winbindd_domain *find_lookup_domain_from_sid(const struct dom_sid *sid)
|
||||
|
Loading…
Reference in New Issue
Block a user