diff options
author | Günther Deschner <gd@samba.org> | 2011-03-22 23:23:17 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-30 01:13:08 +0200 |
commit | 7d798ac485b47483c9f99c67f7be196d55587a09 (patch) | |
tree | 2c022481ba8bdc35bd207b311899b250da756f54 /source3/include | |
parent | bcee6c1fe209b458e546b5788a9148eecc8715f1 (diff) | |
download | samba-7d798ac485b47483c9f99c67f7be196d55587a09.tar.gz samba-7d798ac485b47483c9f99c67f7be196d55587a09.tar.bz2 samba-7d798ac485b47483c9f99c67f7be196d55587a09.zip |
s3-passdb: move util_unixsids.c out of passdb.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 01ec4bb4c1..c359728064 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4710,4 +4710,17 @@ bool lookup_wellknown_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid, bool lookup_wellknown_name(TALLOC_CTX *mem_ctx, const char *name, struct dom_sid *sid, const char **domain); +/* The following definitions come from lib/util_unixsids.c */ + +bool sid_check_is_unix_users(const struct dom_sid *sid); +bool sid_check_is_in_unix_users(const struct dom_sid *sid); +void uid_to_unix_users_sid(uid_t uid, struct dom_sid *sid); +void gid_to_unix_groups_sid(gid_t gid, struct dom_sid *sid); +const char *unix_users_domain_name(void); +bool lookup_unix_user_name(const char *name, struct dom_sid *sid); +bool sid_check_is_unix_groups(const struct dom_sid *sid); +bool sid_check_is_in_unix_groups(const struct dom_sid *sid); +const char *unix_groups_domain_name(void); +bool lookup_unix_group_name(const char *name, struct dom_sid *sid); + #endif /* _PROTO_H_ */ |