#1161·tinyauth

[BUG] LDAP connection not rebound after failed login attempt

Author: steveiliop56Created Sep 26, 2026Updated Sep 26, 2026
Labelsbug

Thank you @bsaurusrex for the report.

A failed LDAP user bind leaves the shared connection unauthenticated because the service-account bind is only restored after a successful user bind.

On LDAP servers that deny anonymous searches, this causes subsequent LDAP authentication and session checks to fail until the connection is recreated.

The service account should always be rebound after a user bind attempt, including failed ones.