[jcifs] jcifs exception

Kurien Mathew kurien at envivio.com
Thu Nov 15 10:44:32 EST 2001


I get the following exception when jcifs attempts to list shares(Windows).
This happens with shares requiring a password and to which no connection was
made previously.

     [java] jcifs.smb.SmbException: ERRDOS/ERRnoaccess: Access denied
     [java]     at jcifs.smb.SmbTransport.send(SmbTransport.java:428)
     [java]     at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:154)
     [java]     at jcifs.smb.SmbSession.send(SmbSession.java:128)
     [java]     at jcifs.smb.SmbTree.treeConnect(SmbTree.java:84)
     [java]     at jcifs.smb.SmbTree.sendTransaction(SmbTree.java:49)
     [java]     at jcifs.smb.SmbTree.netShareEnum(SmbTree.java:289)
     [java]     at jcifs.smb.SmbFile.list(SmbFile.java:710)

Is there some way for the application to be notified of such
exceptions/shares?

Kurien





More information about the jcifs mailing list