diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-23 16:51:47 +1100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-05-02 12:45:29 +0200 |
commit | 2d5df933f421602276c3dfc04852911d91f631fc (patch) | |
tree | de3751a640f3055cff0e25a9ee341f3e58d13e9e /source3/passdb | |
parent | a6e29f23f09ba5b6b6d362f7683ae8088bc0ba85 (diff) | |
download | samba-2d5df933f421602276c3dfc04852911d91f631fc.tar.gz samba-2d5df933f421602276c3dfc04852911d91f631fc.tar.bz2 samba-2d5df933f421602276c3dfc04852911d91f631fc.zip |
s3-passdb: Rename legacy_sid_to_id -> legacy_sid_to_unixid for clarity
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/lookup_sid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index d31693de4e..a70d31791f 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/passdb/lookup_sid.c @@ -1078,7 +1078,7 @@ static void legacy_gid_to_sid(struct dom_sid *psid, gid_t gid) *THE LEGACY* convert SID to id function. *****************************************************************/ -static bool legacy_sid_to_id(const struct dom_sid *psid, struct unixid *id) +static bool legacy_sid_to_unixid(const struct dom_sid *psid, struct unixid *id) { GROUP_MAP *map; if (sid_check_is_in_our_domain(psid)) { @@ -1131,7 +1131,7 @@ done: static bool legacy_sid_to_gid(const struct dom_sid *psid, gid_t *pgid) { struct unixid id; - if (!legacy_sid_to_id(psid, &id)) { + if (!legacy_sid_to_unixid(psid, &id)) { return false; } if (id.type == ID_TYPE_GID || id.type == ID_TYPE_BOTH) { @@ -1144,7 +1144,7 @@ static bool legacy_sid_to_gid(const struct dom_sid *psid, gid_t *pgid) static bool legacy_sid_to_uid(const struct dom_sid *psid, uid_t *puid) { struct unixid id; - if (!legacy_sid_to_id(psid, &id)) { + if (!legacy_sid_to_unixid(psid, &id)) { return false; } if (id.type == ID_TYPE_UID || id.type == ID_TYPE_BOTH) { |