openbsd-ports/net/samba/files/README.OpenBSD

27 lines
726 B
Plaintext
Raw Normal View History

1998-08-11 09:32:35 -04:00
Using samba package in OpenBSD environment:
1998-05-04 00:10:39 -04:00
1. Copy /usr/local/lib/samba/smb.conf.sample to /etc/samba/smb.conf and edit
1998-05-04 00:10:39 -04:00
it.
1998-08-11 09:32:35 -04:00
2. Edit /etc/rc.conf file:
...
smbd=YES
nmbd=YES
1998-05-04 00:10:39 -04:00
1998-08-11 09:32:35 -04:00
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 '.'
1998-05-04 00:10:39 -04:00
1998-08-11 09:32:35 -04:00
See documentation files in /usr/local/share/doc/samba and example config
files in /usr/local/share/examples/samba for more information.