[jcifs] Unexpected SmbException with incorrect password

Michael B Allen mba2000 at ioplex.com
Thu Jul 14 15:10:29 GMT 2005

0xC0000255 is NT_STATUS_NOT_FOUND. So something during the login
(sessionSetup) or share mapping (treeConnect) in this message is choking
with NT_STATUS_NOT_FOUND. Triple check your credentials. Are you using
the logonShare option? Is the share there? Admittedly this is a strange
error. At least no one has reported tihs one before.


On Thu, 14 Jul 2005 12:16:17 +0200
Emergency Shower <emergency.shower at gmail.com> wrote:

> Hello!
> Server: Windows 2003 SP1
> Client: Windows XP and Windows Server 2003 SP1
> JCIFS: Version 1.1.0 and 1.2.2
> When SmbSession.logon(...) is called with an incorrect password, a
> SmbException is thrown:
> jcifs.smb.SmbException: 0xC0000225
> 	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:453)
> 	at jcifs.smb.SmbTransport.send(SmbTransport.java:553)
> 	at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:263)
> 	at jcifs.smb.SmbSession.send(SmbSession.java:220)
> 	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:137)
> 	at jcifs.smb.SmbSession.logon(SmbSession.java:159)
> 	at jcifs.smb.SmbSession.logon(SmbSession.java:152)
> Formerly (before SP1 was applied to the Server?) a
> jcifs.smb.SmbAuthException was thrown.
> Is this considered as a bug, and if so, will later versions of jcifs fix this?
> Thanks in advance
> Alex

More information about the jcifs mailing list