Here’s a procedure I found on taesch.com to ping a Ubuntu machine by the hostname from a Windows PC:
sudo vi /etc/nsswitch.conf
hosts: files wins dns
sudo aptitude install winbind
sudo aptitude install samba
SOURCE: http://taesch.com/my-digital-life/cant-ping-ubuntu-hostname-from-windows-xp-setup-winbind
Using FreeNAS 0.7 Khasadar (revision 4919) with CIFS/SMB Authentication Anonymous, I changed the Guest account for but it is not actually applying it to the configuration, it is a trivial bug and here’s a small dirty workaround.
1 – Create an excutable file containing this:
#!/bin/sh
# find and replace ‘ftp’ by ‘transmission’
sed -i. ’s/ftp/transmission/g’ /etc/rc.d/samba
# restart samba [...]
This will copy files with UTF-8 encoded characters filenames to new files with a ISO-8859-1 encoded filenames and, when everything is completed, will delete the old (UTF-8) files.
BE CAREFUL THIS IS NOT FOOL PROOF :) YOU MUST KNOW WHAT YOU ARE DOING TO NOT DOUBLE ENCODE THE CHARACTERS FILENAMES.
[cci]rsync SOURCE SAMEFORDESTINATION –recursive –human-readable –stats [...]