LDAP
slapd.confの記述ではまってます
sambaでLDAPを使ったPDCを建てようとしてるのですが、
Vine4.0 に付属するOpenLDAP 2.3.27の slapd.confに次のアクセス制限を入れて
OpenLDAPを起動させようとするとエラーになってしまい起動しない...。
...access to attribute=userPassword
by dn="cn=root,dc=test,dc=local" write
by anonymous auth
by self write
by * none# samba
access to attribute=sambaLMPassword,sambaNTPassword
by dn="cn=root,dc=test,dc=local" write
by self
by * noneaccess to *
by dn="cn=root,dc=test,dc=local" write
by self write
by * read省略
slaptestコマンドを実行すると、
/etc/openldap/slapd.conf: line 77: expectinggot "attribute" 省略
slaptest: bad configuration file!
設定ファイルが間違っとる!と怒られる。書き方間違ってるんだろうけど...。
うーん。
解決。すぐ、わかりました。
attribute ⇒ attrs に変更されたらしい。