setup openldap-client CentOS-6.7

this article will explain how to configure ldap-client, in the previous article we already done to setup openldap server

here’s the basic configuration

login to your PC client as user root

[root@ldapclient ~]#

install openldap-clients packages if we have not yet

[root@ldapclient ~]# yum install openldap openldap-clients -y

after that, we need to have the CERT on the client directory /etc/openldap/cacerts. just scp all items in /etc/openldap/cacerts on ldap-server

[root@ldapclient ~]# scp root@* /etc/openldap/cacerts

next step, open file /etc/openldap/openldap.conf and edit like bellow

[root@ldapclient ~] vi /etc/openldap/ldap.conf

TLS_CACERTDIR /etc/openldap/cacerts
URI ldap://
BASE dc=veritrans,dc=com

or can do using setuptools like picture bellow




finish, logout as user root and login as user you have on ldap server



Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.