Hi all, I'm having some permission issues with a share. I'm sorry if I'm rehashing a common issue, I didn't find this in my search.
I have created a share, and two id's, one has read write access, one has read only.
Here's the settings I'm using:
http://imgur.com/gallery/gmzLC
The only problem is I can write when not logged in at all, and I don't need to login if I use the IP.
if I go to \\odroid\major\ I'm prompted for a password, and I won't be let in until I give it one. login as guest IS read only. login as general lets me write - that's what I'd expect.
If I use an IP directly, and I go to \\192.168.1.42\major\ I'm able to access it directly, with write capability, without login!
if it helps here's my smb.conf
Code
root@odroid:/etc/samba# cat smb.conf
#======================= Global Settings =======================
[global]
workgroup = WORKGROUP
server string = %h server
dns proxy = no
log level = 2
syslog = 2
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = yes
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = no
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
socket options = TCP_NODELAY IPTOS_LOWDELAY
guest account = nobody
load printers = no
disable spoolss = yes
printing = bsd
printcap name = /dev/null
unix extensions = yes
wide links = no
create mask = 0777
directory mask = 0777
use sendfile = yes
aio read size = 16384
aio write size = 16384
null passwords = no
local master = yes
time server = no
wins support = no
#======================= Share Definitions =======================
[major]
path = /media/64D042FBD042D2CA/major/
guest ok = no
read only = no
browseable = no
inherit acls = yes
inherit permissions = no
ea support = no
store dos attributes = no
printable = no
create mask = 0755
force create mode = 0644
directory mask = 0755
force directory mode = 0755
hide dot files = yes
valid users = "general","guest"
invalid users =
read list = "guest"
write list = "general"
Alles anzeigen