From bcee6c1fe209b458e546b5788a9148eecc8715f1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 22 Mar 2011 23:20:49 +0100 Subject: s3-passdb: move util_wellknown.c out of passdb. Guenther --- source3/include/proto.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 76694a346f..01ec4bb4c1 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4701,4 +4701,13 @@ void map_max_allowed_access(const struct security_token *nt_token, const struct security_unix_token *unix_token, uint32_t *pacc_requested); +/* The following definitions come from lib/util_wellknown.c */ + +bool sid_check_is_wellknown_domain(const struct dom_sid *sid, const char **name); +bool sid_check_is_in_wellknown_domain(const struct dom_sid *sid); +bool lookup_wellknown_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid, + const char **domain, const char **name); +bool lookup_wellknown_name(TALLOC_CTX *mem_ctx, const char *name, + struct dom_sid *sid, const char **domain); + #endif /* _PROTO_H_ */ -- cgit