diff options
author | Michael Adam <obnox@samba.org> | 2012-11-22 18:16:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-12-03 08:48:23 +0100 |
commit | 370d62578dd171c6f898f4868f382cdddb908bcf (patch) | |
tree | 514ced38c426465fdd3881bebfc2e951ce1648a6 /source3/winbindd/winbindd_proto.h | |
parent | 150cfb4b97e2ee67ec1fa8fc379ac03d42002da9 (diff) | |
download | samba-370d62578dd171c6f898f4868f382cdddb908bcf.tar.gz |
s3:winbindd: add idmap_find_domain_with_sid()
This will return the passdb domain if the given sid is in our sam or builtin
or is the domain sid of those domains. Otherwise it returns the idmap domain
that results from the idmap configuration.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 4e5fb7389cc..5952bf96bc4 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -317,6 +317,8 @@ NTSTATUS winbindd_print_groupmembers(struct talloc_dict *members, void init_idmap_child(void); struct winbindd_child *idmap_child(void); struct idmap_domain *idmap_find_domain(const char *domname); +struct idmap_domain *idmap_find_domain_with_sid(const char *domname, + const struct dom_sid *sid); /* The following definitions come from winbindd/winbindd_locator.c */ |