openbsd-ports/net/samba/files
marc 3e45db1680 add sha1 and rmd160 checksum to the existing md5 sums for all files;
Porters: please make sure you use bsd.port.mk 1.75 or later when
updating ports.  That version of the makefile adds all sums.  Previous
versions of the makefile will still work for people installing ports.
1999-03-04 05:55:44 +00:00
..
md5 add sha1 and rmd160 checksum to the existing md5 sums for all files; 1999-03-04 05:55:44 +00:00
README.OpenBSD update to 1.9.18p10; Andrew Lambeth <andrew@nfr.net> 1998-09-10 06:49:25 +00:00
smb.conf.default update samba to 1.9.18p7 1998-05-13 04:41:46 +00:00

Using samba package in OpenBSD environment:

1. Copy /usr/local/lib/samba/smb.conf.sample to /etc/samba/smb.conf and edit
   it.

2. Edit /etc/rc.conf file:
   ...
   smbd=YES
   nmbd=YES

3. Edit /etc/rc.local file:
   echo -n 'starting local daemons:'
   ...
   if [ -f /etc/samba/smb.conf ]; then
       if [ X"${smbd}" = X"YES" -a -x /usr/local/sbin/smbd ]; then
           echo -n ' smbd';    /usr/local/sbin/smbd -D
       fi
       if [ X"${nmbd}" = X"YES" -a -x /usr/local/sbin/nmbd ]; then
           echo -n ' nmbd';    /usr/local/sbin/nmbd -D
       fi
   fi
   ...
   echo '.'

See documentation files in /usr/local/share/doc/samba and example config
files in /usr/local/share/examples/samba for more information.