27.11.2012 Views

IronPort - advanced configuration guide

IronPort - advanced configuration guide

IronPort - advanced configuration guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 3-16 SMTP Auth Support: LDAP Directory Store or SMTP Server<br />

3-32<br />

Cisco <strong>IronPort</strong> AsyncOS 7.6 for Email Advanced Configuration Guide<br />

Chapter 3 LDAP Queries<br />

Configured SMTP Authentication methods are then used to create SMTP Auth profiles via the<br />

smtpauthconfig command for use within HAT mail flow policies (see Enabling SMTP Authentication<br />

on a Listener, page 3-36).<br />

Configuring SMTP Authentication<br />

If you are going to authenticate with an LDAP server, select the SMTPAUTH query type on the Add or<br />

Edit LDAP Server Profile pages (or in the ldapconfig command) to create an SMTP Authentication<br />

query. For each LDAP server you configure, you can configure a SMTPAUTH query to be used as an<br />

SMTP Authentication profile.<br />

There are two kinds of SMTP authentication queries: LDAP bind and Password as attribute. When you<br />

use password as attribute, the Cisco <strong>IronPort</strong> appliance will fetch the password field in the LDAP<br />

directory. The password may be stored in plain text, encrypted, or hashed.When you use LDAP bind, the<br />

Cisco <strong>IronPort</strong> appliance attempts to log into the LDAP server using the credentials supplied by the<br />

client.<br />

Specifying a Password as Attribute<br />

The convention in OpenLDAP, based on RFC 2307, is that the type of coding is prefixed in curly braces<br />

to the encoded password (for example, “{SHA}5en6G6MezRroT3XKqkdPOmY/BfQ=”). In this<br />

example, the password portion is a base64 encoding of a plain text password after application of SHA.<br />

The Cisco <strong>IronPort</strong> appliance negotiates the SASL mechanism with the MUA before getting the<br />

password, and the appliance and the MUA decide on what method (LOGIN, PLAIN, MD5, SHA, SSHA,<br />

and CRYPT SASL mechanisms are supported). Then, the appliance queries the LDAP database to fetch<br />

a password. In LDAP, the password can have a prefix in braces.<br />

If there is no prefix, the appliance assumes that the password was stored in LDAP in plaintext.<br />

If there is a prefix, the appliance will fetch the hashed password, perform the hash on the username<br />

and/or password supplied by the MUA, and compare the hashed versions. The Cisco <strong>IronPort</strong><br />

appliance supports SHA1 and MD5 hash types based on the RFC 2307 convention of prepending the<br />

hash mechanism type to the hashed password in the password field.<br />

Some LDAP servers, like the OpenWave LDAP server, do not prefix the encrypted password with<br />

the encryption type; instead, they store the encryption type as a separate LDAP attribute. In these<br />

cases, you can specify a default SMTP AUTH encryption method the appliance will assume when<br />

comparing the password with the password obtained in the SMTP conversation.<br />

OL-25137-01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!