LoginSignup
1
1

More than 5 years have passed since last update.

phpldapadmin にuid でログインするための設定

Last updated at Posted at 2017-04-03

phpldapadmin にuid でログインするためにphpldapadmin/config.php を以下のように設定する。bind_passは仮。

  • fallback_dn をtrueにしないとrootDnで何もできなくなる。
  • デフォルトではパスワード入力してハッシュ方法を選んでも生テキストのまま保存されるようなので、sshaを選択しておく。
$servers->setValue('login','bind_id','cn=Manager,dc=example,dc=com');
$servers->setValue('login','bind_pass','xxxxxxxx');
$servers->setValue('login','attr','uid');
$servers->setValue('login','fallback_dn',true);
$servers->setValue('appearance','password_hash','ssha');

bind_id に rootDnを指定しているが、phpldapadmin専用のエントリーを作成して割り当てた方がよい。

1
1
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
1
1