Monday, January 3, 2022

[389-users] Re: LDIF imports

Ok. Same file in var/tmp doesn't work. Copy it to var lib dirsrv and it does work. Selinux is inactive on this system. Even set to 777 I get the "no such file" error. Not a show-stopper. I can work with the default location.


On 3 Jan 2022, at 19:03, Marc Sauton <msauton@redhat.com> wrote:


**** The e-mail below is from an external source. Please do not open attachments or click links from an unknown or suspicious origin. ****


The path to the LDIF file is not hardcoded, it is usually a file and/or directory permission and/or SELinux label problem to allow the uid running the LDAP service to read that file.
It should be the same as in the default LDIF directory provided as an example.
The errors log file should have a more precise indication.
dsctl some-instance ldif2db userroot some-path/some-file.ldif
Thanks,
M.

On Thu, Dec 30, 2021 at 11:58 AM Joe Fletcher <jfletche@sscinc.com<mailto:jfletche@sscinc.com>> wrote:
Hi,

Is there something hard-coded into 389 v1.4 such that it can only import data from /var/lib/dirsrv/<instance>/ldif ?

I've been trying to initialize a new setup with an export we'd been using for 389 v1.3 but every time it failed with a "file not found" error until the ldif was copied to /var/lib/….etc.

Cheers


This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediately delete this email in its entirety and any attachments thereto.
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org<mailto:389-users@lists.fedoraproject.org>
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org<mailto:389-users-leave@lists.fedoraproject.org>
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/<https://urldefense.com/v3/__https://docs.fedoraproject.org/en-US/project/code-of-conduct/__;!!JE2nyJ8!mxxRuLpgvakStCTEDuDlcxKMFPfJFrezkeHg9ZrcROgToprYZO6aOKLB-PCgcwg$>
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines<https://urldefense.com/v3/__https://fedoraproject.org/wiki/Mailing_list_guidelines__;!!JE2nyJ8!mxxRuLpgvakStCTEDuDlcxKMFPfJFrezkeHg9ZrcROgToprYZO6aOKLBGlM4S50$>
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org<https://urldefense.com/v3/__https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org__;!!JE2nyJ8!mxxRuLpgvakStCTEDuDlcxKMFPfJFrezkeHg9ZrcROgToprYZO6aOKLBUGVhEPg$>
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure<https://urldefense.com/v3/__https://pagure.io/fedora-infrastructure__;!!JE2nyJ8!mxxRuLpgvakStCTEDuDlcxKMFPfJFrezkeHg9ZrcROgToprYZO6aOKLB4e_IXew$>
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://urldefense.com/v3/__https://docs.fedoraproject.org/en-US/project/code-of-conduct/__;!!JE2nyJ8!mxxRuLpgvakStCTEDuDlcxKMFPfJFrezkeHg9ZrcROgToprYZO6aOKLB-PCgcwg$
List Guidelines: https://urldefense.com/v3/__https://fedoraproject.org/wiki/Mailing_list_guidelines__;!!JE2nyJ8!mxxRuLpgvakStCTEDuDlcxKMFPfJFrezkeHg9ZrcROgToprYZO6aOKLBGlM4S50$
List Archives: https://urldefense.com/v3/__https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org__;!!JE2nyJ8!mxxRuLpgvakStCTEDuDlcxKMFPfJFrezkeHg9ZrcROgToprYZO6aOKLBUGVhEPg$
Do not reply to spam on the list, report it: https://urldefense.com/v3/__https://pagure.io/fedora-infrastructure__;!!JE2nyJ8!mxxRuLpgvakStCTEDuDlcxKMFPfJFrezkeHg9ZrcROgToprYZO6aOKLB4e_IXew$
This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediately delete this email in its entirety and any attachments thereto.
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

No comments:

Post a Comment