diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-05-16 17:03:41 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-16 16:06:55 -0400 |
commit | 3c85f1fd27629239dfa6d4c7e96cf1c118398245 (patch) | |
tree | c814bdc4d380ea003b71867433455b4c76ae6696 | |
parent | 7e4457f9a9245502685da14e04c0a3439ba01bc1 (diff) | |
download | sssd-3c85f1fd27629239dfa6d4c7e96cf1c118398245.tar.gz sssd-3c85f1fd27629239dfa6d4c7e96cf1c118398245.tar.xz sssd-3c85f1fd27629239dfa6d4c7e96cf1c118398245.zip |
Use the sysdb attribute name, not LDAP attribute name
-rw-r--r-- | src/providers/ldap/sdap_async_autofs.c | 2 | ||||
-rw-r--r-- | src/providers/ldap/sdap_async_groups.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async_autofs.c b/src/providers/ldap/sdap_async_autofs.c index 528e8b73a..781f587da 100644 --- a/src/providers/ldap/sdap_async_autofs.c +++ b/src/providers/ldap/sdap_async_autofs.c @@ -770,7 +770,7 @@ sdap_autofs_setautomntent_save(struct tevent_req *req) ret = sysdb_attrs_to_list( tmp_ctx, state->entries, state->entries_count, - state->opts->autofs_entry_map[SDAP_AT_AUTOFS_ENTRY_KEY].name, + state->opts->autofs_entry_map[SDAP_AT_AUTOFS_ENTRY_KEY].sys_name, &ldap_entrylist); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c index aad2990c5..84eb7cbfd 100644 --- a/src/providers/ldap/sdap_async_groups.c +++ b/src/providers/ldap/sdap_async_groups.c @@ -3021,7 +3021,7 @@ sdap_nested_group_process_deref_result(struct tevent_req *req) } else if (dctx->deref_result[dctx->result_index]->map == \ state->opts->group_map) { ret = sysdb_attrs_get_string(dctx->deref_result[dctx->result_index]->attrs, - state->opts->group_map[SDAP_AT_GROUP_NAME].name, + state->opts->group_map[SDAP_AT_GROUP_NAME].sys_name, &tmp_name); if (ret == ENOENT) { DEBUG(7, ("Dereferenced a group without name, skipping ...\n")); |