From owner-freebsd-questions@FreeBSD.ORG Sat Dec 6 23:30:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94E8316A4CE for ; Sat, 6 Dec 2003 23:30:25 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 267A243FE0 for ; Sat, 6 Dec 2003 23:30:23 -0800 (PST) (envelope-from freebsd-questions@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AStMy-0005LS-00 for ; Sun, 07 Dec 2003 08:30:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASsGi-0004yg-00 for ; Sun, 07 Dec 2003 07:19:48 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ASsGi-00060r-00 for ; Sun, 07 Dec 2003 07:19:48 +0100 From: "Ivan Wong" Date: Sun, 7 Dec 2003 14:36:26 +0800 Lines: 20 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: news Subject: Samba with PPTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2003 07:30:25 -0000 Hi I am running samba on a freebsd box (behind NAT, IP = 192.168.1.207) with pptpclient connecting to my company m$2k VPN (tunnel IP = 192.168.0.206). At first, I can ping the fbsd with its hostname (freebsd) from my company. But when I try to "net use freebsd /user:xxx *", the "net use" will fail (err = The network path was not found.) and afterwards I can see that ping will use 192.168.1.207 (which was originally 192.168.0.206). I can ping again if I restart the samba. But everytime when I try to use the netbios name I will get the redirection changed wrongly. So I tried to use IP instead. I can browse \\freebsd and "net use" my home \\freebsd\ivan sucessfully. But when I try to browse \\freebsd\ivan it will hold for a minute and I will finally get the message \\192.168.0.206\ivan is not accessible. The specified network name is no longer available. Thank you.