[5.4]The automount aborts when it authenticates by DIGEST-MD5.

Solution Verified - Updated -

Environment

Red Hat Enterprise Linux 5 update 4

kernel-2.6.18-164.el5.x86_64
autofs-5.0.1-0.rc2.131.el5.x86_64
cyrus-sasl-md5-2.1.22-5.el5.x86_64

Issue

[5.4]The automount aborts when it authenticates by DIGEST-MD5.

Resolution

Diagnostic Steps

This problem can be reproduced by just one machine. We configure both an ldap
server and an automount client on a machine.

  • 1.Set to autofs_ldap_auth.conf for using DIGEST-MD5.

  # vi /etc/autofs_ldap_auth.conf
  <?xml version="1.0" ?>
  ...
  <autofs_ldap_sasl_conf
        usetls="no"
        tlsrequired="no"
        authrequired="yes"
        authtype="DIGEST-MD5"
        user="sasluser"  
        secret="rootpass"
     />

  • 2.Run the createuser.sh(attached) to create many user and the user data on
       the ldap server.

# createuser.sh 1000 2000

  • 3.Activate the ldap entry.

# ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -c -f manyuser.ldif

  • 4.Run the following commands to start up the automount with debug mode.

  # service autofs stop
   # automount -dvf

  • 5.Run the multiaccess.sh(attached) so that the system load is higher.

   # ./multiaccess.sh 1000 2000

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments