Bug 1633488
| Summary: | fixup-memberof.pl -D cn=<> -w - -b <> -P LDAP fails with ldap_start_tls error | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | amitkuma |
| Component: | 389-ds-base | Assignee: | Matus Honek <mhonek> |
| Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.5 | CC: | aadhikar, cpelland, lkrispen, mhonek, mreynolds, nkinder, pasik, rmeggins, spichugi, tbordaz, vashirov |
| Target Milestone: | rc | ||
| Target Release: | 7.7 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.9.1-1.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Incorrect internal setting of the protocol requested on the command line.
Consequence: The requested protocol is not respected.
Fix: Change the code so that the requested protocol is respected.
Result: fixup-memberof.pl works as expected with -P LDAP argument.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-06 12:58:51 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
amitkuma
2018-09-27 06:58:02 UTC
Customer also provided an solution:
I think I have solved this issue editing the script "/usr/sbin/fixup-memberof.pl". In line 80 I have changed this:
$info[9] = $protocol;
By this:
$info{protocol} = $protocol;
Now the execution works fine as it uses LDAP instead of stratTLS.
Dear Matus Honek, Is there any update on bugzilla. Amit Build Tested: 389-ds-base-1.3.9.1-5.el7.x86_64 Steps: 1) Create a user. 2) Created a group. 3) Added the user to the group. 4) Enabled memberof plugin 5) Restarted the server. (Only works after restart) 6) run fixup-memberof.pl -Z slapd-aadhikar -D "cn=Directory Manager" -w password -b "dc=example,dc=com" -P LDAP Successfully added task entry "cn=memberOf_fixup_2019_5_2_8_31_6, cn=memberOf task, cn=tasks, cn=config" fixup-memberof.pl does not fails with startTLS when "-P LDAP" is specified. Hence, marking it as VERIFIED. 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. https://access.redhat.com/errata/RHBA-2019:2152 |