openbsd-misc
[Top] [All Lists]

Re: Samba over internet

To: Michael Richard <richar01@gel.ulaval.ca>
Subject: Re: Samba over internet
From: "Michael A. Goettsch" <goettsch@perceptualrobotics.com>
Date: Thu, 30 Mar 2000 10:26:26 -0600
Cc: misc@openbsd.org
References: <200003301420.JAA00806@ragueneau.gel.ulaval.ca>
Sender: owner-misc@openbsd.org
Michael Richard wrote:

> Is it possible to setup a Samba server on an OpenBSD box and connect to it 
> with
> a Windows client connected somewhere else on the internet, but not on the LAN?
> If yes, please tell me how!  My problem comes from the Windows side...

Under Windows NT you can just punch in the IP address.  ie- \\192.168.20.12\test
I'm not quite sure how this is done under 95/98.  If I remember right there's a 
file you need to
edit to give the target machines names under 95.  I'm really not familiar with 
98 at all, so
I have no idea if it's similar.

>
> Also, how do I use smbclient to look at what services are available on a 
> network,
> still over internet and not on a LAN?  Something like "smbclient -I 
> ip_address -L"

> but it seems to be incomplete...

smbclient -I <IP> -L <IP>
Just press enter for your password.

If that doesn't work maybe try adding -U <user> on the command line & a 
password.
Of course, you'll need -U to actually map a share & -W <domain> if you're using 
a
domain account.

Mike


<Prev in Thread] Current Thread [Next in Thread>