Posts

Showing posts with the label LDAP

เล่นกับ phpbb3 #02 LDAP Authentication

Image
หลังจากติดตั้งเสร็จแล้ว เพื่อความสะดวกในการจัดการกับ User ก็จัดการให้ใช้ LDAP ในการติดต่อไป Authenticate กับ Active Directory ซึ่งเป็น Windows 2003 โดยเข้าไปในส่วนของ Administration Control Panel ในส่วนของ Authentication แล้วก็ตั้งค่า ดังรูป * Select an authentication method: เลือก LDAP * LDAP server name: ระบุ LDAP Server เช่น server ชื่อ ldap โดเมนชื่อ sci.com ก็ระบุเป็น ldap.sci.com * LDAP server port: ค่า defalut คือ 38 9 ซึ่ง Active Directory ก็ใช้ port นี้อยู่แล้ว * LDAP base dn: ถ้า โดเมนชื่อ sci.com ก็ใส่เป็น DC=SCI,DC=COM * LDAP uid:สำหรับ Active Directory ใส่เป็น sAMAccountName * LDAP user dn:ป้อน User สำหรับให้ phpbb ใช้ในการ login เพื่อตรวจสอบการ login ของ User อื่น ๆ ในรูปแบบของ ldap เช่น จะใช้ User ชื่อ Admin ก็ระบุเป็น CN=Admin,CN=Users,DC=SCI,DC=COM แถมท้ายด้วยโปรแกรมสำหรับใช้ติดต่อกับ Active Directory เพื่อเรียกดูข้อมูลแบบ LDAP ครับ 1.อันแรกก็ LDAP Admin ครับ Open Source Ldap Admin is free Win32 administration tool for LDAP directory management. This application...