summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_async_initgroups_ad.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 20:17:08 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:01 +0100
commit363ce75bfe2f73198e1ae7feeed97b6009ae24b8 (patch)
treeb97f5dd0bae47f1b369fc8689da6c1a266c3f9a4 /src/providers/ldap/sdap_async_initgroups_ad.c
parent99c0cfdc5f065ba38f1ee91701d1d27f9e4fdb96 (diff)
downloadsssd-363ce75bfe2f73198e1ae7feeed97b6009ae24b8.tar.gz
sssd-363ce75bfe2f73198e1ae7feeed97b6009ae24b8.tar.bz2
sssd-363ce75bfe2f73198e1ae7feeed97b6009ae24b8.zip
Add domain arg to sysdb group member functions
Diffstat (limited to 'src/providers/ldap/sdap_async_initgroups_ad.c')
-rw-r--r--src/providers/ldap/sdap_async_initgroups_ad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups_ad.c b/src/providers/ldap/sdap_async_initgroups_ad.c
index d9357384..a3f6694a 100644
--- a/src/providers/ldap/sdap_async_initgroups_ad.c
+++ b/src/providers/ldap/sdap_async_initgroups_ad.c
@@ -544,8 +544,8 @@ sdap_get_ad_tokengroups_initgroups_lookup_done(struct tevent_req *subreq)
DEBUG(SSSDBG_TRACE_LIBS,
("Updating memberships for [%s]\n", state->username));
- ret = sysdb_update_members(state->sysdb, state->username,
- SYSDB_MEMBER_USER,
+ ret = sysdb_update_members(state->sysdb, state->domain,
+ state->username, SYSDB_MEMBER_USER,
(const char *const *) add_groups,
(const char *const *) del_groups);
if (ret != EOK) {