#49044 ldif2db does not run the actual import if option -v ( verbose ) is used.
Closed: wontfix Opened by nhosoi.

Description of problem:
I was trying to get additional information from the ldif2db command.
I have tried the option -v which is supposed to provide a verbose output:
# ldif2db -h
Usage: ldif2db [-Z serverID] -n backendname {-s includesuffix}* [{-x
excludesuffix}*] {-i ldiffile}*
...
        -v                - Verbose output
...
#
But when using this option the ldif2db command only prints some version
information and exits:
# ldif2db -n TekoSoft -i /var/tmp/TekoSoft.ldif -v
importing data ...
389 Project
389-Directory/1.3.5.10 B2016.257.1817
#
Version-Release number of selected component (if applicable):
# rpm -qa | grep 389-ds-base
389-ds-base-libs-1.3.5.10-11.el7.x86_64
389-ds-base-1.3.5.10-11.el7.x86_64
#
How reproducible:
 Always.
Steps to Reproduce:
 Run ldif2db with the option -v.
 It will print RHDS version and then exit:
# ldif2db -n TekoSoft -i /var/tmp/TekoSoft.ldif -v
importing data ...
389 Project
389-Directory/1.3.5.10 B2016.257.1817
#
Actual results:
 No import happens.
Expected results:
 Import of the LDIF file.

Metadata Update from @nhosoi:
- Issue set to the milestone: 1.3.6.0

Metadata Update from @mreynolds:
- Issue assigned to mreynolds

Problem here is that there is no verbose output, it was meant to be "display version". Usage/man pages need updates for these scripts

Metadata Update from @mreynolds:
- Issue close_status updated to: None

Metadata Update from @mreynolds:
- Custom field reviewstatus adjusted to review

Looks good.

I happened to found '-v' options are in the doc. E.g.,
9.4.7. fixup-memberof.pl (Regenerate memberOf Attributes)
Syntax
fixup-memberof.pl -D rootdn -w password | -w - | -j filename -b baseDN [ -f filter ] [ -Z server_identifier ] [ -P protocol ] [ -v ]
-v Verbose mode.

Also, I could not find cleanallruv utility in the onfiguration_Command_and_File_Reference doc (although the task is in :).

Metadata Update from @nhosoi:
- Custom field reviewstatus adjusted to ack (was: review)

Thanks Noriko, I'll file doc bugs!

6fa30ec..b2c6545 master -> master

Metadata Update from @mreynolds:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2103

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: fixed)

Metadata