summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_util.c2
-rw-r--r--source3/passdb/lookup_sid.c4
-rw-r--r--source3/passdb/lookup_sid.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 07ed9c1077..de395a5674 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -600,7 +600,7 @@ NTSTATUS create_local_token(TALLOC_CTX *mem_ctx,
return NT_STATUS_NO_MEMORY;
}
- if (!sids_to_unix_ids(t->sids, t->num_sids, ids)) {
+ if (!sids_to_unixids(t->sids, t->num_sids, ids)) {
TALLOC_FREE(ids);
return NT_STATUS_NO_MEMORY;
}
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index a4af677714..a72cbd0986 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -1252,8 +1252,8 @@ void gid_to_sid(struct dom_sid *psid, gid_t gid)
return;
}
-bool sids_to_unix_ids(const struct dom_sid *sids, uint32_t num_sids,
- struct unixid *ids)
+bool sids_to_unixids(const struct dom_sid *sids, uint32_t num_sids,
+ struct unixid *ids)
{
struct wbcDomainSid *wbc_sids = NULL;
struct wbcUnixId *wbc_ids = NULL;
diff --git a/source3/passdb/lookup_sid.h b/source3/passdb/lookup_sid.h
index 068e499664..81f74c3ae3 100644
--- a/source3/passdb/lookup_sid.h
+++ b/source3/passdb/lookup_sid.h
@@ -86,7 +86,7 @@ void gid_to_sid(struct dom_sid *psid, gid_t gid);
bool sid_to_uid(const struct dom_sid *psid, uid_t *puid);
bool sid_to_gid(const struct dom_sid *psid, gid_t *pgid);
struct wbcUnixId;
-bool sids_to_unix_ids(const struct dom_sid *sids, uint32_t num_sids,
+bool sids_to_unixids(const struct dom_sid *sids, uint32_t num_sids,
struct unixid *ids);
NTSTATUS get_primary_group_sid(TALLOC_CTX *mem_ctx,
const char *username,