Bug 2026613
| Summary: | Windows PassSync should provide better diagnostic logging for SSL/TLS connections. | ||
|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | Anton Bobrov <abobrov> |
| Component: | winsync | Assignee: | LDAP Maintainers <idm-ds-dev-bugs> |
| Status: | CLOSED WONTFIX | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 12.2 | CC: | idm-ds-dev-bugs, mreynolds, vashirov |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | dirsrv-12.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-28 08:57:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: Currently PassSync is not capable of providing useful diagnostic information to troubleshoot SSL/TLS connections related issues. For example when SSL/TLS session fails all you get is something like this: Ldap bind error in Connect 91: Can't connect to the LDAP server Which is insufficient to troubleshoot SSL/TLS related session issues since PassSync fails to propagate and communicate any underlying NSS/NSPR errors. This makes troubleshooting on Windows either a guessing game or makes it quite complicated and time consuming setup to actually peek at the underlying error and its root cause. Additional info: What I propose to implement in PassSync is what we have done in Mozilla LDAP client tools long time ago which goes something like this: if(lastLdapError != LDAP_SUCCESS) { ... int sslerr = PORT_GetError(); fprintf( stderr, "\tTLS/SSL error %d (%s)\n", sslerr, ldapssl_err2string( sslerr )); ... } There are just a few places in PassSync code where adding this additional diagnostic would help troubleshooting these types of issues tremendously.