summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/passdb.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index 5e5a7bfa58..e032ae1014 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -413,9 +413,10 @@ enum pdb_policy_type {
* Changed to 19, removed uid_to_rid
* Changed to 20, pdb_secret calls
* Changed to 21, set/enum_upn_suffixes. AB.
+ * Changed to 22, idmap control functions
*/
-#define PASSDB_INTERFACE_VERSION 21
+#define PASSDB_INTERFACE_VERSION 22
struct pdb_methods
{
@@ -624,6 +625,12 @@ struct pdb_methods
uint32_t num_suffixes,
const char **suffixes);
+ bool (*is_responsible_for_our_sam)(struct pdb_methods *methods);
+ bool (*is_responsible_for_builtin)(struct pdb_methods *methods);
+ bool (*is_responsible_for_wellknown)(struct pdb_methods *methods);
+ bool (*is_responsible_for_unix_users)(struct pdb_methods *methods);
+ bool (*is_responsible_for_unix_groups)(struct pdb_methods *methods);
+
void *private_data; /* Private data of some kind */
void (*free_private_data)(void **);