javax.naming.AuthenticationException: [LDAP: error code 49 - SASL(-1): generic failure: unable canonify user and get auxprops]

Oracle Community | 807573 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How authenticate Webapp with Sun Directory Server

    Oracle Community | 1 decade ago | 807573
    javax.naming.AuthenticationException: [LDAP: error code 49 - SASL(-1): generic failure: unable canonify user and get auxprops]
  2. 0

    Error binding as windows account

    Oracle Community | 1 decade ago | 843793
    javax.naming.AuthenticationException: [LDAP: error code 49 - 8009030C: LdapErr: DSID -0C090311, comment: AcceptSecurityContext error, data 2030, vece ]
  3. 0

    AD/OID import mapping not working

    Oracle Community | 6 years ago | 746344
    javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kerberos and LDAP: Why does Java 6 truncate LDAP host names when using Kerberos?

    Stack Overflow | 2 years ago | Asad Ullah Naweed
    java.security.PrivilegedActionException: javax.naming.AuthenticationException: GSSAPI [Root exception is javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Server not found in Kerberos database (7))]]
  6. 0

    failed to connect to server | Symantec Connect

    symantec.com | 2 years ago
    javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1 ]

  1. kid 9 times, last 8 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.naming.AuthenticationException

    [LDAP: error code 49 - SASL(-1): generic failure: unable canonify user and get auxprops]

    at com.sun.jndi.ldap.LdapCtx.mapErrorCode()
  2. Java RT
    InitialLdapContext.<init>
    1. com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2988)
    2. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
    3. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2735)
    4. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2649)
    5. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
    6. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
    7. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
    8. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
    9. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
    10. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    11. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    12. javax.naming.InitialContext.init(InitialContext.java:219)
    13. javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:133)
    13 frames
  3. cl.indra.wmx
    FiltroAutenticacion.doFilter
    1. cl.indra.wmx.atc.autenticacion.dao.UsuarioAutenticacionLDAPDAO.getAutenticacion(UsuarioAutenticacionLDAPDAO.java:54)
    2. cl.indra.wmx.atc.autenticacion.negocio.GestorAutenticacionLDAP.getUsuario(GestorAutenticacionLDAP.java:33)
    3. cl.indra.wmx.atc.autenticacion.negocio.FiltroAutenticacion.doFilter(FiltroAutenticacion.java:93)
    3 frames
  4. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    4. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    8. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    10. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    11. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    12. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    13. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    14. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    15. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    16. org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    17. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    18. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    18 frames
  5. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    1 frame
  6. Grizzly HTTP
    TcpWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    3. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    3 frames
  7. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    1 frame
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:534)
    1 frame