This are the steps i've done. Feel free to edit this page and make it better! I used some of shogyn's earlier pages.
Install Optware
See this page http://mybookworld.wikidot.com/optware
Install updated samba version
Get the latest versions:
ipkg-opt update
Upgrade existing installed software to latest version:
ipkg-opt upgrade
Install nessacery library:
ipkg-opt install libiconv
install samba35:
ipkg-opt install samba35
—> ignore the CUPS message, CUPS is only needed for printing
Now configure the mybook to use the updated version of samba
Make a backup of /etc/init.d/network_servers.sh:
cp /etc/init.d/network_servers.sh /etc/init.d/network_servers.sh.bak
Open /etc/init.d/network_servers.sh and find the following row:
$SCRIPTS_PATH/samba.sh start
Comment it out with a #
vi /etc/init.d/network_servers.sh
type <i> for insert
type <#> in front of the line "$SCRIPTS_PATH/samba.sh start"
type <esc> <:> <w> <q> to write the file to disk
Now the original Samba will not start anymore
Copy the original samba config file to the location of the new sambaversion:
cp /etc/smb.conf /opt/etc/samba/smb.conf
open the smb.conf
vi /opt/etc/samba/smb.conf
comment out the dummy headers and write the file:
type <i> for insert
type <#> to comment out the dummy header
type <esc> <:> <w> <q> to write the file to disk
The dummy headers now look like this:
#[dummy-2]
include=/var/oxsemi/shares.inc
#[dummy-3]
include=/var/oxsemi/senvid.inc
Backup /etc/inetd.conf:
cp /etc/inetd.conf /etc/inetd.conf.bak
Open /etc/inetd.conf and comment out the following line:
netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd -s/etc/smb.conf -l/var/log -d0
vi /etc/inetd.conf
type <i> for insert
type <#> in front of the line "netbios-ssn stream tcp nowait root /usr/local/samba/sbin/smbd smbd -s/etc/smb.conf -l/var/log -d0"
type <esc> <:> <w> <q> to write the file to disk
go to /usr/local and change the name of the samba dir:
cd /usr/local
mv samba samba.bak
Update library cache
type ldconfig to ensure all libraries are known
ldconfig
To be sure the users are kown with a samba35 password
add new sambausers:
/opt/bin/smbpasswd -a <username>
Finish
then reboot
reboot