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.

TABLE 9–5 pam_unix versus pam_ldapPassword Sentpam_unixUses passwd serviceauthentication methodpam_ldapUses passwd serviceauthentication methodNew Password Sent Encrypted No encryption (unless TLS isused)New Password Stored crypt format Password storage schemedefined on Sun Java System<strong>Directory</strong> ServerRequires password read? Yes Nosasl/digest-MD5compatibility after changingpasswordNo. Password is not stored inclear. User cannotauthenticate.Yes. As long as default storagescheme is set to clear, usercan authenticate.PAM <strong>and</strong> Changing PasswordsUse passwd(1) to change a password. In order to change the password, theuserPassword attribute must be writable by the user. Remember that theserviceAuthenticationMethod for passwd-cmd overrides theauthenticationMethod for this operation. Depending on the authentication used,the current password might be unencrypted on the wire.In the case of pam_unix, the new userPassword attribute is encrypted using UNIXcrypt format <strong>and</strong> tagged before being written to <strong>LDAP</strong>. Therefore, the new passwordis encrypted on the wire, regardless of the authentication method used to bind to theserver. See the pam_authtok_store(5) man page for more information.As of the Solaris 10 software release, pam_ldap no longer supports password update.The previously recommended use of pam_authtok_store with theserver_policy option now replaces the pam_ldap password update capability.When you use pam_authtok_store, the new password is sent to the <strong>LDAP</strong> server inthe clear. Therefore, to ensure privacy, use TLS. If TLS is not used, the newuserPassword is subject to snooping. If you set an untagged password with SunJava System <strong>Directory</strong> Server, the software encrypts the password by using thepasswordStorageScheme attribute. For more information about thepasswordStorageScheme, see the section on user account management in theAdministration Guide for the version of Sun Java System <strong>Directory</strong> Server that you areusing.Chapter 9 • <strong>LDAP</strong> Basic Components <strong>and</strong> Concepts (Overview) 149

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

Saved successfully!

Ooh no, something went wrong!