[389-users] Re: Permission of log files

2024-04-15 Thread Rob Murray
Julian

The ldif below will do the trick,  replace the add: with replac;e if the 
attributes already exist.

Rob


dn: cn=config
changetype: modify
add: nsslapd-accesslog-mode
nsslapd-accesslog-mode: 644
-
add: nsslapd-errorlog-mode
nsslapd-errorlog-mode: 644



-Original Message-
From: Julian Kippels  
Sent: Monday, April 15, 2024 4:51 AM
To: General discussion list for the 389 Directory server project. 
<389-users@lists.fedoraproject.org>
Subject: [389-users] Permission of log files

✉External message: Use caution.


Hi,

I am looking for a way to configure the default permission of the log files in 
/var/log/dirsrv//* All the files there belong to dirsrv:dirsrv with 
the permission of 0600.
I would like to have the default permission to be 0644 so that my external 
log-monitoring can access the files.

Julian
--
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@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, report it: 
https://pagure.io/fedora-infrastructure/new_issue


[389-users] Re: how to export/import a single ldap user

2022-01-28 Thread Rob Murray
Isabella

Just do an ldapsearch  send the output to a file,  Edit the file and insert the 
line below after the dn: line in the ldif
changetype: add

run ldapmodify against the server or on the server where the entry is to be 
added.

man ldapadd

Rob.


From: Ghiurea, Isabella 
Sent: January 28, 2022 12:19 PM
To: General discussion list for the 389 Directory server project. 
<389-users@lists.fedoraproject.org>
Subject: [389-users] how to export/import a single ldap user

✉External message: Use caution.
Hi
I need to copy one user ldap from one server to another server, the users must 
be exported with all attributes entries .I checked  db2ldif but I cannot seem 
to find an option for a single user, please suggest how to export and import a 
single user in a DS.
Thank you
Isabella
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@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