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:15:10 +0200 |
commit | 15ef8f1a2f13cda195ed3c05ca7c9d815a040bb3 (patch) | |
tree | 1b62adc05b866ff54df17f60022584ce779440f2 /src/tests/simple_access-tests.c | |
parent | 98cbf234ead39b844b5c66481a79fdd9ddd93340 (diff) | |
download | sssd-15ef8f1a2f13cda195ed3c05ca7c9d815a040bb3.tar.gz sssd-15ef8f1a2f13cda195ed3c05ca7c9d815a040bb3.tar.xz sssd-15ef8f1a2f13cda195ed3c05ca7c9d815a040bb3.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"); } |