com.sun.directoryservices.service.ConnectionException

Failed to connect to ad://COMPANY/dc=COMPANY,dc=XXX,dc=YYY,dc=AU [Root exception is com.sun.directoryservices.auth.AuthenticationException: Authentication Failed [Client not found in Kerberos database (6)] [Root exception is javax.security.auth.login.LoginException: Client not found in Kerberos database (6)]]

Solutions on the web1

  • via Oracle Community by 807578, 1 year ago
    Failed to connect to ad://COMPANY/dc=COMPANY,dc=XXX,dc=YYY,dc=AU [Root exception is com.sun.directoryservices.auth.AuthenticationException: Authentication Failed [Client not found in Kerberos database (6)] [Root exception is javax.security.auth.login.LoginException: Client not found in Kerberos database (6)]]
  • Stack trace

    • com.sun.directoryservices.service.ConnectionException: Failed to connect to ad://COMPANY/dc=COMPANY,dc=XXX,dc=YYY,dc=AU [Root exception is com.sun.directoryservices.auth.AuthenticationException: Authentication Failed [Client not found in Kerberos database (6)] [Root exception is javax.security.auth.login.LoginException: Client not found in Kerberos database (6)]] at com.sun.sgd.directoryservices.core.connect.DirectoryConnector.connect(DirectoryConnector.java:182) at com.sun.sgd.directoryservices.core.service.GenericDirectoryService.connect(GenericDirectoryService.java:109) at com.sun.sgd.directoryservices.core.service.ADService.connect(ADService.java:99) at com.sun.sgd.directoryservices.core.DirectoryServiceContext.connect(DirectoryServiceContext.java:154) at com.sun.sgd.directoryservices.core.DirectoryServiceContext.connect(DirectoryServiceContext.java:143) at com.sun.directoryservices.service.DirectoryService.connect(DirectoryService.java:143) at com.sun.vda.service.ldap.UserDirConnection.createDirService(UserDirConnection.java:221) at com.sun.vda.service.adapter.UserDirMgrAdapter.checkUserDirConnectivity(UserDirMgrAdapter.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sun.vda.service.core.ThreadClassloaderProxy.invoke(ThreadClassloaderProxy.java:96) at $Proxy42.checkUserDirConnectivity(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414) at javax.management.StandardMBean.invoke(StandardMBean.java:323) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784) at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:203) at com.sun.cacao.agent.DispatchInterceptor.invoke(DispatchInterceptor.java:783) at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.invoke(AccessControlInterceptor.java:638) at com.sun.jdmk.JdmkMBeanServerImpl.invoke(JdmkMBeanServerImpl.java:764) at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.invoke(InstrumDefaultForwarder.java:126) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410) at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:595) Caused by: com.sun.directoryservices.auth.AuthenticationException: Authentication Failed [Client not found in Kerberos database (6)] [Root exception is javax.security.auth.login.LoginException: Client not found in Kerberos database (6)] at com.sun.sgd.directoryservices.core.auth.AuthAgent.handleAuthException(AuthAgent.java:126) at com.sun.sgd.directoryservices.core.auth.KerberosAuthAgent.authenticate(KerberosAuthAgent.java:68) at com.sun.sgd.directoryservices.core.auth.KerberosAuthAgent.doAsCredential(KerberosAuthAgent.java:164) at com.sun.sgd.directoryservices.core.connect.KerberizedConnection.connect(KerberizedConnection.java:59) at com.sun.sgd.directoryservices.core.connect.DirectoryConnector.connect(DirectoryConnector.java:138) ... 44 more Caused by: javax.security.auth.login.LoginException: Client not found in Kerberos database (6) at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:696) at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:542) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703) at javax.security.auth.login.LoginContext.login(LoginContext.java:575) at com.sun.sgd.directoryservices.core.auth.KerberosAuthAgent.login(KerberosAuthAgent.java:184) at com.sun.sgd.directoryservices.core.auth.KerberosAuthAgent.authenticate(KerberosAuthAgent.java:66)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    2 times, 11 months ago
    Unknown user
    Once, 1 year ago
    12 more bugmates