Cisco Cisco Email Security Appliance C170 Referencia técnica
L D A P T E S T
C H A P T E R 3 : T H E C O M M A N D S : R E F E R E N C E E X A M P L E S
107
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
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.
passes the test, while the recipient address “bogus@example.com” fails.
Code Example 3-65
ldapflush
mail3.example.com> ldapflush
Are you sure you want to flush any cached LDAP results? [N]> y
Flushing cache
mail3.example.com>
Code Example 3-66
ldaptest
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