[jcifs] how to tell if CIFS/SAMBA is running on a server?

Anuj Agrawal agrawalanuj at yahoo.com
Wed Sep 5 19:54:30 GMT 2007

Hi all - i've searched for this answer in the archives, but don't seem to be using the proper query string, so here goes.

I've used the jCIFS library running in a Tomcat webapp (on a Win2k box).  I had it configured to auth against a particular IP address (using jcifs.smb.client.domain parameter).  It was working just fine, but they shut down that box during a change to the domain everyone was authenticating against.

Now i have to use a different domain controller to auth against, but i'm getting reports of "flaky" behavior.  For the most part it works, but for some people who are offshore, it periodically pops up the login box repeatedly, and finally allows them in.

After reading countless postings, i started guessing that it may be because the "old" box i was using to auth against had CIFS/SAMBA running on it, but the new "set" of servers (i believe it is load-balanced) have some servers that have CIFS/SAMBA running and some don't.  Again this is just a guess.  So i asked my system administrators to verify if CIFS/SAMBA is running (i believe those are Windows servers), but they don't seem to know where to look.

Any suggestions on what to look for to determine if CIFS/SAMBA is running?  This appears to be a pre-requisite for using jCIFS.


Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

More information about the jcifs mailing list