diff options
author | Michael Adam <obnox@samba.org> | 2012-12-03 01:40:37 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-12-03 08:48:30 +0100 |
commit | 671f534e5e02adafe945a4e77813e80b5adaeb70 (patch) | |
tree | eed5e960d21247ede663e3bd10417ad26ede5021 /source3/lib/util_sid_passdb.h | |
parent | d96aeded6193cb6381540c1073182bfb7f079025 (diff) | |
download | samba-671f534e5e02adafe945a4e77813e80b5adaeb70.tar.gz samba-671f534e5e02adafe945a4e77813e80b5adaeb70.tar.bz2 samba-671f534e5e02adafe945a4e77813e80b5adaeb70.zip |
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 <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/lib/util_sid_passdb.h')
-rw-r--r-- | source3/lib/util_sid_passdb.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -22,6 +22,12 @@ #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. */ |