[jcifs] NTStatus NT_STATUS_TRUSTED_DOMAIN_FAILURE issue

Ravi_116 ravi116 at gmail.com
Thu Aug 14 21:34:24 GMT 2008


Issue : SmbAuthException with NtStatus.NT_STATUS_TRUSTED_DOMAIN_FAILURE is
raised when SmbSession.logon(domainController, port,
ntlmPasswordAuthentication). The exception raised is "Access is Denied"
exception.

Environment : JCIF version is 1.2.24
The client is accessed using a Custom Filter using SmbSession with following
properties 
jcifs.smb.lmCompatibility=4
jcifs.util.loglevel=6
jcifs.smb.client.domain=DEV
jcifs.smb.client.username=username
jcifs.smb.client.password=password
jcifs.encoding=ASCII

Stack trace :

jcifs.smb.SmbAuthException: Access is denied.
	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:516)
	at jcifs.smb.SmbTransport.send(SmbTransport.java:630)
	at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:338)
	at jcifs.smb.SmbSession.send(SmbSession.java:283)
	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154)
	at jcifs.smb.SmbSession.logon(SmbSession.java:219)
	at SMBHelper.doDCLogon(SMBHelper.java:130)
	at NTLMWebHelper.doNTLM(NTLMWebHelper.java:121)
	at NTLMFilter.doFilter(NTLMFilter.java:126)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Unknown Source)

Any help is appreciated,

Ravi





-- 
View this message in context: http://www.nabble.com/NTStatus-NT_STATUS_TRUSTED_DOMAIN_FAILURE-issue-tp18990155p18990155.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.



More information about the jcifs mailing list