13.07.2015 Views

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

Naming and Directory Services (DNS, NIS, and LDAP)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

■<strong>and</strong> that it is easy to set up.sasl/digest-MD5The client’s password is protected during authentication, but the session is notencrypted. Some directory servers, including Sun Java System <strong>Directory</strong> Server,also support the sasl/digest-MD5 authentication method. The primaryadvantage of digest-MD5 is that the password does not go over the wire in theclear during authentication <strong>and</strong> therefore is more secure than the simpleauthentication method. See RFC 2831 for information on digest-MD5.digest-MD5 is considered an improvement over cram-MD5 for its improvedsecurity.When using sasl/digest-MD5, the authentication is secure, but the session is notprotected.Note – If you are using Sun Java System <strong>Directory</strong> Server, the password must bestored in the clear in the directory.■■■■sasl/cram-MD5In this case, the <strong>LDAP</strong> session is not encrypted, but the client’s password isprotected during authentication, as authentication is performed by usingsasl/cram-MD5.See RFC 2195 for information on the cram-MD5 authentication method. cram-MD5is only supported by some directory servers. For instance, Sun Java System<strong>Directory</strong> Server does not support cram-MD5.tls:simpleThe client binds using the simple method <strong>and</strong> the session is encrypted. Thepassword is protected.tls:sasl/cram-MD5The <strong>LDAP</strong> session is encrypted <strong>and</strong> the client authenticates to the directory serverusing sasl/cram-MD5.tls:sasl/digest-MD5The <strong>LDAP</strong> session is encrypted <strong>and</strong> the client authenticates to the directory serverusing sasl/digest-MD5.Caution – Sun Java System <strong>Directory</strong> Server requires passwords to be stored in theclear in order to use digest-MD5. If the authentication method is set tosasl/digest-MD5 or tls:sasl/digest-MD5, then the passwords for the proxyuser will need to be stored in the clear. Be especially careful that the userPasswordattribute has the proper ACIs if it is stored in the clear, so that it is not readable.The following table summarizes the various authentication methods <strong>and</strong> theirrespective characteristics.Chapter 9 • <strong>LDAP</strong> Basic Components <strong>and</strong> Concepts (Overview) 145

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

Saved successfully!

Ooh no, something went wrong!