Fess 10.3 (Mac OS)
CentOS7 (VirtualBox)
CentOS7のLDAPユーザーでMacのFessにログインしてみます。
LDAPの設定
・CentOS
[サーバーマネージャー]
LDAPアクセス用のユーザーを設定
| ユーザー |
|---|
| systemadmin |
一般ユーザーにuser1とuser2を設定しました。
| ユーザー | グループ |
|---|---|
| user1 | Group1 |
| user2 | Group2 |
・Mac
[ターミナル]
ldapsearchコマンドの結果が返ってくることを確認します。
$ ldapsearch -x -W -D "cn=systemadmin,dc=example,dc=local" -h 192.168.56.101 -b
"dc=example,dc=local" "cn=systemadmin"
Fessの設定
管理>システム>全般> LDAP
| 項目 | 設定値 |
|---|---|
| LDAP URL | ldap://[LDAPサーバーのURL or IPアドレス]:ポート番号 |
| Base DN | |
| Bind DN | cn=systemadmin,dc=example,dc=local |
| パスワード | LDAPアクセス用ユーザーのパスワード |
| User DN | uid=%s,ou=people,dc=example,dc=local |
| アカウントフィルタ | uid=%s |
| memberOf属性 | isMemberOf |
更新ボタンをクリック
LDAPのユーザー(user1,user2)でFessにログインすることができるようになります。