Cisco Cisco Email Security Appliance X1050 Referencia técnica
170
Cisco AsyncOS 8.5.5 CLI Reference Guide
Chapter 3 The Commands: Reference Examples
LDAP
Example - Creating a New LDAP Server Profile
In the following example, the
ldapconfig
command is used to define an LDAP server for the appliance
to bind to, and queries for recipient acceptance (
ldapaccept
subcommand), routing (
ldaprouting
subcommand), masquerading (
masquerade
subcommand), end-user authentication for the Spam
Quarantine (
isqauth
subcommand), and alias consolidation for spam notifications (
isqalias
subcommand) are configured.
First, the nickname of “PublicLDAP” is given for the
mldapserver.example.com
LDAP server. Queries
are directed to port 3268 (the default). The search base of
example.com
is defined (
dc=example,dc=com
),
and queries for recipient acceptance, mail re-routing, and masquerading are defined. The queries in this
example are similar to an OpenLDAP directory configuration which uses the inetLocalMailRecipient
auxiliary object class defined in the expired Internet Draft draft-lachman-laser-ldap-mail-routing-xx.txt,
also sometimes known as “the Laser spec.” (A version of this draft is included with the OpenLDAP
source distribution.) Note that in this example, the alternate mailhost to use for queried recipients in the
mail re-routing query is
example are similar to an OpenLDAP directory configuration which uses the inetLocalMailRecipient
auxiliary object class defined in the expired Internet Draft draft-lachman-laser-ldap-mail-routing-xx.txt,
also sometimes known as “the Laser spec.” (A version of this draft is included with the OpenLDAP
source distribution.) Note that in this example, the alternate mailhost to use for queried recipients in the
mail re-routing query is
mailForwardingAddress
. Remember that query names are case-sensitive and
must match exactly in order to return the proper results.
Table 3-70
ldapconfig - New Server Profile
mail3.example.com> ldapconfig
No LDAP server configurations.
Choose the operation you want to perform:
- NEW - Create a new server configuration.
- SETUP - Configure LDAP options.
[]> new
Please create a name for this server configuration (Ex: "PublicLDAP"):
[]> PublicLDAP
Please enter the hostname:
[]> myldapserver.example.com
Use SSL to connect to the LDAP server? [N]> n
Select the authentication method to use for this server configuration:
1. Anonymous