| 1 |
# |
| 2 |
# Proftpd sample configuration for LDAP authentication. |
| 3 |
# |
| 4 |
# (This is not to be used if you prefer a PAM-based LDAP authentication) |
| 5 |
# |
| 6 |
|
| 7 |
<IfModule mod_ldap.c> |
| 8 |
# |
| 9 |
# This is used for ordinary LDAP connections, with or without TLS |
| 10 |
# |
| 11 |
#LDAPServer ldap://ldap.example.com |
| 12 |
#LDAPBindDN "cn=admin,dc=example,dc=com" "admin_password" |
| 13 |
#LDAPUsers dc=users,dc=example,dc=com (uid=%u) (uidNumber=%u) |
| 14 |
# |
| 15 |
# To be set on only for LDAP/TLS on ordinary port, for LDAP+SSL see below |
| 16 |
#LDAPUseTLS on |
| 17 |
# |
| 18 |
|
| 19 |
# |
| 20 |
# This is used for encrypted LDAPS connections |
| 21 |
# |
| 22 |
#LDAPServer ldaps://ldap.example.com |
| 23 |
#LDAPBindDN "cn=admin,dc=example,dc=com" "admin_password" |
| 24 |
#LDAPUsers dc=users,dc=example,dc=com (uid=%u) (uidNumber=%u) |
| 25 |
# |
| 26 |
</IfModule> |
| 27 |
|