[jcifs] FAQ - Samba Required on Client?

Michael B Allen mba2000 at ioplex.com
Mon Jul 19 21:52:53 GMT 2004

Myron Uecker said:
>> This is not a valid configuration for a variety of reasons. Please read
>> the NTLM HTTP Authentication documentation:
>>   http://jcifs.samba.org/src/docs/ntlmhttpauth.html
> I have read that doc over multiple times today and I'm confused as to what
> I didn't do right.  I used the first example that shows how to specify a
> WINS server, except in our situation, people will log on from multiple
> domains so I didn't specify a domain.

Nowhere does it say that jcifs.smb.client.domain is optional. Indeed it is

> The documentation was a bit sketchy on whether the JAR file should be
> placed in the Web Server's LIB directory instead of the web application
> LIB directory.  When I tried to move it to the $JBOSS_HOME\lib directory,
> my application failed to deploy giving errors that various SMBxxx classes
> could not be found.

The SMB protocol handler must be loaded by the system class loader. If the
webapp lib directory is insufficent then that is something that would be
specific to JBOSS.

> The main reason I'm asking is that we have seen various problems.  From
> time to time, we get connection time-outs from the server that are visible
> in the Samba logs.

Then post the errors and describe further what the problem is.


More information about the jcifs mailing list