mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
Each LDAP user search was creating two connections: one just to verify admin credentials worked, then another for the actual search. This doubled the load on LDAP servers. Consolidated into a single connection block with proper error handling for INVALID_CREDENTIALS. Affected methods: - _ldap_user_search(): Core search used by most LDAP operations - at_least_one_user_exists(): User existence checks 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Brady Pratt <bpratt@redhat.com> Co-authored-by: Claude <noreply@anthropic.com>