summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-09-23 17:18:50 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-09-24 18:18:30 +0200
commite75a152157e054a2ed46acecbe8b5cfb9853773c (patch)
treeea6d942492af92e0f30a662a2fc5ec494e6d25ae /src/tests
parentf17d26a8db285622a5cd5f21c7488b62eedc2cf8 (diff)
downloadsssd-e75a152157e054a2ed46acecbe8b5cfb9853773c.tar.gz
sssd-e75a152157e054a2ed46acecbe8b5cfb9853773c.tar.bz2
sssd-e75a152157e054a2ed46acecbe8b5cfb9853773c.zip
AUTOFS: Use both key and value in entry RDN
This patch switches from using just key in the RDN to using both key and value. That is neccessary to allow multiple direct mounts in a single map.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/sysdb-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index ffcef835..83628af8 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -3801,7 +3801,7 @@ START_TEST(test_autofs_get_duplicate_keys)
fail_if(autofskey == NULL, "Out of memory\n");
filter = talloc_asprintf(test_ctx, "(&(objectclass=%s)(%s=%s))",
- SYSDB_AUTOFS_ENTRY_OC, SYSDB_NAME, autofskey);
+ SYSDB_AUTOFS_ENTRY_OC, SYSDB_AUTOFS_ENTRY_KEY, autofskey);
fail_if(filter == NULL, "Out of memory\n");
dn = ldb_dn_new_fmt(test_ctx, test_ctx->sysdb->ldb, SYSDB_TMPL_CUSTOM_SUBTREE,