Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionSankar Ramalingam
2016-12-02 14:14:39 UTC
Description of problem: Running ldif2db.pl --help shows -n instance, instead of -n backend database name.
Version-Release number of selected component (if applicable): 389-ds-base-1.2.11.15-85
How reproducible: Consistently with RHEL-6.9
Steps to Reproduce:
1. Install 389-ds-base-1.2.11.15-85 build on RHEL-6.9
2. Create an instance and run ldif2db.pl script to check usage, with --help
3. ldif2db.pl displays wrong usage for -n option.
Actual results: It shows Instance name to be supplied for -n option. Where as it is expected to be "backend database name".
Expected results: -n backend - Backend database name. Example: userRoot
Additional info: This is working with 389-ds-base-1.3.5.10 builds on RHEL7.3.
Comment 1Sankar Ramalingam
2016-12-02 14:20:03 UTC
Actual output from the command line...
[root@auto-hv-02-guest09 389ds-replica]# /usr/lib64/dirsrv/slapd-Inst1/ldif2db.pl -D "cn=Directory Manager" -w Secret123 -n userRoot -s "dc=example,dc=com" -i /export/100k.ldif
adding new entry "cn=import_2016_12_2_9_4_6, cn=import, cn=tasks, cn=config"
[root@auto-hv-02-guest09 389ds-replica]# /usr/lib64/dirsrv/slapd-Inst1/ldif2db.pl -D "cn=Directory Manager" -w Secret123 -n Inst1 -s "dc=example,dc=com" -i /export/100k.ldif
adding new entry "cn=import_2016_12_2_9_4_19, cn=import, cn=tasks, cn=config"
ldap_add: No such object (32)
From the error logs...
[02/Dec/2016:09:04:18 -0500] - can't import to nonexistent backend Inst1
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://rhn.redhat.com/errata/RHBA-2017-0667.html