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