LoginSignup
5
2

More than 5 years have passed since last update.

Fess LDAP連携してログイン

Last updated at Posted at 2016-12-26

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にログインすることができるようになります。

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2