[jcifs] avoid password prompt

Frode E. Moe frode at CoreTrek.no
Mon May 15 07:54:30 GMT 2006


On Mon, May 15, 2006 at 07:43:12 +0000, walter wrote:
> I use jcif 1.28 with this web.xml setting up 
> 
> <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.130.10.10</param-value>
>       </init-param>
>       
>       <init-param>
>           <param-name>jcifs.smb.client.domain</param-name>
>           <param-value>MYDOMAIN</param-value>
>       </init-param>
>     </filter>
> 
> All work fine under IE 6.0 if I call a page with host name like this
> http://myserver:8888/myapplication.
> But if use the ip address (http://10.135.15.15:8888/myapplication) , IE prompts
> password dialog.

Check what "zone" internet explorer thinks each web page is in. I'm
guessing 'myserver' runs in the intranet zone, while the 10.135.15.15
runs in the internet zone which probably is configured to prompt always.




More information about the jcifs mailing list