mod_auth_ldap/README.markdown
changeset 2060 e16593e7d482
parent 2059 2c6d84fb82d9
child 2880 ea6b5321db50
equal deleted inserted replaced
2059:2c6d84fb82d9 2060:e16593e7d482
    38   ldap\_password   Password for rootdn                                                                                                    `""`
    38   ldap\_password   Password for rootdn                                                                                                    `""`
    39   ldap\_filter     Search filter, with `$user` and `$host` substituded for user- and hostname                                             `"(uid=$user)"`
    39   ldap\_filter     Search filter, with `$user` and `$host` substituded for user- and hostname                                             `"(uid=$user)"`
    40   ldap\_scope      Search scope. other values: "base" and "onelevel"                                                                      `"subtree"`
    40   ldap\_scope      Search scope. other values: "base" and "onelevel"                                                                      `"subtree"`
    41   ldap\_tls        Enable TLS (StartTLS) to connect to LDAP (can be true or false). The non-standard 'LDAPS' protocol is not supported.   `false`
    41   ldap\_tls        Enable TLS (StartTLS) to connect to LDAP (can be true or false). The non-standard 'LDAPS' protocol is not supported.   `false`
    42   ldap\_mode       How passwords are validated.                                                                                           `"bind"`
    42   ldap\_mode       How passwords are validated.                                                                                           `"bind"`
       
    43   ldap\_admins     Search filter to match admins, works like ldap\_scope
    43 
    44 
    44 **Note:** lua-ldap reads from `/etc/ldap/ldap.conf` and other files like
    45 **Note:** lua-ldap reads from `/etc/ldap/ldap.conf` and other files like
    45 `~prosody/.ldaprc` if they exist. Users wanting to use a particular TLS
    46 `~prosody/.ldaprc` if they exist. Users wanting to use a particular TLS
    46 root certificate can specify it in the normal way using TLS\_CACERT in
    47 root certificate can specify it in the normal way using TLS\_CACERT in
    47 the OpenLDAP config file.
    48 the OpenLDAP config file.