[jcifs] avoid password prompt

walter belcore_walter at provincia.cuneo.it
Mon May 15 07:43:12 GMT 2006


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.
Why ?



More information about the jcifs mailing list