If you try to import an LDIF from a directory other than /var/lib/dirsrv/slapd-instance_name/ldif/, the import fails with "No such file or directory".
389-ds-base-1.4.3.10-1.module+el8dsrv+7006+9b1e3ef3.x86_64
dsconf -D "cn=Directory Manager" ldap://server.example.com backend import userRoot /tmp/example.ldif Enter password for cn=Directory Manager on ldap://server.example.com: Error: Import task failed ------------------------- Beginning import job... Index buffering enabled with bucket size 17 Could not open LDIF file "/tmp/example.ldif", errno 2 (No such file or directory) Thread monitoring returned: -23 Aborting all Import threads... Import threads aborted. Closing files... Import failed.
Import should succeed.
The same works on RHEL 8.2 (389-ds-base-1.4.2.12-2.module+el8dsrv+6428+6e54c518.x86_64).
Duplicate of https://pagure.io/389-ds-base/issue/50996
Metadata Update from @mreynolds: - Custom field origin adjusted to None - Custom field reviewstatus adjusted to None - Issue close_status updated to: duplicate - 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/4280
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: duplicate)
Login to comment on this ticket.