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. */