Hi
I'm pretty new to this, please be patient if I need an explanation on things you'd consider simple.
I'm trying to set up a file share on a pi using samba. I've already set one up and it works a treat. For some reason, using the same laptop (windows 7 pro) it just will not let me access the second pi I'm setting up.
The samba config file doesn't list the work group, even though it's listed in the normal place in the config file. I've listed in the [homes] section and tested with a sudo testparm -s just to see if it reads it and it does throw a message telling me that it's in there.
Whenever I try to access the pi via Windows it tells me that I either do ot have permission or loops asking for the password. If I try to map a drive then I enter it as username "raspberrypi/pi" to ensure the correct domain. The domain on the laptop is set to WORKGROUP, the same as listed in the config file.
Here's the config file, Im hoping that the reason it won't share is because the workgroup isn't listed and someone can either tell me why it's not listed (and help me get it listed) or tell me it's irrelevant and the issue is somewhere else.
Here's the config file details:
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[pi]"
Processing section "[usb]"
Processing section "[itunes]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
server role = standalone server
obey pam restrictions = Yes
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* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
wins support = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[homes]
comment = Home Directories
valid users = @users
create mask = 0700
directory mask = 0700
browseable = No
[pi]
path = /home/pi
valid users = pi
read only = No
guest ok = Yes
[usb]
comment = hdd share
path = /mnt/disk2/
read only = No
create mask = 0777
directory mask = 0777
guest only = Yes
guest ok = Yes
[itunes]
path = /itunes
valid users = pi
read only = No
guest only = Yes
guest ok = Yes
As you can see, in the [global] section the workgroup isn't listed. It's driving me crazy and has been going on for about three days.
Any help is appreciated.
Thanks