[jcifs] jcifs-0.9.5 timeout on the Windows 2003 domain controller

Eric Glass eric.glass at gmail.com
Thu Jul 22 16:55:51 GMT 2004


> 
> <init-param>
>    <param-name>jcifs.smb.client.domain</param-name>
>    <param-value>MYDOMAIN</param-value>
> </init-param>
> <init-param>
>    <param-name>jcifs.smb.client.username</param-name>
>    <param-value>myusername</param-value>
> </init-param>
> <init-param>
>    <param-name>jcifs.smb.client.password</param-name>
>    <param-value>mypassword</param-value>
> </init-param>
> <init-param>
>    <param-name>jcifs.netbios.wins</param-name>
>    <param-value>10.10.2.20</param-value>
> </init-param>
> 
> 
> then add the following param to authenticate the web application user's
> information with a specific or group of Domain Controllers. Is this the
> recommended way to work with the windows 2003 Domain Controller
> environment?
> 
>        <init-param>
>            <param-name>jcifs.http.domainController</param-name>
>            <param-value>10.10.3.55,10,10.3.56</param-value>
>        </init-param>
> 

"jcifs.http.domainController" is used to specify a single domain
controller to contact.  You can specify multiple WINS servers in
"jcifs.netbios.wins" using a comma-delimited list.

With what you have specified above, you shouldn't need to have
"jcifs.http.domainController" specified.  jCIFS will contact a WINS
server listed in "jcifs.netbios.wins" and ask it for the list of
domain controllers for the domain specified in
"jcifs.smb.client.domain" ("MYDOMAIN").  It will then automatically
load balance among those controllers.  If it encounters a Windows 2003
server that requires signing, it will set up the connection using the
credentials you provided in jcifs.smb.client.domain/username/password.
 So you should be okay with just what you have above.


Eric


More information about the jcifs mailing list