หน้าเว็บ

วันอาทิตย์ที่ 8 ธันวาคม พ.ศ. 2556

LDAP Client + TLS on Linux (RHEL6.3)

LDAP Client + TLS on Linux (RHEL6.3)




                จากที่เราทำ LDAP Server กันไปเรียบร้อยแล้วคราวนี้เรามาทำ LDAP Client เพื่อ Connect ไปยัง LDAP Server ที่เราทำขึ้น

สามารถดูการทำ LDAP Server ได้ที่ http://champordy.blogspot.com/2013/12/ldap-servertls-on-rhel63.html


                LDAP Server : champordy.champordy.com
                Base DN : dc=champordy,dc=com
                CA Cert : ftp://champordy/champordy.com/pub/CHAMPORDY-CA-CERT (ผมได้แชร์ไฟล์ CA Cert ผ่าน FTP ไว้)



มีวิธีดังนี้

1.       Install package sytem-config-authentication

yum install system-config-authentication

2.       เปิดโปรแกรม system-config-authentication





กำหนดค่าดังนี้
User Account Database : LDAP
LDAP Search Base DN : dc=champordy,dc=com
LDAP Server : ldap://champordy.champordy.com/

ติ๊ก User TLS to encrypt connections แล้ว คลิก Download CA Certification





ติ๊ก User TLS to encrypt connections แล้ว คลิก Download CA Certificate
Certificate URL : ftp://champordy.champordy.com/pub/CHAMPORDY-CA-CERT






กด OK แล้ว Apply โปรแกรมจะ Start service sssd ดังภาพ






3.       Test
ทดสอบ su – ldapuser






เป็นอันเรียบร้อย สามารถ Connect เข้าใช้งาน LDAP Server ได้แล้ว

ผิดพลาดประการใด ขออภัยไว้ ณ ที่นี้ด้วยครับ























ไม่มีความคิดเห็น:

แสดงความคิดเห็น