diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-07 23:33:45 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:02 +0100 |
commit | 2b7ee2a760e7fcc70f4970a3bbee6fbf8f2ccb9d (patch) | |
tree | c9e974ed04bd166b4dbab9dde3a6ae6442927a45 /src/providers/ldap/sdap_reinit.c | |
parent | 3412d14d65490c32414e72ac20fe21bad53ceb45 (diff) | |
download | sssd-2b7ee2a760e7fcc70f4970a3bbee6fbf8f2ccb9d.tar.gz sssd-2b7ee2a760e7fcc70f4970a3bbee6fbf8f2ccb9d.tar.xz sssd-2b7ee2a760e7fcc70f4970a3bbee6fbf8f2ccb9d.zip |
Add domain argument to sysdb_search_groups()
Diffstat (limited to 'src/providers/ldap/sdap_reinit.c')
-rw-r--r-- | src/providers/ldap/sdap_reinit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_reinit.c b/src/providers/ldap/sdap_reinit.c index cc836ae53..41d102494 100644 --- a/src/providers/ldap/sdap_reinit.c +++ b/src/providers/ldap/sdap_reinit.c @@ -153,7 +153,8 @@ static errno_t sdap_reinit_clear_usn(struct sysdb_ctx *sysdb, msgs_num = 0; /* reset groups' usn */ - ret = sysdb_search_groups(tmp_ctx, sysdb, "", attrs, &msgs_num, &msgs); + ret = sysdb_search_groups(tmp_ctx, sysdb, domain, + "", attrs, &msgs_num, &msgs); if (ret != EOK) { goto done; } @@ -279,7 +280,7 @@ static errno_t sdap_reinit_delete_records(struct sysdb_ctx *sysdb, msgs_num = 0; /* purge untouched groups */ - ret = sysdb_search_groups(tmp_ctx, sysdb, "(!("SYSDB_USN"=*))", + ret = sysdb_search_groups(tmp_ctx, sysdb, domain, "(!("SYSDB_USN"=*))", attrs, &msgs_num, &msgs); if (ret != EOK) { goto done; |