LoginSignup
2
4

More than 5 years have passed since last update.

OpenLDAP入門

Last updated at Posted at 2014-11-19

debianにて実施

パッケージインストール
apt-get install -y slapd
/etc/ldap/ldap.conf
- TLS_CACERT     /etc/ssl/certs/ca-certificates.crt
+#TLS_CACERT     /etc/ssl/certs/ca-certificates.crt
syntax check
slaptest -u -d 64 -f /etc/ldap/ldap.conf
管理者のパスワード設定
dpkg-reconfigure slapd
service slapd restart
dnを確認
slapcat | grep ^dn | grep admin

ここで表示されたcn=admin,dn=xxxxを以下にて用いる。

ldapにログイン

Apache LDAP Studioを使う。

スクリーンショット 2014-11-19 13.29.04.png

スクリーンショット 2014-11-19 13.29.32.png

追加やリネームがGUIで簡単にできる。

apacheとの連携

後日書く

digest_ldap_authを使う。

2
4
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
2
4