javax.naming.PartialResultException on LDAP authenticated login in EAP

Solution Verified - Updated -

Issue

  • Login to JMX console that authenticates to Active Directory LDAP fails with PartialResultException.
  • Using LDAP for authentication is returning:

    DEBUG [org.jboss.security.auth.spi.LdapExtLoginModule] Bad password for username=someuser
            javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=corp,DC=company,DC=org'
                 at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)
                 at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
                 at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129)
                 at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198)
                 at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171)
                 at org.jboss.security.auth.spi.LdapExtLoginModule.rolesSearch(LdapExtLoginModule.java:468)
                 at org.jboss.security.auth.spi.LdapExtLoginModule.createLdapInitContext(LdapExtLoginModule.java:391)
                 at org.jboss.security.auth.spi.LdapExtLoginModule.validatePassword(LdapExtLoginModule.java:267)
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content