From owner-freebsd-questions Fri Feb 9 11:48:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail3.sdc1.sfba.home.com (femail3.sdc1.sfba.home.com [24.0.95.83]) by hub.freebsd.org (Postfix) with ESMTP id 5488A37B684 for ; Fri, 9 Feb 2001 11:48:36 -0800 (PST) Received: from home.com ([24.177.141.133]) by femail3.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010209194640.EUVZ21891.femail3.sdc1.sfba.home.com@home.com>; Fri, 9 Feb 2001 11:46:40 -0800 Message-ID: <3A844993.A292E7D4@home.com> Date: Fri, 09 Feb 2001 11:48:35 -0800 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.5.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Josh Thomas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: smbd on a local NAT Lan References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is my smbd.conf file [global] workgroup = WITCHESLAND netbios name = NAVAJO server string = FreeBSD & Samba 2.0.6 interfaces = 192.168.1.254 encrypt passwords = Yes log file = /var/log/log.%m max log size = 50 dns proxy = No hosts allow = 192.168.1. [home] comment = Home Directories path = /usr/home/%U read only = No [printers] comment = All Printers path = /var/spool/samba print ok = Yes browseable = No [lp] comment = local Epson Action Laser 1500 printer path = /var/spool/samba read only = No print ok = Yes print command = /usr/bin/lpr -s -Plp -r %s printer name = lp oplocks = No share modes = No Hope it works for you. suerte raymundo Josh Thomas wrote: > > I'm having trouble getting smbd to work correctly for my in-house > LAN. I have DSL through PPPoE, with the tun0 device. I'm somewhat > confused on what interface I should use if I just want smb to be able to > share for the inhouse computers only. Should I add their 192.168.* ips to > the interface option? I've tried the default without specifying an > interface and it obviously doesn't work, and the smb.conf manpage along > with the smbd manpage are pretty vague about this. I'd figure somebody > here would have done the same thing. > > -Josh > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message