WordPress的LDAP外掛 2021 年 4 月 16 日 (2021 年 4 月 19 日) wang (1)wpDirAuth外掛網頁:http://wordpress.org/plugins/wpdirauth/下載回來解壓縮 放置 wp-contents/plugins 目錄下,啟用外掛設定Enable Directory Authentication? 選 是才可以用LDAP帳號登入Require SSL Login? 選否(TLS和一般) 選 是(SSL)Enable SSL Connectivity? 選 TLS (SSL 和 none 一般 )Directory Servers (Domain Controllers) 填 server_urlAccount Filter 填 uidAccount Suffix 可以不設Base DN 填 ou=people,dc=example,dc=orgBind DN 填 cn=Manga,ou=systemaccount,dc=example,dc=orgBind Password 填 密碼Confirm Password 再確認一次密碼其他的選項 保留預設值即可這個選項是將 Ldap 的帳號寫入 wordpress 的資料庫 (2)authLDAP 外掛網頁:https://tw.wordpress.org/plugins/authldap/ 設定 Enable Authentication via LDAP?: Yes – check this checkbox. LDAP URI: ldap://localhost/dc=eastkingdom,dc=org Name-Attribute: givenName(uid) Second Name Attribute: sn Group Attribute: mail Group Filter: (&(objectClass=groupOfNames)(member=%dn%))