RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1128397 - Bad ldapmodify usage
Summary: Bad ldapmodify usage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-Linux_Domain_Identity_Management_Guide
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Aneta Šteflová Petrová
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-10 02:39 UTC by Erinn Looney-Triggs
Modified: 2019-03-06 01:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-10 12:05:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Erinn Looney-Triggs 2014-08-10 02:39:38 UTC
Description of problem:
Section 23.3 Disabling anonymous binds

Example show -w secret for putting in the password on the command line, remainder of example acts as if -W was put in and prompts for password. As well it would probably be best to do this bind using tls so adding -ZZ to the command.

Comment 1 Erinn Looney-Triggs 2014-08-10 02:40:27 UTC
Same page also references using service to restart dirsrv, through this will work probably best to use systemctl.

Comment 2 Erinn Looney-Triggs 2014-08-10 02:44:53 UTC
Actually check that, restarting the service that way will not even work. So that needs to be fixed as well.

Comment 4 Martin Kosek 2014-08-11 14:06:10 UTC
Good catch. Tomas Capek is already busy with fixing issues like that in our IdM guide, I am moving this bug to his queue so that he does not forget.

Comment 6 Petr Spacek 2015-01-28 12:47:17 UTC
The correct command & output is indeed:

$ ldapmodify -x -D "cn=Directory Manager" -W -h server.example.com -p 389 -ZZ
Enter LDAP Password: 
dn: cn=config
changetype: modify
replace: nsslapd-allow-anonymous-access
nsslapd-allow-anonymous-access: rootdse

modifying entry "cn=config"

Comment 8 Namita Soman 2015-02-26 19:28:46 UTC
verified doc


Note You need to log in before you can comment on or make changes to this bug.