summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-11 17:30:53 +0200
committerVolker Lendecke <vl@samba.org>2010-07-11 17:33:34 +0200
commitc186f92437a918a256b84be84dcf6de569f0cc20 (patch)
tree30b981e766510627f6241b567326f86a1ab03471 /source3/include
parentc6a6d884f98aead1f449bc94aee19c3069efca27 (diff)
downloadsamba-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.h4
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);