idmap rewrite
[bbaumbach/samba-autobuild/.git] / source3 / include / idmap.h
index e059ab233793107daf34524c3a8de04ee66b0f5f..95c3e4c0c2a104366af1c2157ebcaa97fc808cc8 100644 (file)
 
 struct idmap_domain {
        const char *name;
-       bool default_domain;
-       bool readonly;
-       void *private_data;
        struct idmap_methods *methods;
-       bool initialized;
-       const char *params;
+       void *private_data;
 };
 
 /* Filled out by IDMAP backends */
 struct idmap_methods {
 
        /* Called when backend is first loaded */
-       NTSTATUS (*init)(struct idmap_domain *dom);
+       NTSTATUS (*init)(struct idmap_domain *dom, const char *params);
 
        /* Map an array of uids/gids to SIDs.  The caller specifies
           the uid/gid and type. Gets back the SID. */