[jcifs] Shares paths using jCIFS

Michael B. Allen miallen at eskimo.com
Fri Nov 8 06:46:51 EST 2002

On Thu, 7 Nov 2002 05:28:52 -0800
"Sundari Karra" <sundari at tek-tools.com> wrote:

> Hi,
> I am using jcifs_0.7.0b6 version to get the shares on a server.  I was
> wondering if there was a way to get the share paths, i.e., Say on a windows
> box if there are two shares as follows:
> 	Downloads		pointing to c:\work\MyDownloads
> 	Data			pointing to c:\work\data
> I do get the share names Downloads and Data currently from jCIFS, but I am
> not able to get the paths these shares point to.  Is this possible?

No.  Not with jCIFS. You need DCE/RPC for that and no one seems to be up to
tackling that problem at this time. 

> Thanks,
> Sundari.

A  program should be written to model the concepts of the task it
performs rather than the physical world or a process because this
maximizes  the  potential  for it to be applied to tasks that are
conceptually  similar and, more important, to tasks that have not
yet been conceived. 

More information about the jcifs mailing list