smbd[15529]: nss_ldap: reconnecting to LDAP server (sleeping ……)

12 Aug

smbd[15529]: nss_ldap: reconnecting to LDAP server (sleeping ……)

error nss_ldap: reconnecting to LDAP server

mengatasinya cukup “mbulet” sampai server 2 hari “sakit parah” , karena jika dicek dengan menggunakan id nama_user kadang benar kadang salah jawabannya.
ternyata oh ternyata solusinya cukup “sadis” dengan cara :

A. BACKUP DULU DALAM FORMAT LDIF
[root@linux ~]# service ldap stop
[root@linux ~]# slapcat -l ldap_asli.ldif

B. RESTORE untuk recereate database baru
[root@linux ~]# rm /var/lib/ldap/* -f
[root@linux ~]# cp /etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
[root@linux ~]# slapadd -l ldap_asli.ldif -f /etc/openldap/slapd.conf
[root@linux ~]# chown ldap.ldap /var/lib/ldap/*

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: