Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5971

Unable to apply policy when set refreshInterval=-1 for cachedLDAPAuthorizationMap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Incomplete
    • 5.11.1
    • None
    • Security/JAAS
    • None

    Description

      the LDAP server I used is Active Directory. when I try to set refreshInterval=-1 for cachedLDAPAuthorizationMap, I got the following errors:
      ERROR | Caught unexpected exception.
      javax.naming.OperationNotSupportedException: [LDAP: error code 12 - 00000057: LdapErr: DSID-0C090796, comment: Error processing control, data 0, v23f0]; remaining name 'OU=Topic,OU=Destination,OU=INT,OU=ActiveMQ,...'
      at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3147)[:1.7.0_75]
      at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)[:1.7.0_75]
      at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)[:1.7.0_75]
      at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:147)[:1.7.0_75]
      at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:216)[:1.7.0_75]
      at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:189)[:1.7.0_75]
      at com.sun.jndi.ldap.NamingEventNotifier.run(NamingEventNotifier.java:134)[:1.7.0_75]
      at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]
      ERROR | Policy not applied!. Error processing policy under '[OU=Queue,OU=Destination,OU=INT,OU=ActiveMQ,..., (cn=Read)]' with filter 'java.lang.NullPointerException'

      Attachments

        Activity

          People

            Unassigned Unassigned
            alt_alt JIE CHEN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: