问题原文
原帖链接 · Vishal · CC BY-SA 4.0
I need to export and import users between Two different versions of OpenLDAP, Old openldap version is 2.42 and new one has version 2.44. Both the openldap servers are setup on Ubuntu.
In this answer ldap export and import they have used slapcat/slapadd utilities, Will the same be applicable in my case as well? Because they have exported schema files as well.
I can export users using ldapsearch and add them on new openldap using ldapadd. But when i export users using ldapsearch the userPassword attribute is in base64 encoded format how do i deal this that?
I just need to export users from older version of my openldap server please give suggestions.
已采纳解答
原帖链接 · HBruijn · CC BY-SA 4.0
You can restrict what you export with slapcat by using the -H flag. You are not required to export everything.
Alternatively export your users with ldapsearch with a similar filter.
LDAP: backup with slapcat vs ldapsearch
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
