summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_autofs.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-05-16 17:03:41 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-05-16 16:06:55 -0400
commit3c85f1fd27629239dfa6d4c7e96cf1c118398245 (patch)
treec814bdc4d380ea003b71867433455b4c76ae6696 /src/providers/ldap/sdap_async_autofs.c
parent7e4457f9a9245502685da14e04c0a3439ba01bc1 (diff)
downloadsssd-3c85f1fd27629239dfa6d4c7e96cf1c118398245.tar.gz
sssd-3c85f1fd27629239dfa6d4c7e96cf1c118398245.tar.xz
sssd-3c85f1fd27629239dfa6d4c7e96cf1c118398245.zip
Use the sysdb attribute name, not LDAP attribute name
Diffstat (limited to 'src/providers/ldap/sdap_async_autofs.c')
-rw-r--r--src/providers/ldap/sdap_async_autofs.c2
1 files changed, 1 insertions, 1 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,