filter-suffix
This command specifies the suffix of the LDAP filter expression.
Syntax
filter-prefix suffix
Parameters
- suffix
- Specifies the suffix of the filter expression.
Guidelines
The filter-suffix command specifies the string suffix to construct an LDAP filter expression, as defined in RFC 4515. This string is added after the user name to construct the LDAP filter to search for the DN of the user.
If the prefix is (&(mail=
and the user name is
bob@example.com
and the suffix is )(c=US))
, the LDAP search filter
is (&(mail=bob@example.com)(c=US))
.
You must use the filter-prefix to add the prefix string to the LDAP filter expression to complete the search filter.
Example
Create the LDAP filter expression
(&(mail=bob@example.com)(c=US))
based on
bob@example.com
as the user
name.# filter-prefix "(&(mail="
# filter-suffix ")(c=US))"