From 9eb67f259f91e31dfb6a7abf2b42ec8a4ce9f837 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Mon, 17 Jun 2013 16:32:02 +0200 Subject: s3:passdb add idmap control functions make it possible for each backend to specify for which domains it should be asked for SID->xid mappings Pair-Programmed-With: Michael Adam Signed-off-by: Christian Ambach Signed-off-by: Michael Adam --- source3/include/passdb.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 **); -- cgit