[Samba] Samba on OpenBSD 3.1 (Resent in Plain Text)

Van Sickler, Jim vansickj-eodc at Kaman.com
Wed Jul 17 13:38:26 GMT 2002


(Previous HTML version of this msg "massaged"
by Antigen... :-P )


As root:

Uninstall 2.0.7 with pkg_delete samba-2.0.7

Download samba-2.2.5.tar.bz2 from one of the mirror sites
onto your OpenBSD machine.

bunzip2 samba-2.2.5.tar.bz2
tar -xvf samba-2.2.5.tar

Copy the attached files into the samba "source" directory

cd to the "samba-2.2.5/source" directory

at the command prompt, type:  mkdir /etc/samba 
at the command prompt, type:  mkdir /var/spool/lock
at the command prompt, type:  patch <parse_sec.patch
 (<parse_sec.patch  is not a typo)

at the command prompt, type:    ./samba1
  (to run ./configure with OpenBSD-tailored switches)

then type:      make clean all

then type:      make install
  (to install samba)

Look in the attached file for the file/dir locations

To start the daemons, you'll have to edit /etc/rc.local

add:

if [ X"${samba}" == X"YES" ]; then
        /usr/local/sbin/smbd -D;                echo -n ' samba-smbd'
        /usr/local/sbin/nmbd -D;                echo -n ' samba-nmbd'
fi

add this line to /etc/rc.conf:

samba=YES               # if YES, run samba

add these lines to the end of /etc/services:

# Local Services
swat            901/tcp                 # Samba Web Admin Tool

add these lines to the end of /etc/inetd.conf:

# Local Additions
swat            stream  tcp     nowait.400      root  /usr/local/sbin/swat
swat

This will get you most of the way there...you'll have to set up your
/etc/samba/smb.conf with swat or manually.  

Good Luck!
  Jim 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: parse_sec.patch
Type: application/octet-stream
Size: 3979 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20020717/1c73bbf7/parse_sec.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba1
Type: application/octet-stream
Size: 483 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20020717/1c73bbf7/samba1.obj


More information about the samba mailing list