Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ticket 399 - slapi_ldap_bind() doesn't check bind results
Bug Description: There are two issues here. One, we were not calling ldap_parse_result() for SIMPLE binds. Two, we were overwriting the error code, with the function result code. Fix Description: Always call ldap_parse_result, and use a separate error code variable to preserve the actual result code from the bind operation. https://fedorahosted.org/389/ticket/399 Reviewed by: nhosoi(Thanks Noriko!)
- Loading branch information
1 parent
a97f705
commit f43ed1d
Showing
1 changed file
with
22 additions
and
15 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