[jcifs] Unexpected SmbException with incorrect password

Emergency Shower emergency.shower at gmail.com
Thu Jul 14 10:16:17 GMT 2005


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