Hey saurabh,
More exact steps
_https://www.openldap.org/lists/openldap-technical/201411/msg00035.html_ //Check slapd is running and you can add/search entry. # service slapd status; # ldapadd -x -W -D "cn=Manager,dc=example,dc=com" -f /root/user4.ldif # ldapsearch -x cn=user4 -b dc=example,dc=com # slapcat -l /root/test.ldif // Slapcat is used to generate an LDAP Directory Interchange Format (LDIF) output based upon the contents of a slapd(8) database
//If above steps are working. # vim /etc/openldap/slapd.conf # database bdb database mdb # service slapd stop # service slapd restart # slapadd -l /root/test.ldif # ldapsearch -x cn=user4 -b dc=example,dc=com //Lets test searching exiting user # ldapadd -x -W -D "cn=Manager,dc=example,dc=com" -f /root/user5.ldif //Lets add a new us
Thanks
Amit
On 06/05/2018 12:26 AM, Frank Swasey wrote:
you would shutdown your ldap server. slapcat the bdb database out change your slapd.conf file to use MDB instead of BDB slapadd your database into mdb
done...
On Jun 2, 2018, at 17:22, Saurabh Lahoti saurabh.astronomy@gmail.com wrote:
Dear,
How could we upgrade our bdb to mdb using slapadd..?
Thanks & Kind Regards, Saurabh LAHOTI.