Monday, July 21, 2008

How I Solved my Hardy Samba Vista Issues

As of Ubuntu 8.04, Samba Version 3.0.28a and Nautilus Share 0.7.2-0ubu

4 areas of concern, Hardy Issues, smb.conf, sharing and communication with Vista.

Hardy 8.04 Issues as of this post
  • I had issues with Samba conf files not getting reset, so I had to grab a copy from a LIVE-CD. involved me having install samba on it that didn't properly work either lol.
  • Browsing Vista Networks does not work anymore, however Vista could see Samba shares.
  • Sharing Folders was trivially hidden
smb.conf
By Default VISTA reads via NTVLMv2 only. Read here to make sure you can switch between NTVLMv2 and Samba policies here. Originally my smb.conf used to work and was VERY simple smb.conf it was:
[global]
workgroup = BURDEN
wins support = no
#client NTLMv2 auth = yes

#for vista compatibility
client lanman auth = no
client ntlmv2 auth = yes
domain logons = yes
guest account = nobody
I don't use this smb.conf setup any more. I used a fresh one from a LIVE-CD, which involved me installed Samba on there and then I emailed myself the smb.conf that was installed. The only thing I changed is WORKGROUP. But I still had issues trying to nagivagate through the networks.

Sharing
The "System->Administration->Shared Folders" application has gone, you can now right click any folder and there is "Sharing Options" in the popup menu :).




I used to be able to reinstall samba and a clean smb.conf file with the defaults used to reappear, now it doesn't. If you lost your smb.conf file or corrupted it, you get a recently clean one by installing Samba on a LIVE-CD boot. I then emailed it to me really :P Yes yes I've said this twice, means I've made my point.

Communicating with Vista
Temperary solution to mounting Vista Shares for me was mounting by "Places->Connect to Server". Change the type of share to "Windows Share" and then fill in like soo


You probably get promopted for a passsword or you get a mount point on the desktop, that means it worked :)

No comments: