[jcifs] Intermittent issues. Getting the error jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.

Chakravarthy, Haragopal Haragopal.Chakravarthy at vantiv.com
Tue Dec 20 09:57:53 MST 2011

We have been using jcifs in production for a few months now.

We run the code on two JVMs, with it being active on any one node at a time. This morning, we started seeing the following error on the active node:

jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password.

This is not occurring on the other node, though. The codebase and properties (used in the Config class) are the same on both the nodes.

For now, we have the code running on the node where there is no error.

What could be causing this issue?

Assuming the issue is due to corrupted credentials (in the properties file) is there a way for me to refresh the "Config" without restarting the JVM?

We are on version 1.3.16.

Any pointers would be greatly appreciated.

This e-mail transmission contains information that is confidential and may be privileged.
It is intended only for the addressee(s) named above. If you receive this e-mail in error,
please do not read, copy or disseminate it in any manner.  If you are not the intended 
recipient, any disclosure, copying, distribution or use of the contents of this information
is prohibited. Please reply to the message immediately by informing the sender that the 
message was misdirected. After replying, please erase it from your computer system. Your 
assistance in correcting this error is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20111220/228feb4c/attachment.html>

More information about the jCIFS mailing list