Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2001 11:48:35 -0800
From:      "Raymundo M. Vega" <RaymundoVega@home.com>
To:        Josh Thomas <jdt2101@ksu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: smbd on a local NAT Lan
Message-ID:  <3A844993.A292E7D4@home.com>
References:  <Pine.GSO.4.21L.0102091323280.16333-100000@unix1.cc.ksu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A844993.A292E7D4>