Fix for samba required in Easy 4.2.2
Ooooh, I am kicking myself...
Easy from 4.1 does not have the 'samba' package builtin, you have
to install it via the package manager. But, do that, and it is
broken. Alfons got it working, by modifying /etc/samba/smb.conf.
But, that shouldn't be required...
Easy 4.2.2 has an entry for samba in file
/usr/local/petget/hacks-postinstall.sh, line 230:
samba-*) #20220628 easy dunfell. 20220629
[ -f /etc/init.d/samba ] && rm -f /etc/init.d/samba #we already have rc.samba
cp -a -f /mnt/.easy_ro/easy_sfs/etc/samba/* /etc/samba/
chmod 755 /etc/init.d/rc.samba
;;
That code applies fixes to the installed samba package, however
the case-statement was just "samba", whereas it should have been
"samba-*". You need to edit the file and insert that text shown in
red.
Do that, then install the samba package, and all should be OK.
This is the correct /etc/samba/smb.conf:
[global]
workgroup = WORKGROUP
server string = Puppy Samba Server
security = user
map to guest = Bad Password
printing = cups
printcap name = cups
load printers = yes
pid directory = /var/run
[puppyshare]
path = /files
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes'
Well, I think you should be good-to-go with
samba.
Tags: easy