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@192.168.130.2:/etc/openldap/cacerts/* /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://192.168.130.2
BASE dc=veritrans,dc=com

or can do using setuptools like picture bellow

setup1

setup2

setup3

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

thanks

Advertisements

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 )

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 )

w

Connecting to %s

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