Cisco Cisco Email Security Appliance C160 Références techniques

Page de 324
 
3-124
CLI Reference Guide for AsyncOS 9.6 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  LDAP
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command does not support a batch format
Example
mail3.example.com> ldapflush
Are you sure you want to flush any cached LDAP results? [N]> y
Flushing cache
mail3.example.com>
ldaptest
Description
Perform a single LDAP query test
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command does not support a batch format
Example
In this example, the 
ldaptest
 command is used to test the only recipient acceptance query for the 
configured LDAP server configuration. The recipient address “admin@example.com” passes the test, 
while the recipient address “bogus@example.com” fails. 
mail3.example.com> ldaptest
Select which LDAP query to test:
1. PublicLDAP.ldapaccep
[1]> 1
Address to use in query:
[]> admin@example.com
LDAP query test results:
                Query: PublicLDAP.ldapaccept
             Argument: admin@example.com
               Action: pass
LDAP query test finished.
mail3.example.com> ldaptest
Select which LDAP query to test:
1. PublicLDAP.ldapaccep
[1]> 1