summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-05-27 12:24:22 +0200
committerMichael Adam <obnox@samba.org>2013-06-21 10:44:19 +0200
commit0ad38d777f442b5da10c39c9c5695c4d857d7141 (patch)
tree22e761a5661b321999b1d7b375856e94a681c8c1 /source3/include
parent9eb67f259f91e31dfb6a7abf2b42ec8a4ce9f837 (diff)
downloadsamba-0ad38d777f442b5da10c39c9c5695c4d857d7141.tar.gz
samba-0ad38d777f442b5da10c39c9c5695c4d857d7141.tar.bz2
samba-0ad38d777f442b5da10c39c9c5695c4d857d7141.zip
s3:passdb add pdb_*_is_responsible_for* functions
allows PDB modules to specify for which special domains they are responsible when it comes to SID->xid conversion By default, passdb modules will be responsible for local BUILTIN, local SAM and Unix Users/Groups Pair-Programmed-With: Michael Adam <obnox@samba.org> Signed-off-by: Christian Ambach <ambi@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/passdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index e032ae1014..793c7667cc 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -934,6 +934,11 @@ NTSTATUS pdb_enum_upn_suffixes(TALLOC_CTX *mem_ctx,
NTSTATUS pdb_set_upn_suffixes(uint32_t num_suffixes,
const char **suffixes);
+bool pdb_is_responsible_for_our_sam(void);
+bool pdb_is_responsible_for_builtin(void);
+bool pdb_is_responsible_for_wellknown(void);
+bool pdb_is_responsible_for_unix_users(void);
+bool pdb_is_responsible_for_unix_groups(void);
/* The following definitions come from passdb/pdb_util.c */