LDAPDoQuotaLookups

Name

LDAPDoQuotaLookups -- Enable LDAP quota limit support

Synopsis

LDAPDoQuotaLookups [ on off ] [ "base-dn" ] [ "quota-filter-template" ] [ "default-quota" ]

Default

LDAPDoQuotaLookups off

Context

server config, <VirtualHost>, <Global>

Module

mod_ldap

Compatibility

mod_ldap v2.8.12 and later

Description

This configuration directive activates LDAP quota lookups. The second argument to this directive is the LDAP base DN to use for quota limit search. The third argument is a template to be used for the search filter; %v will be replaced with the username that is being authenticated. By default, the search filter template "(&(LDAPAttr_uid=%v)(objectclass=posixAccount))" is used. The uid for the the search filter is taken from the LDAPAttr directive Search filter templates are only supported in mod_ldap v2.7 and later.

If specified, the default-quota argument specifies the quota limits to use if a user does not have a ftpQuota attribute. This argument is formatted the same way as the ftpQuota LDAP attribute.

See also

LDAPAttr

Examples