I'm in the process of updating the version of Samba on my 1.5 TB MBWE II blue-ring but have hit a snag.
I'm following the instructions located here: http://mybookworld.wikidot.com/samba-update
Steps 1 and 2 are fine, but at Step 3, I start to run into issues, specifically:
1. Copy over the old config:
cp /etc/samba/smb.conf /opt/etc/samba/smb.conf
I don't have this file, but do have '/etc/smb.conf' - so I've backed this up.
2. Backup the old start script:
cp /etc/init.d/S90smbd /etc/init.d/_S90smbd
I don't have anything that looks remotely like this filename. The closest I have is 'samba.sh', which is also in '/etc/init.d/'
After I downloaded and installed the update using Step 2, the following update appeared:
The original samba version 2 config (/etc/samba/smb.conf) is no longer working with this version of samba.
Please create a new samba version 3 config (/opt/etc/samba/smb.conf).
After verify your smb.conf file, modify and execute /opt/etc/init.d/S08samba to activate the samba version 3.
I do have '/opt/etc/init.d/S08samba'. The contents are somewhat briefer (there aren't 37 lines, for a start):
- set samba_active=1 to activate samba
[ 1 = $samba_active ] || exit 0
if [ -n "`pidof smbd`" ] ; then
echo "Stopping smbd:"
if [ -n "`pidof nmbd`" ] ; then
echo "Stopping nmbd:"
echo "Starting nmbd:"
echo "Starting smbd:"
Any ideas as to what I should do from this point on? As I can't follow the deactivation instructions either, I don't know whether a restart of the device will kill Samba or not (I'm hoping not…).