I am quite new to Linux, we've done some of it at school (basic shell scripting and such). I'm using Ubuntu 11.04, I'm very impressed thus far but I've been trying to get Samba set up for the better part of 8 hours now with no luck.
(I'm trying to shift over my old Vista machine to Ubuntu while mimicking what I was doing with it as closely as possible - with the goal of sort of learning how to use Linux!)
Using Personal File Sharing I was able to see the shared folder in Windows, but unable to access it.
Apparently though this is not the way to gain access to the samba share from windows, so what should I set the linux permissions to before continuing on with samba? I am familiar with chmod - shouldn't have issues getting that right.
But what is my smb.conf supposed to look like, and should an additional user be created for the windows box to access the share?
At the moment I can only access the ubuntu machine using its IP and no shares are visible.
server string = Samba Server Version %v
encrypt passwords = No
map to guest = Bad User
obey pam restrictions = Yes
guest account = johan
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
guest ok = Yes
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
comment = Printer Drivers
path = /var/lib/samba/printers
comment = Shares
path = /home/johan/Share
read only = No
browseable = No
Any help would be much appreciated! :>