[jcifs] SSO problem

Michael B Allen mba2000 at ioplex.com
Thu Jan 6 18:37:54 GMT 2005


On Thu, 6 Jan 2005 15:37:31 +0100 
"Pietrzyk, S_awomir" <SPietrzyk at pzu.pl> wrote:

> I have a problem with basic SSO authentication. 
> Directory System:  W2K with NTLM and NTLM v2.
> 
> My web application is running on Tomcat 4.0/Win2000 Prof (builtin Borland
> BuilderX).
> I have included this filter into my web.xml:
> 
>   <filter>
>     <filter-name>NtlmHttpFilter</filter-name>
>     <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
>     <init-param>
>       <param-name>jcifs.smb.client.domain</param-name>
>       <param-value>DOMAIN</param-value>
>     </init-param>
>     <init-param>
>       <param-name>jcifs.resolveOrder</param-name>
>       <param-value>BCAST, DNS</param-value>
<snip>
> 
> I dont have WINS serwer in my domian. 

That's a pretty odd config then. I don't even know if it will work properly.
I would get rid of BCAST and just use DNS. Then, instead of
jcifs.smb.client.domain use jcifs.http.domainController with the IP of your
DC (or a workstation that can act as an authority):

>     <init-param>
>       <param-name>jcifs.http.domainController</param-name>
>       <param-value>123.45.67.89</param-value>
>     </init-param>

Mike

-- 
Greedo shoots first? Not in my Star Wars.


More information about the jcifs mailing list