Cisco Cisco Email Security Appliance C190 Leaflet

Page of 322
 
3-119
AsyncOS 9.6 for Cisco Email Security Appliances CLI 참조 가이드
 
     명령참조 예제
  LDAP
 -  LDAP 서버 프로필 생성
다음 예에서는 
ldapconfig
 명령을 사용하여 어플라이언스에서 바인딩할 수 있는 LDAP 서버를 정
의합니다. 그리고 수신자 수락(
ldapaccept
 하위 명령), 라우팅(
ldaprouting
 하위 명령), 
masquerading(
masquerade
 하위 명령), 스팸 격리를 위한 엔드유저 인증(
isqauth
 subcommand), 스팸 
알림을 위한 별칭 통합(
isqalias
 하위 명령)을 위한 쿼리를 구성합니다. 
먼저 
mldapserver.example.com
 LDAP 서버에 "PublicLDAP" 라는 별칭이 지정됩니다. 쿼리는 포트 
3268(기본)로 지정됩니다. 검색 기준으로 
example.com
이 정의되고(
dc=example,dc=com
) 수신자 수
락, 메일 리라우팅, 가장을 위한 쿼리가 정의됩니다. 이 예의 쿼리는 만료된 Internet Draft 
draft-lachman-laser-ldap-mail-routing-xx.txt("Laser spec" 이라고도 함)에 정의된 
inetLocalMailRecipient 보조 개체 클래스를 사용하는 OpenLDAP 디렉터리 컨피그레이션과 비슷합
니다. 이 초안의 버전 하나가 OpenLDAP 소스 배포판과 함께 제공됩니다. 이 예에서는 메일 리라우
팅 쿼리에서 쿼리된 수신자에 대해 사용할 대체 메일 호스트가 
mailForwardingAddress
입니다. 쿼
리 이름은 대/소문자를 구분하며 정확히 매치해야 알맞은 결과가 반환됩니다. 
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
2. Password based
[1]> 2
Please enter the bind username:
[cn=Anonymous]>
Please enter the bind password:
[]>
Connect to LDAP server to validate setting? [Y]
Connecting to the LDAP server, please wait...
Select the server type to use for this server configuration:
1. Active Directory
2. OpenLDAP
3. Unknown or Other
[3]> 1
Please enter the port number:
[3268]> 3268
Please enter the base:
[dc=example,dc=com]> dc=example,dc=com
Name: PublicLDAP
Hostname: myldapserver.example.com Port 3268
Server Type: Active Directory