summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv_cmd.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-02-09 11:30:03 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-02-10 13:29:54 -0500
commitf78f2dbf5376571d5ce9ae3e5aff174c80fa87ea (patch)
tree241bdd134ea970a6c49495c099a4dec2f07499ca /src/responder/nss/nsssrv_cmd.c
parent349345557c23bc8d0321e99f990ba40b3079a221 (diff)
downloadsssd-f78f2dbf5376571d5ce9ae3e5aff174c80fa87ea.tar.gz
sssd-f78f2dbf5376571d5ce9ae3e5aff174c80fa87ea.tar.xz
sssd-f78f2dbf5376571d5ce9ae3e5aff174c80fa87ea.zip
Fix group enumeration
Also adds some more debugging and fixes a code style issue. https://fedorahosted.org/sssd/ticket/1182
Diffstat (limited to 'src/responder/nss/nsssrv_cmd.c')
-rw-r--r--src/responder/nss/nsssrv_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index e368e3ac6..1c9160b7a 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -2625,6 +2625,8 @@ static errno_t nss_cmd_setgrent_step(struct setent_step_ctx *step_ctx)
if (dctx->check_provider) {
step_ctx->returned_to_mainloop = true;
/* Only do this once per provider */
+ dctx->check_provider = false;
+
dpreq = sss_dp_get_account_send(step_ctx, rctx, dctx->domain, true,
SSS_DP_USER, NULL, 0, NULL);
if (!dpreq) {