Friday, January 28, 2022

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



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





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


External message: Use caution.


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


No comments:

Post a Comment