28 lines
664 B
Plaintext
28 lines
664 B
Plaintext
#
|
|
# Proftpd sample configuration for LDAP authentication.
|
|
#
|
|
# (This is not to be used if you prefer a PAM-based SQL authentication)
|
|
#
|
|
|
|
<IfModule mod_ldap.c>
|
|
#
|
|
# This is used for ordinary LDAP connections, with or without TLS
|
|
#
|
|
#LDAPServer ldap://ldap.example.com
|
|
#LDAPDNInfo "cn=admin,dc=example,dc=com" "admin_password"
|
|
#LDAPDoAuth on "dc=users,dc=example,dc=com"
|
|
#
|
|
# To be set on only for LDAP/TLS on ordinary port, for LDAP+SSL see below
|
|
#LDAPUseTLS on
|
|
#
|
|
|
|
#
|
|
# This is used for encrypted LDAPS connections
|
|
#
|
|
#LDAPServer ldaps://ldap.example.com
|
|
#LDAPDNInfo "cn=admin,dc=example,dc=com" "admin_password"
|
|
#LDAPDoAuth on "dc=users,dc=example,dc=com"
|
|
#
|
|
</IfModule>
|
|
|