v.21.7Bug Fix

Fix Deadlock in LDAP Role Mapping for User Authentication

When user authentication is managed by LDAP. Fixed potential deadlock that can happen during LDAP role (re)mapping, when LDAP group is mapped to a nonexistent local role. #24431 (Denis Glazachev).