トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS   ログイン


up




例:

include /usr/local/etc/openldap/schema/core.schema

pidfile /usr/local/var/run/slapd.pid
argsfile /usr/local/var/run/slapd.args

allow bind_anon_cred
allow bind_anon_dn

access to attrs=userPassword
        by self write
        by dn="cn=Manager,dc=my-domain,dc=com" write
        by anonymous auth
        by * none
access to *
        by self =rwcsx
        by dn="cn=Manager,dc=my-domain,dc=com" =rwcsx
        by * read

database bdb
suffix "dc=my-domain,dc=com"
rootdn "cn=Manager,dc=my-domain,dc=com"
rootpw secret
directory /usr/local/var/openldap-data
index objectClass eq

例:プロバイダ設定

...
overlay syncprov
syncprov-sessionlog 100
...

例:コンシューマ設定

...
syncrepl rid=123
    type=refreshAndPersist
    interval=00:00:05:00
    provider=ldap://192.168.1.179:389/
    bindmethod=simple
    binddn="cn=Admin,dc=my-domain,dc=com"
    credentials=admin
    searchbase="dc=my-domain,dc=com"
    filter=(objectClass=*)
    scope=sub

コマンド一覧

access

allow

argsfile

database

directory

include

index

役割:インデックスをつける
書式:index <attrlist> <type>

overlay

pidfile

rootdn

rootpw

suffix

syncprov-sessionlog

syncrepl

役割:同期の方法
書式:設定できるパラメータ