[jcifs] Radom success and failure with jcifs on active directory
Emmanuel NIRIGE
enirige at cergy.itin.fr
Tue Jun 3 12:11:40 GMT 2008
Hi,
(sorry for my english, it could be very bad)
I have a jcifs on an intranet application
Formerly, this application logged trough jcifs on a NT server, and all works
perfectly
but now, IT department decidate to migrate to an Active Direcotry Structure,
so I change init-parameters of the filter in my web.xml
<filter>
<filter-name>NtlmHttpFilter</filter-name>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>10.205.128.53</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.domain</param-name>
<param-value>B2B</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.username</param-name>
<param-value>a_login</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.passord</param-name>
<param-value>a_passwor</param-value>
</init-param>
<init-param>
<param-name>jcifs.util.loglevel</param-name>
<param-value>3</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>NtlmHttpFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
so B2B is the new authentification domain, and 10.205.128.53 the ip of the
ActiveDirectory
now the problem is :
when I connect to the intranet, my account works fine most of the time
and the account of my partner fails most of the time, but works some time
the only trace I have is : NtlmHttpFilter: B2B\<partner's account>:
0xC0000022: jcifs.smb.SmbAuthException: Access is denied.
I really do not understand from what can the problem come,
if anybody have an idea....
thanks
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the jcifs
mailing list