[Samba] Physical path of share

Henrik Zagerholm henke at mac.se
Wed Oct 12 16:44:43 GMT 2005


Thanks both of you!

I got the info needed with rpcclient ... -c 'netshareenum'"  
<machinename>.
BTW is there some way to specify which share to get the info about  
with netshareenum command?

Jeremy: I couldn't get your 'getsharegetinfo' command to work.
Maybe a spelling error?

You guys makes my life a lot easier :D

//Big H
12 okt 2005 kl. 17.37 skrev Dwight Tovey:

>
> 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
>
>
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>



More information about the samba mailing list