diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-09-06 13:44:46 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-26 21:11:52 +0200 |
commit | 6ff294ac06863ea76463c3fa3549cc46a60b75ad (patch) | |
tree | aaa3e1524f53226b1fa70dd28147c68a2fa4caec /src/tests/simple_access-tests.c | |
parent | 9cc66028cb6e497588a088ff2953e2ca7ed6ca6d (diff) | |
download | sssd-6ff294ac06863ea76463c3fa3549cc46a60b75ad.tar.gz sssd-6ff294ac06863ea76463c3fa3549cc46a60b75ad.tar.xz sssd-6ff294ac06863ea76463c3fa3549cc46a60b75ad.zip |
sysdb: sysdb_update_members can take either name or dn
We need to work with distinguish names when processing
cross-domain membership, because groups and users may
be stored in different sysdb tree.
Resolves:
https://fedorahosted.org/sssd/ticket/2066
Diffstat (limited to 'src/tests/simple_access-tests.c')
-rw-r--r-- | src/tests/simple_access-tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/simple_access-tests.c b/src/tests/simple_access-tests.c index aaf757871..6d214dc7e 100644 --- a/src/tests/simple_access-tests.c +++ b/src/tests/simple_access-tests.c @@ -189,11 +189,11 @@ void setup_simple_group(void) fail_if(ret != EOK, "Could not add g2"); ret = sysdb_add_group_member(test_ctx->sysdb, test_ctx->ctx->domain, - "g1", "u1", SYSDB_MEMBER_USER); + "g1", "u1", SYSDB_MEMBER_USER, false); fail_if(ret != EOK, "Could not add u1 to g1"); ret = sysdb_add_group_member(test_ctx->sysdb, test_ctx->ctx->domain, - "g2", "u2", SYSDB_MEMBER_USER); + "g2", "u2", SYSDB_MEMBER_USER, false); fail_if(ret != EOK, "Could not add u2 to g2"); } |