s3:lib: add utility function sid_check_is_for_passdb()
commit55f8b4b009afdc4e2bb9b5a972dbde05e4a2ffe2
authorMichael Adam <obnox@samba.org>
Fri, 30 Nov 2012 11:27:00 +0000 (30 12:27 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 3 Dec 2012 12:01:33 +0000 (3 13:01 +0100)
treeb3e9007098b33d5c86d8fb6cb88a7a0a76dd4fae
parentecb567fb4a4c5e1c8b8c9ef53548c2e427305fa4
s3:lib: add utility function sid_check_is_for_passdb()

This function checks whether the given sid should be treated
by passdb (e.g. for id mapping).

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit fecdf48aaf514e6cda5cd0412d7407319a3ff89f)
source3/lib/util_sid_passdb.c [new file with mode: 0644]
source3/lib/util_sid_passdb.h [new file with mode: 0644]