Accessing Vista with smbclient

Posted by Paul Farrow - Under: Hardware, Linux, Mini-ITX, Software

Just bought a new machine and decided to put VISTA on it.  Now biggest problem was accessing the shares via smbclient or Samba.  Hunted high and low on the net couldnt find anything not specific for VISTA and smbclient.

I then looked for windows xp and smbclient and found a post about changing a registry entry.  Up to this point I had tried everything everyone else was saying like enable file sharing, private sharing etc and couldnt get any of that too work at all.

Probably works via another vista machine but not from linux or my apple.

I upgraded samba to the latest version before doing this.  I then added a registry entry in \HKEY_LOCAL_MACHINE

\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

called LocalAccountTokenFilterPolicy which a hexadecimal value of 1 and bobs your uncle you should be able to access shares and admin shares such as C$ on the vista machine from smbclient or mounting it in the fstab.

Hope that helped you, it helped me no end as I was getting very frustrated about it.  And samba is key to my machines here.