summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-05-02 09:48:28 +0200
committerMichael Adam <obnox@samba.org>2012-05-02 12:45:30 +0200
commitf9c9c49c51140f708ac58a2b60cbea817df7e056 (patch)
tree4df3f21870ac8a6bb0dc532313b9ec3013967f9d /source3
parentac97f151ed18351bf648b00e358cfb127f261826 (diff)
downloadsamba-f9c9c49c51140f708ac58a2b60cbea817df7e056.tar.gz
samba-f9c9c49c51140f708ac58a2b60cbea817df7e056.tar.bz2
samba-f9c9c49c51140f708ac58a2b60cbea817df7e056.zip
s3:passdb: rename sids_to_unix_ids() --> sids_to_unixids() for consistency
Diffstat (limited to 'source3')
-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,