Skip to content

Commit

Permalink
KCM: Fix GSSAPI delegation for the memory back end
Browse files Browse the repository at this point in the history
When GSSAPI credentials are delegated over SSH, the KCM set default ccache
operation looks for a ERR_NO_CREDS return code to continue handling the
SSH-created ccache correctly. The memory back end will now return this
error code in this situation, matching the default secdb back end.

Resolves: #5333
  • Loading branch information
justin-stephenson committed Sep 23, 2020
1 parent fbc7082 commit b93ad04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/responder/kcm/kcmsrv_ccache_mem.c
Expand Up @@ -578,7 +578,7 @@ struct tevent_req *ccdb_mem_uuid_by_name_send(TALLOC_CTX *mem_ctx,

ccwrap = memdb_get_by_name(memdb, client, name);
if (ccwrap == NULL) {
ret = ERR_KCM_CC_END;
ret = ERR_NO_CREDS;
goto immediate;
}

Expand Down

0 comments on commit b93ad04

Please sign in to comment.