summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-09-25 15:39:39 +0200
committerRalph Boehme <slow@samba.org>2017-10-10 15:51:27 +0200
commit71f99cb132f4c26f9febac6cb7dcd79f4940216a (patch)
tree6b1887eac957a7fc60d11e1d1b57dea66aca0a12 /source3/include
parent59438bfd3d3551195582cf88bd1109c3cbc7e12a (diff)
downloadsamba-71f99cb132f4c26f9febac6cb7dcd79f4940216a.tar.gz
winbindd: pass domain SID to wbint_UnixIDs2Sids
This makes the domain SID available to the idmap child for wbint_UnixIDs2Sids mapping request. It's not used yet anywhere, this comes in the next commit. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13052 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/idmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/idmap.h b/source3/include/idmap.h
index 75d2e45b174..8d80643e6e9 100644
--- a/source3/include/idmap.h
+++ b/source3/include/idmap.h
@@ -37,6 +37,11 @@ struct wbint_userinfo;
struct idmap_domain {
const char *name;
+ /*
+ * dom_sid is currently only initialized in the unixids_to_sids request,
+ * so don't rely on this being filled out everywhere!
+ */
+ struct dom_sid dom_sid;
struct idmap_methods *methods;
NTSTATUS (*query_user)(struct idmap_domain *domain,
struct wbint_userinfo *info);