Friday, January 28, 2022

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

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 <Isabella.Ghiurea@nrc-cnrc.gc.ca>
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

No comments:

Post a Comment