diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-25 15:22:36 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-26 11:49:17 +0200 |
commit | 59a95122d6bf4e271e79443cfc8caab5831c2ae3 (patch) | |
tree | b101c12cc920d9f18ab9a6600a2b42f63c20337a /src | |
parent | 05cf2b70adde257df3657f449635c917b0e96a52 (diff) | |
download | sssd-59a95122d6bf4e271e79443cfc8caab5831c2ae3.tar.gz sssd-59a95122d6bf4e271e79443cfc8caab5831c2ae3.tar.bz2 sssd-59a95122d6bf4e271e79443cfc8caab5831c2ae3.zip |
PAC: Skip SIDs that cannot be resolved to domain
Diffstat (limited to 'src')
-rw-r--r-- | src/responder/pac/pacsrv_cmd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/responder/pac/pacsrv_cmd.c b/src/responder/pac/pacsrv_cmd.c index 0d812588..f6e8abaf 100644 --- a/src/responder/pac/pacsrv_cmd.c +++ b/src/responder/pac/pacsrv_cmd.c @@ -796,8 +796,10 @@ static errno_t pac_save_memberships_next(struct tevent_req *req) sid = pr_ctx->add_sids[state->sid_iter]; ret = responder_get_domain_by_id(pr_ctx->pac_ctx->rctx, sid, &grp_dom); if (ret != EOK) { - DEBUG(SSSDBG_OP_FAILURE, ("responder_get_domain_by_id failed.\n")); - return ret; + DEBUG(SSSDBG_MINOR_FAILURE, ("responder_get_domain_by_id failed, " \ + "will try next group\n")); + state->sid_iter++; + continue; } ret = pac_store_membership(state->pr_ctx, state->user_dn, sid, grp_dom); |