diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-23 17:18:50 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-24 18:18:30 +0200 |
commit | e75a152157e054a2ed46acecbe8b5cfb9853773c (patch) | |
tree | ea6d942492af92e0f30a662a2fc5ec494e6d25ae /src/tests | |
parent | f17d26a8db285622a5cd5f21c7488b62eedc2cf8 (diff) | |
download | sssd-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.c | 2 |
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, |