From 671f534e5e02adafe945a4e77813e80b5adaeb70 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 3 Dec 2012 01:40:37 +0100 Subject: s3:passdb: add sid_check_object_is_for_passdb() Variant of sid_check_is_for_passdb() that only checks for objects in the various domains, not for the domain sids themselves. Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/lib/util_sid_passdb.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/lib/util_sid_passdb.h') diff --git a/source3/lib/util_sid_passdb.h b/source3/lib/util_sid_passdb.h index bd62e9e497..381d63cff0 100644 --- a/source3/lib/util_sid_passdb.h +++ b/source3/lib/util_sid_passdb.h @@ -21,6 +21,12 @@ #ifndef __LIB_UTIL_SID_PASSDB_H__ #define __LIB_UTIL_SID_PASSDB_H__ +/** + * check whether this is an object-sid that should + * be treated by the passdb, e.g. for id-mapping. + */ +bool sid_check_object_is_for_passdb(const struct dom_sid *sid); + /** * check whether this is an object- or domain-sid that should * be treated by the passdb, e.g. for id-mapping. -- cgit