winbindd: pass domain SID to wbint_UnixIDs2Sids
[bbaumbach/samba-autobuild/.git] / source3 / include / idmap.h
index 75d2e45b17429d4bad511ddadd4cfa8baf85fdbe..8d80643e6e91ac81ba9c617aab996e4aa61c7b57 100644 (file)
@@ -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);