#50147 Ticket 50138 - db2bak.pl -P LDAPS does not work when nsslapd-securePort is missing
Closed by spichugi. Opened by mhonek.
mhonek/389-ds-base dsutil-getinfo-default-secureport  into  master

Download 50147.patch

Bug Description:
When nsslapd-securePort is not set in dse.ldif, DSUtil (in case of LDAPS)
interpolates ldapmodify (and other) call to a URI ending only with a colon
because obtained securePort is just an empty string. The very same turns out to
happen for the nsslapd-port.

Fix Description:
Hardcode the default ports, which is a short variant of omitting the
colon and port, and which would be chosen by the OpenLDAP utils any way.

https://pagure.io/389-ds-base/issue/50138

Author: mhonek

Review by: ???

Well if a port is not provided the default should be assumed, so this makes sense to me. ACK

rebased onto 55045daba4065b7a04fadf76e3ec7f6878d9027a

Pull-Request has been merged by mhonek

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 pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3206

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata