This document covers setting up Samba for Windows file and print services on OpenBSD.

Install samba from ports or packages.

The configuration file /etc/samba/smb.conf must be altered to suit your network.

The installation does not start samba. Add to /etc/rc.local the commands to start samba. e.g.

if [ -f /etc/samba/smb.conf ]; then
       echo -n " samba"
       /usr/local/libexec/nmbd -D
       /usr/local/libexec/smbd -D