Software /
code /
prosody-modules
Comparison
mod_auth_ldap/README.markdown @ 2056:e16593e7d482
mod_auth_ldap: Add support for having admin status indicated in LDAP
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 01 Mar 2016 10:40:25 +0100 |
parent | 2055:2c6d84fb82d9 |
child | 2876:ea6b5321db50 |
comparison
equal
deleted
inserted
replaced
2055:2c6d84fb82d9 | 2056: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. |