Aim
Trying to access Samba share from my RPi to all other machines within my LAN. If it's any help, my Samba version is 3.6.6.
Problem
The RPi is not showing up anywhere within the "Network" area of my Windows machines. I can not access the share by IP, either. However, I can of course ping both ways. I am greeted with the following message when I attempt to connect via IP:
The mapped network drive could not be created because the following error has occured: The account is not authorised for log in from this station.
Please see smb.conf
file below.
[global]
wins support = yes
workgroup = WORKGROUP
server string = %h server
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = no
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
[sharename]
comment = USB Share
path = /mnt/disk1
writable = Yes
only guest = Yes
create mask = 0777
directory mask = 0777
browseable = Yes
public = Yes
only guest = No
root@codaamok:/etc/samba#
Note
I have restart the Samba service, and I have tried \\192.168.0.5\sharename
. I feel I am missing something very important within my config file, although this is hardly a modification from default (other than the [sharename]
) which has worked before with no problem. If there is anything different between this time and the last, it would be that I actually upgraded to the latest wolfram-engine, whereas last time I didn't.
Also, /mnt/disk1 (including its parent) have 1777
permissions.
192.168.0.5
looks suspicious, there should not be '0' or '255' in IP address. – lenik Apr 11 '14 at 3:48security = user
. For some reason without this directive it did not enable me to see the share from Windows. Thanks anyway. – codaamok Apr 11 '14 at 17:53