[Samba] Physical path of share

Dwight Tovey dtovey at emergecore.com
Wed Oct 12 15:37:44 GMT 2005


Jerry said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Henrik Zagerholm wrote:
> |  Hi all!
> |
> | Is there a way to get the physical path of a win share?
> |
> | I.e I want to get C:\Data\Foldername from MyShare.
>
> rpcclient .... -c 'getsharegetinfo share1'
>
> We really should migrate some of this to the
> net command.
>

I just tried this on my Samba 3.0.20a system, and it told me
  command not found: getsharegetinfo

However, "rpcclient ... -c 'netshareenum'" <machinename> did work.

    /dwight
-- 
Dwight N. Tovey
email: dtovey at emergecore.com
---------
Work to Live : Live to Ride : Ride to Work





More information about the samba mailing list