-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
basic_ldap_auth: Return BH on internal errors; polished messages (#347)
Basic LDAP auth helper now returns BH instead of ERR in case of errors other than LDAP_SECURITY_ERROR, per helper guidelines. Motivation: I have a wrapper around Basic LDAP auth helper. If an LDAP server is down, then the helper returns BH, and the wrapper uses a fallback authentication source. Also converted printf() to SEND_*() macros and reduced message verbosity.
- Loading branch information
Showing
1 changed file
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters