diff options
| author | Jakub Hrozek <jhrozek@redhat.com> | 2014-08-26 09:43:09 +0200 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-08-26 16:45:38 +0200 |
| commit | 5c075562ac687f7102c7c940fec2e82da378bfff (patch) | |
| tree | c4627ef46ceae84b6223ce78f970b5372935f9ab /src/external/python.m4 | |
| parent | ad9d65039fd15a9b63b5772c0c4cdc29ffac93fa (diff) | |
| download | sssd-5c075562ac687f7102c7c940fec2e82da378bfff.tar.gz sssd-5c075562ac687f7102c7c940fec2e82da378bfff.tar.xz sssd-5c075562ac687f7102c7c940fec2e82da378bfff.zip | |
LDAP: Use randomized ccname for storing credentials
https://fedorahosted.org/sssd/ticket/2410
If two ldap_child processes attempt to prime the ccache at the same time
for the same domain, the ldap_child might fail with:
[ldap_child_get_tgt_sync] (0x0040): Failed to init ccache: Internal credentials cache error
[main] (0x0020): ldap_child_get_tgt_sync failed.
To avoid the race-condition, the ldap_child process now creates the
ccache randomized and before returning to the caller, renames the
randomized ccache to a permanent one.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/external/python.m4')
0 files changed, 0 insertions, 0 deletions
