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:58 -0400
commitd217f6b1176f653619439820cd9c4d3cb7f95c29 (patch)
treeda99a335ece7d02d5fa3e591dda45c81d3ee5e0d /src/providers/ldap/sdap_async_autofs.c
parentecd6aa105c55994db06993bab3c967247656bacb (diff)
downloadsssd-d217f6b1176f653619439820cd9c4d3cb7f95c29.tar.gz
sssd-d217f6b1176f653619439820cd9c4d3cb7f95c29.tar.xz
sssd-d217f6b1176f653619439820cd9c4d3cb7f95c29.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 3140596ef..d8a2d0eec 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,