diff options
Diffstat (limited to 'source3/passdb/util_unixsids.c')
-rw-r--r-- | source3/passdb/util_unixsids.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/passdb/util_unixsids.c b/source3/passdb/util_unixsids.c index afda253c70b..08c887e9fa1 100644 --- a/source3/passdb/util_unixsids.c +++ b/source3/passdb/util_unixsids.c @@ -19,14 +19,14 @@ #include "includes.h" -bool sid_check_is_unix_users(const DOM_SID *sid) +bool sid_check_is_unix_users(const struct dom_sid *sid) { return sid_equal(sid, &global_sid_Unix_Users); } -bool sid_check_is_in_unix_users(const DOM_SID *sid) +bool sid_check_is_in_unix_users(const struct dom_sid *sid) { - DOM_SID dom_sid; + struct dom_sid dom_sid; uint32 rid; sid_copy(&dom_sid, sid); @@ -35,12 +35,12 @@ bool sid_check_is_in_unix_users(const DOM_SID *sid) return sid_check_is_unix_users(&dom_sid); } -bool uid_to_unix_users_sid(uid_t uid, DOM_SID *sid) +bool uid_to_unix_users_sid(uid_t uid, struct dom_sid *sid) { return sid_compose(sid, &global_sid_Unix_Users, uid); } -bool gid_to_unix_groups_sid(gid_t gid, DOM_SID *sid) +bool gid_to_unix_groups_sid(gid_t gid, struct dom_sid *sid) { return sid_compose(sid, &global_sid_Unix_Groups, gid); } @@ -50,7 +50,7 @@ const char *unix_users_domain_name(void) return "Unix User"; } -bool lookup_unix_user_name(const char *name, DOM_SID *sid) +bool lookup_unix_user_name(const char *name, struct dom_sid *sid) { struct passwd *pwd; bool ret; @@ -69,14 +69,14 @@ bool lookup_unix_user_name(const char *name, DOM_SID *sid) return ret; } -bool sid_check_is_unix_groups(const DOM_SID *sid) +bool sid_check_is_unix_groups(const struct dom_sid *sid) { return sid_equal(sid, &global_sid_Unix_Groups); } -bool sid_check_is_in_unix_groups(const DOM_SID *sid) +bool sid_check_is_in_unix_groups(const struct dom_sid *sid) { - DOM_SID dom_sid; + struct dom_sid dom_sid; uint32 rid; sid_copy(&dom_sid, sid); @@ -90,7 +90,7 @@ const char *unix_groups_domain_name(void) return "Unix Group"; } -bool lookup_unix_group_name(const char *name, DOM_SID *sid) +bool lookup_unix_group_name(const char *name, struct dom_sid *sid) { struct group *grp; |