Accessing Vista shares from Samba
If you’re having trouble accessing Vista machines, from Samba (Linux), the following fix, works a treat:
- On the Vista machine, edit the registry (Ctrl-R for Run, and then trype ‘regedit’ and enter).
- Find the Key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"
- Create a new DWORD Value (Edit->New->DWORD Value), and call it “LocalAccountTokenFilterPolicy”. Set the Base to hexadecimal and the value data to ‘1′.
A restart on both machines is helpful incase previous failed attempts are cached, either in Linux or Vista.
The just proceed on the Linux box to mount your disks:
mount -t smbfs -o username=joe,password=bloggs //Joey/Users /mnt/joey
Another quick tip for Ubuntu users wanting to perform the samba mounts, make sure you have the smbfs package installed:
sudo apt-get install smbfs
References:
