[jcifs] jCIFS NetworkExplorer example

Jonathon Simon jsimon at ud.com
Thu Oct 5 18:51:48 GMT 2006

More news on this...
My computer is not a domain member - it's a standalone Windows XP Pro.  The computer name is jst422, and I have a share defined as wwwsoftcache.
If I navigate to \\jst422\wwwsoftcache  from within windows explorer it works fine.  But via the servlet, I keep getting prompted with a localhost login box.
Therefore, I tried adding the following static jcifs properties to the NetworkExplorer servlet, per the information found at http://jcifs.samba.org/src/docs/ntmlhttpauth.html:
    Config.setProperty( "jcifs.smb.client.username", "administrator" );
    Config.setProperty( "jcifs.smb.client.password", "xxxxx" );
    Config.setProperty( "jcifs.smb.client.domain", "jst422" );
    Config.setProperty( "jcifs.http.domainController", "jst422" );
However, even with these static properties defined, when I attempt to access  http://localhost:8080/sollerasa/common/NetworkExplorer/jst422/wwwsoftcache/, I keep getting prompted with a login box for localhost, but it never accepts my VALID credentials.  Eventually, it just times out.
I'm at a loss.  Thanks for your help so far.
Kindest regards,


Notice from United Devices Postmaster:

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. This message has been content scanned by the UD Tumbleweed MailGate.

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list