diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-07 23:53:02 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-01-11 10:43:13 -0500 |
commit | 52121722934bcffa2142494fe5c8480ba6c77719 (patch) | |
tree | 87f72b9bb026c8d4ae9e8d17d99fdcf871fe97a2 /src/providers | |
parent | 539235f68a22899386f2e0f9f9f0796d45023f1b (diff) | |
download | sssd-52121722934bcffa2142494fe5c8480ba6c77719.tar.gz sssd-52121722934bcffa2142494fe5c8480ba6c77719.tar.xz sssd-52121722934bcffa2142494fe5c8480ba6c77719.zip |
Add domain argument to sysdb_has/set_enumerated()
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/ldap_common.c | 3 | ||||
-rw-r--r-- | src/providers/ldap/ldap_id_enum.c | 2 | ||||
-rw-r--r-- | src/providers/ldap/sdap_reinit.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c index a97dc34e2..0dcd5a4da 100644 --- a/src/providers/ldap/ldap_common.c +++ b/src/providers/ldap/ldap_common.c @@ -767,7 +767,8 @@ int sdap_id_setup_tasks(struct sdap_id_ctx *ctx) * clients requesting get*ent information won't get an * immediate reply with no entries */ - ret = sysdb_has_enumerated(ctx->be->sysdb, &has_enumerated); + ret = sysdb_has_enumerated(ctx->be->sysdb, ctx->be->domain, + &has_enumerated); if (ret != EOK) { return ret; } diff --git a/src/providers/ldap/ldap_id_enum.c b/src/providers/ldap/ldap_id_enum.c index 88036cc26..ecd1a6e75 100644 --- a/src/providers/ldap/ldap_id_enum.c +++ b/src/providers/ldap/ldap_id_enum.c @@ -145,7 +145,7 @@ static void ldap_id_enumerate_reschedule(struct tevent_req *req) * process on the next SSSD service restart (to avoid * slowing down system boot-up */ - ret = sysdb_set_enumerated(ctx->be->sysdb, true); + ret = sysdb_set_enumerated(ctx->be->sysdb, ctx->be->domain, true); if (ret != EOK) { DEBUG(1, ("Could not mark domain as having enumerated.\n")); /* This error is non-fatal, so continue */ diff --git a/src/providers/ldap/sdap_reinit.c b/src/providers/ldap/sdap_reinit.c index 41d102494..dd49c7b89 100644 --- a/src/providers/ldap/sdap_reinit.c +++ b/src/providers/ldap/sdap_reinit.c @@ -211,7 +211,7 @@ static void sdap_reinit_cleanup_done(struct tevent_req *subreq) * process on the next SSSD service restart (to avoid * slowing down system boot-up */ - ret = sysdb_set_enumerated(state->sysdb, true); + ret = sysdb_set_enumerated(state->sysdb, state->domain, true); if (ret != EOK) { DEBUG(SSSDBG_MINOR_FAILURE, ("Could not mark domain as having " "enumerated.\n")); |