Tag Archives: samba

Debian NAS

I wanted a centralized home storage system that could feed all my other toys. Data stored on this will include MySQL datafiles, our MP3 collection, website directories and all our receipts printed out in PDF format (Yay! CutePDF) among other things. And so the fun began…

I did some test installs of various “turnkey” solutions such as Openfiler.

Openfiler just didn’t seem stable enough. Arrays would claim to have faulty drives and start rebuilding the arrays at the strangest times. Only to find out, via 3rd party tools, that the drive was fine. The web interface was ok but I would have organized it differently. Minus that, Openfiler has a lot of potential.

How to setup a basic SAMBA share

FreeBSD Samba how-to based on the one at www.bsdvault.net. Some errors have been corrected (from the original at bsdvault.net), but please let us know if you find any in this version.

1) Install the Samba port

cd /usr/ports/net/samba && make install

2) Read the files in /usr/local/share/doc/samba

They will help to drag you out of the pit of ignorance.

3) Copy /usr/local/etc/smb.conf.default to /usr/local/etc/smb.conf

4) Before you edit smb.conf you will need a shared files directory. I tend to use /usr/smbshares/files so that will be used in this example:

mkdir -p /usr/smbshares/files

SambaLESS Windows Printing

Printing from FreeBSD workstations to a Windows based print server without using Samba. I got fed up dinking with Samba in fairly short order, so this is the route I took. Enter CUPS (Common Unix Printing System). Works really well if you have no need for Netbios shares on your LAN. I also hear it works with Samba as well, but I didn’t spend any time on that.

Read on for information on how I got it working.

Read on for information on how I got it working.

Windows Server: