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.
Question one here. c:\net use New connections will be remembered. Status Local Remote Network ------------------------------------------------------------------------------- OK Z: \\SAMBA\Home\me Microsoft Windows Network OK X: \\SAMPLE\SAMPLE Microsoft Windows Network The command completed successfully. Question two... No idea. :P Alex On Tue, 25 Apr 2006 10:35:10 -0400 Michael Li <mli@deform.com> wrote:> 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
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