Migrasi LDAP dari database ldbm ke bdb

5 May

====================================
SERVER LAMA [LDAP database ldbm ]
====================================
1. jalankan slapcat
# slapcat -l /home/oracle/test01.txt

2. pindahkan ke server baru

====================================
SERVER BARU [LDAP database bdb ]
====================================
1. matikan Authentication LDAP SERVER
# authconfig –disableldap –enableshadow –disableldapauth –ldapserver=127.0.0.1 –ldapbasedn=dc=ubslinux,dc=com –update

2. matikan service ldap
# service ldap stop

3. lakukan konfigurasi
# rm /var/lib/ldap/* -f
# cp /etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
# slapadd -l test01.txt -f /etc/openldap/slapd.conf
# chown ldap.ldap /var/lib/ldap/*

4. hidupkan service ldap
# service ldap start

5. aktifkan Authentication LDAP SERVER
# authconfig –enableldap –enableshadow –enableldapauth –ldapserver=127.0.0.1 –ldapbasedn=dc=ubslinux,dc=com –update

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: