summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 16:47:59 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit5d72a91a37273c8c874640906fd2f7a70e606812 (patch)
tree5f8c23d7add8be23cbb23c05cfac04194254db16 /src/providers/ldap
parentb23539e420b9962ad3bfd8f305b9d5acf47e7efb (diff)
downloadsssd-5d72a91a37273c8c874640906fd2f7a70e606812.tar.gz
sssd-5d72a91a37273c8c874640906fd2f7a70e606812.tar.bz2
sssd-5d72a91a37273c8c874640906fd2f7a70e606812.zip
Add domain to sysdb_search_group_by_gid()
Also remove unused sysdb_search_domgroup_by_gid()
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_async_initgroups_ad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups_ad.c b/src/providers/ldap/sdap_async_initgroups_ad.c
index ff0e7133..e0ac7ccd 100644
--- a/src/providers/ldap/sdap_async_initgroups_ad.c
+++ b/src/providers/ldap/sdap_async_initgroups_ad.c
@@ -476,7 +476,7 @@ sdap_get_ad_tokengroups_initgroups_lookup_done(struct tevent_req *subreq)
gid));
/* Check whether this GID already exists in the sysdb */
- ret = sysdb_search_group_by_gid(tmp_ctx, state->sysdb,
+ ret = sysdb_search_group_by_gid(tmp_ctx, state->sysdb, state->domain,
gid, attrs, &msg);
if (ret == EOK) {
group_name = ldb_msg_find_attr_as_string(msg, SYSDB_NAME, NULL);