diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-05-03 17:15:09 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-03 13:46:59 -0400 |
commit | dbdf6911688315515a36bb91786108a95d033128 (patch) | |
tree | 6614734ee4bb021369f5494bdbb21b762de1fcf4 /src/providers | |
parent | b42b5d5aaf4da165582e73ad985fdff6e34e61e4 (diff) | |
download | sssd-dbdf6911688315515a36bb91786108a95d033128.tar.gz sssd-dbdf6911688315515a36bb91786108a95d033128.tar.xz sssd-dbdf6911688315515a36bb91786108a95d033128.zip |
Read sysdb attribute name, not LDAP attribute map name
https://fedorahosted.org/sssd/ticket/1320
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_async.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index b8283ef93..fb5c8902e 100644 --- a/src/providers/ldap/sdap_async.c +++ b/src/providers/ldap/sdap_async.c @@ -2091,7 +2091,7 @@ errno_t sdap_check_aliases(struct sysdb_ctx *sysdb, if (!tmp_ctx) return ENOMEM; ret = sysdb_attrs_primary_name(sysdb, user_attrs, - opts->user_map[SDAP_AT_USER_NAME].name, + opts->user_map[SDAP_AT_USER_NAME].sys_name, &name); if (ret != EOK) { DEBUG(SSSDBG_TRACE_INTERNAL, ("Could not get the primary name\n")); @@ -2099,7 +2099,7 @@ errno_t sdap_check_aliases(struct sysdb_ctx *sysdb, } ret = sysdb_attrs_get_uint32_t(user_attrs, - opts->user_map[SDAP_AT_USER_UID].name, + opts->user_map[SDAP_AT_USER_UID].sys_name, &uid); if (ret != EOK) { DEBUG(SSSDBG_TRACE_INTERNAL, ("Could not get UID\n")); |