summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/lookup_sid.c2
-rw-r--r--source3/passdb/util_unixsids.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index 48f6d666ce..03fe58bc27 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -1168,7 +1168,7 @@ void gid_to_sid(DOM_SID *psid, gid_t gid)
/* This is an unmapped group */
- uid_to_unix_groups_sid(gid, psid);
+ gid_to_unix_groups_sid(gid, psid);
done:
DEBUG(10,("gid_to_sid: local %u -> %s\n", (unsigned int)gid,
diff --git a/source3/passdb/util_unixsids.c b/source3/passdb/util_unixsids.c
index 80d22a314f..a885d970ae 100644
--- a/source3/passdb/util_unixsids.c
+++ b/source3/passdb/util_unixsids.c
@@ -42,7 +42,7 @@ BOOL uid_to_unix_users_sid(uid_t uid, DOM_SID *sid)
return sid_append_rid(sid, uid);
}
-BOOL uid_to_unix_groups_sid(gid_t gid, DOM_SID *sid)
+BOOL gid_to_unix_groups_sid(gid_t gid, DOM_SID *sid)
{
sid_copy(sid, &global_sid_Unix_Groups);
return sid_append_rid(sid, gid);