LDAPDoGIDLookups [ on
off
] [ "gid-base-dn"
] [ "cn-filter-template"
] [ "gid-number-filter-template"
] [ "member-uid-filter-template"
]
Default
LDAPDoGIDLookups off
Context
server config, <VirtualHost>, <Global>
Module
mod_ldap
Compatibility
mod_ldap v2.0 and later
This configuration directive activates LDAP GID-to-name lookups in directory listings. The second argument to this directive is the LDAP base DN to use for GID-to-name lookups. The third through fifth arguments are templates to be used for the search filter; %v will be replaced with the GID that is being looked up.
By default, the search filter templates look like this:
cn_filter: "(cn=%v)(objectclass=posixGroup))", gidnumber_filter: "(gidNumber=%v)(objectclass=posixGroup))", memberuid_filter: "(memberUid=%v)(objectclass=posixGroup))".
The attribute names used in the default search filters are taken from the LDAPAttr directive.
Filter templates are only supported in mod_ldap v2.8.3 and later.