[jcifs] Authentification failure for localhost

Michael B Allen ioplex at gmail.com
Sun Sep 30 08:11:51 MDT 2012


Hi Rahul,

Post the full stack trace.

It sounds like a simple network connectivity problem.

If you're trying to connect to "smb://localhost/...", I'm not sure Windows
systems have a "localhost" interface or associated routing rules required
to use that name. That is a UNIX phenomenon. I think you can install one
but it's not enabled by default.

Add some code to get the real name of the host system and use that instead.

Mike

On Wed, Sep 19, 2012 at 4:59 AM, Rahul Goyal <rahul.goyal at intimetec.com>wrote:

>  Hello sir,****
>
> Sir I have a problem with smb. I got a smb exception that is failed to
> negotiate. Timeout trying to open socket.****
>
> How can I remove this…****
>
> Please sir, hurry up…
>

-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20120930/717d7f62/attachment.html>


More information about the jCIFS mailing list