Add more samba fixes and docs