Bug 836386
| Summary: | slapi_ldap_bind() doesn't check bind results | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Nathan Kinder <nkinder> | |
| Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> | |
| Status: | CLOSED ERRATA | QA Contact: | Sankar Ramalingam <sramling> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 6.4 | CC: | jgalipea, mreynolds | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 389-ds-base-1.2.11.12-1.el6 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Internally, we only checked the bind result, if LDAP controls were passed in for internal connections
Consequence: We would report success regardless if there was an error.
Fix: Always check the result, regardless if control were passed in or not.
Result: Correct bind result
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 856089 (view as bug list) | Environment: | ||
| Last Closed: | 2013-02-21 08:19:58 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 856089 | |||
|
Description
Nathan Kinder
2012-06-28 21:44:49 UTC
*** Bug 836385 has been marked as a duplicate of this bug. *** Please add steps to reproduce this bug Created testcase (bug836386()) in mmrepl/accept/ as replication uses slapi_ldap_bind. verified :: 200|0 24 17:32:28|TP Start 520|0 24 16496 1 1| 520|0 24 16496 1 2|bug836386 - make sure slapi_ldap_bind complains when an invalid password is used 520|0 24 16496 1 3|bug836386 Restore agreement for S2->S1: SIMPLE to SSL 520|0 24 16496 1 4|bug836386 Restored 520|0 24 16496 1 5|slapi_ldap_bind correctly indentified the failure, nsDS5ReplicaCredentials is correctly restored to secret12, Return code-0 520|0 24 16496 1 6|TestCase [bug836386] result-> [PASS] 220|0 24 0 17:32:41|PASS version :: 389-ds-base-1.2.11.15-8.el6 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0503.html |