Ok, this is ugly. But it works. I wanted my ds101 to be a wins-server. It would appear that this functionality has been removed from the samba included on the ds101.
To install samba on the slug, you will need the following:
- A machine with ipkg installed (You'll need it to extract the ipkgs from the nslu2 feed)
- A few packages from the feed, namely:
- popt_1.7-1_armeb.ipk (From the native feed)
Steps to install:
- mkdir temp
- wget the packages
- ipkg -o temp -nodeps <packagename>
- Copy all of the libs in temp/opt/lib to /lib on the ds101
- copy smbd and nmbd from temp/opt/somewhere to /usr/syno/sbin/ on the ds101
- edit /etc/rc and add
ln -s /volume1/opt /opt to the end of the file
- Reboot, and verify that /opt/etc exists and is a symlink. Samba will fail to start.
- set up so samba finds it config files:
ln -s /writeable/configs/usr/syno/etc/smb.conf /opt/etc/samba/smb.conf
ln -s /writeable/configs/usr/syno/etc/private/smbpasswd /opt/etc/samba/smbpasswd
ln -s /writeable/configs/usr/syno/etc/private/secrets.tdb /opt/etc/samba/smbpasswd
mkdir -p /volume1/opt/etc
- Reboot, and samba should now start. You should still be able to use the webinterface to manage it.