URL:
https://github.com/SSSD/sssd/pull/5776
Author: pbrezina
Title: #5776: kcm: replace existing credentials to avoid unnecessary ccache growth
Action: opened
PR body:
"""
Currently, we just append input credential to the ccache. This however make
the ccache grow over time as credentials expires and more control
credentials are stored.
Now we remove or credentials that are the same and overwrite them with the
input credential.
Resolves:
https://github.com/SSSD/sssd/issues/5775
:fixes: KCM now replace the old credential with new one when storing
an update credential that is however already present in the ccache
to avoid unnecessary growth of the ccache.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/5776/head:pr5776
git checkout pr5776