Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Jul 29, 2020

Fixes #21892

Reproduction steps:

  1. Have Active Directory configured (not OpenLDAP, Samba4 or others), with a small Cache TTL
  2. Have all LDAP users mapped
  3. Delete a known user
  4. run php occ ldap:check-user USERID

Before the fix, an LDAP Error ("LDAP error Critical extension is unavailable (12) after calling ldap_search" ) was logged.

(Note: there are other ways to get this error, the described steps are the easiest and most reliable way to trigger it).

@blizzz
Copy link
Member Author

blizzz commented Jul 29, 2020

/backport to stable19

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz force-pushed the fix/21892/reset-internal-cookie-state branch from 4825ca4 to d3501be Compare July 29, 2020 15:49
@faily-bot

This comment has been minimized.

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good 👍

@juliusknorr juliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 31, 2020
@MorrisJobke MorrisJobke merged commit 21095be into master Jul 31, 2020
@MorrisJobke MorrisJobke deleted the fix/21892/reset-internal-cookie-state branch July 31, 2020 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: ldap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ldap_search(): Search : Critical extension is unavailable on v19.0.0

4 participants