Cisco Cisco Email Security Appliance C190 Technical References

Page of 314
 
114
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  LDAP
Performing an upgrade will require a reboot of the system after the upgrade is applied.
 Do you wish to proceed with the upgrade? [Y]> Y
LDAP
This section contains the following CLI commands:
ldapconfig
Description
Configure LDAP servers
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format.
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 
mailForwardingAddress
. Remember that query names are case-sensitive and 
must match exactly in order to return the proper results. 
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.