You are not logged in.
I'm trying to access to a share with no password using nobody user.
Clicking on the share does not appear the dialog box where you need to enter your user name and password: simply told me that access is denied (from both Kubuntu and Win7).
# grep 'nobody' /etc/passwd
nobody:x:99:99:nobody:/:/bin/false
# cat /etc/samba/smbusers
nobody = guest
# cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
security = user
Map to guest = Bad User
username map = /etc/samba/smbusers
[fooshare]
comment = blablabla
path = /path/of/the/share
guest ok = yes
Last edited by addamm (2014-01-03 19:06:48)
Offline
semi-SOLVED.
The problem is that the path I wanted to share is owned by a user that is not 'nobody'.
- Used a new path in [fooshare] of smb.conf
- created the folder for the new path of [fooshare]
- CHanged OWNer to nobody:nobody
Now I can access to the new share with no password request.
But... Is there a way to access as a guest (with no password) to a share with a path that already has its own owner/group without changing them to nobody:nobody?
Offline
- security = user
+ security = share
"Note, security levels for a single Samba server cannot be mixed."
As it seems like you are possibly trying to mix both from your config file.
Share-level access is far less secure and old.
http://www.samba.org/samba/docs/using_s … -9-TABLE-4
but still works fine.
some concise examples https://www.centos.org/docs/5/html/Depl … rvers.html
Offline