[jcifs] Getting SmbAuthException
Swati
swati_roighare at persistent.co.in
Wed Aug 17 12:27:06 GMT 2005
Hi,
When i am trying to execute the List example from the JCIF, I am getting foll.
exception:-
Exception in thread "main" jcifs.smb.SmbAuthException: Logon failure: account
currently disabled.
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:442)
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.SmbFile.connect(SmbFile.java:791)
at jcifs.smb.SmbFile.connect0(SmbFile.java:761)
at jcifs.smb.SmbFile.send(SmbFile.java:660)
at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1679)
at jcifs.smb.SmbFile.list(SmbFile.java:1544)
at jcifs.smb.SmbFile.list(SmbFile.java:1436)
at List.main(List.java:12)
i am not getting what exactly the problem is.
Can you please help me.
command line for execution of the prog. is given as follows-
java -classpath %classpath%;C:\jcifs_1.2.1\jcifs-1.2.1.jar -
Djcifs.util.loglevel=10 List smb://MyMachine/CP2/
Thanks in advance,
Swati
More information about the jcifs
mailing list