diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-11 17:30:53 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-11 17:33:34 +0200 |
commit | c186f92437a918a256b84be84dcf6de569f0cc20 (patch) | |
tree | 30b981e766510627f6241b567326f86a1ab03471 /source3/include | |
parent | c6a6d884f98aead1f449bc94aee19c3069efca27 (diff) | |
download | samba-c186f92437a918a256b84be84dcf6de569f0cc20.tar.gz samba-c186f92437a918a256b84be84dcf6de569f0cc20.tar.bz2 samba-c186f92437a918a256b84be84dcf6de569f0cc20.zip |
s3: [ug]id_to_unix_... can not fail
Remove some silly failure checks
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 860e19d2c3..c0ff722684 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4623,8 +4623,8 @@ bool sid_check_is_in_builtin(const struct dom_sid *sid); bool sid_check_is_unix_users(const struct dom_sid *sid); bool sid_check_is_in_unix_users(const struct dom_sid *sid); -bool uid_to_unix_users_sid(uid_t uid, struct dom_sid *sid); -bool gid_to_unix_groups_sid(gid_t gid, 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); |