Date: Tue, 5 Mar 1996 10:15:34 +0100 (MET) From: "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de> To: monboso@masternet.it (Amedeo Beck Peccoz) Cc: freebsd-questions@freebsd.org Subject: Re: Configure samba Message-ID: <199603050915.KAA22625@gilberto.physik.rwth-aachen.de> In-Reply-To: <199603042110.WAA10008@masternet.it> from "Amedeo Beck Peccoz" at Mar 4, 96 10:11:40 pm
next in thread | previous in thread | raw e-mail | index | archive | help
>
> Can anyone out there tell me how to configure samba on the freebsd 2.1 and
> how to configure dos (not wfw nor w95, just wc-dog) clients to map a drive
> (e.g. J:) to an exported dir on the unix?
> Actually my smb.conf is this:
>
> --------
> [Global]
> config file = /usr/local/samba/smb.conf.%m
> status = yes
> security = share
> server string = Core (%v,%h)
> load printers = yes
> log level = 1
> log file = /var/log/samba.log
> ; hosts allow = 194.135.250.0/255.255.255.0 localhost
> auto services = homes printers tmp server
> read prediction = yes
> valid chars = ö:Ö å:Å ä:Ä
> share modes = yes
> locking = yes
> strict locking = yes
> keepalive = 30
> passwd program = /sbin/passwd %u
> workgroup = WORKGROUP
> getwd cache = yes
> printing = 1
>
> [homes]
> comment = This is your home dir
> writable = yes
> browseable = no
>
> [printers]
> printable = yes
> writable = no
> path = /tmp
> guest ok = yes
> print ok = yes
> browseable = no
>
> [tmp]
> comment = Clearing each night
> writable = yes
> public=true
> path=/tmp
> browseable = yes
>
> [server]
> comment = Our online archive
> writable = yes
> public=true
> path=/usr/export
> browseable = yes
>
> --------
>
> How do I launch the smbd? At present I do it by hand issuing a
> /usr/local/samba/bin/smbd -s /usr/local/samba/smb.conf
>
> the major problem is the configuration of the clients: I do not know where
> to start from, which packages do I need, how to configure them. Some people
> gave me general guidelines, but as I'm starting from scatch practical
> exapmles are welcome as well! :-)
I'm starting samba from rc.local (since I had problem doing it from
inetd.conf in the early days) and I specify the broadcast address
since the samba code had some problems with traversing the if structures
and obtaining the broadcast address of an interface. This may have become
better but I haven't looked at the code recently.
in /etc/rc.local:
/usr/local/samba/bin/nmbd -B 131.126.21.255 -S -D -G IPHY
^^^ ^^^ ^^| ^your netbios group name
|put your network address here
/usr/local/samba/bin/smbd -D
>
> Thanks guys!
>
> Ciao!
> //\medeo
>
>
--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603050915.KAA22625>
