diff options
author | Günther Deschner <gd@samba.org> | 2011-03-22 23:20:49 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-30 01:13:08 +0200 |
commit | bcee6c1fe209b458e546b5788a9148eecc8715f1 (patch) | |
tree | 64f5b63b4355212bcb142d1d15ecbb2d6cb872e6 /source3/include | |
parent | cc94bcb952b1bf16e1d3f335e5288f793ee4ca96 (diff) | |
download | samba-bcee6c1fe209b458e546b5788a9148eecc8715f1.tar.gz samba-bcee6c1fe209b458e546b5788a9148eecc8715f1.tar.bz2 samba-bcee6c1fe209b458e546b5788a9148eecc8715f1.zip |
s3-passdb: move util_wellknown.c out of passdb.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 9 |
1 files changed, 9 insertions, 0 deletions
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_ */ |