OpenLDAP passsync overlay
=========================

# ビルド方法
    $ autoreconf
    $ ./configure --with-openldap=<OPENLDAP_BUILD_DIR>
    $ make
    $ make install

# slapd.conf の設定例

    moduleload passsync.la
    overlay passsync

    passsync-uri ldaps://ad.example.com/
    passsync-binddn "cn=Administrator,cn=Users,dc=ad,dc=example,dc=com"
    passsync-bindpasswd "adminpassword"
    passsync-searchbase "CN=Users,DC=ad,DC=example,DC=com

(注意)上記の設定は必ずdatabaseディレクティブの中に記述して下さい。

# 証明書の配置
passsyncはADのサーバー証明書を検証する必要があります。
これはLDAPクライアントとしての動作なので /etc/ldap.conf に
TLS_CACERTDIR もしくは TLS_CACERT の設定を行います。
単純な動作検証では

    TLS_REQCERT never

でOK

# ログレベル
ログレベルに 0x10000 を追加するとpasssyncの問題解析に役立つログが出力さ
れます。例)

    loglevel stats 0x10000
