Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-5444

[DOC] Missing quotes in the LDAP configuration for ActiveDirectory

    XMLWordPrintable

Details

    Description

      The connectionTimeout and readTimeout properties in the LDAP configuration for ActiveDirectory require quotes, otherwise you get a parsing error as soon as you try to login.

      https://access.redhat.com/documentation/en-us/red_hat_amq/2020.q4/html-single/configuring_amq_broker/index#proc_br-using-ldap-authentication_configuring

      Correct example:

      activemq {
        org.apache.activemq.artemis.spi.core.security.jaas.LDAPLoginModule required
           debug=true
           initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
           connectionURL="LDAP://localhost:389"
       connectionUsername="CN=Administrator,CN=Users,OU=System,DC=example,DC=com"
           connectionPassword=redhat.123
           connectionProtocol=s
           connectionTimeout="5000"
           authentication=simple
           userBase="dc=example,dc=com"
           userSearchMatching="(CN={0})"
           userSearchSubtree=true
           readTimeout="5000"
           roleBase="dc=example,dc=com"
           roleName=cn
           roleSearchMatching="(member={0})"
           roleSearchSubtree=true
           ;
      };
      

      Attachments

        Activity

          People

            rh-ee-ataylor Andy Taylor
            rhn-support-fvaleri Federico Valeri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: