[Samba] how to know local path ?

Michael Li mli at deform.com
Fri Apr 28 22:44:06 GMT 2006


Hi, Henrik,

Thank you very much for you reply.

I tried
mli at michael:/home/mli/tmp> rpcclient 192.168.1.78 -U username%password 
-c 'netsharegetinfo public'
cmd = netsharegetinfo public
command not found: netsharegetinfo
mli at michael:/home/mli/tmp> rpcclient 192.168.1.78 -U username%password 
-c 'dir'
cmd = dir
command not found: dir

What did I do wrong ?
or is there some setup in Windows side ?


Best regards.
Michael Li



Henrik Zagerholm wrote:
> I think you mean:
> $ rpcclient (ip and user/pass info here) -c 'netsharegetinfo public'
> 
> Which returns info like
> C:\Data\public
> 
> 
> 25 apr 2006 kl. 16:35 skrev Michael Li:
> 
>> Hi,
>>
>> In computer A, is there any way to know local path at
>> computer B?
>>
>> Let me give more details :
>>
>> Computer B(linux) has a directory, called /samba/shared,
>> it is mapped to Computer A(Windows) as S:.
>> In computer A, is there any way to know "S:"'s local
>> path in computer B is "/samba/shared" ?
>>
>>
>> Furthermore, in computer B, is there any way to know
>> "/samba/shared" is mapped as "S:" in computer A ?
>>
>> Best regards.
>> Michael Li
>>
>>
>> ==========
>> This email message and any attachments are for the sole use of the  
>> intended recipients and may contain proprietary and/or confidential  
>> information which may be privileged or otherwise protected from  
>> disclosure. Any unauthorized review, use, disclosure or  distribution 
>> is prohibited. If you are not the intended recipients,  please contact 
>> the sender by reply email and destroy the original  message and any 
>> copies of the message as well as any attachments to  the original 
>> message.
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
> 
> 

==========
This email message and any attachments are for the sole use of the intended recipients and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipients, please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachments to the original message.



More information about the samba mailing list