You are not logged in.
I have 2 samba shares. One needs a password, the other one doesn't. When trying to access the public one, after I logged in for the password protected, it rejects me with a permission denied. When going without a password, it let's me in
# Global parameters
[global]
dns proxy = No
map to guest = Bad User
max log size = 50
server role = standalone server
server string = Samba Server
idmap config * : backend = tdb
log level = 3 passdb:5 auth:5
[Cloud-Data]
comment = Media files
create mask = 0664
directory mask = 02775
force create mode = 0664
force directory mode = 02775
guest ok = Yes
path = /media/data
read only = No
[Marc-Home]
comment = Marc's private sambashare
path = /home/marc
read only = No
valid users = marc
Cheers
Last edited by TheGoliath (2018-09-22 20:00:27)
Offline
Solved using this version with according filesystem permissions and proper smb user.
# Global parameters
[global]
dns proxy = No
map to guest = Bad User
max log size = 50
server role = standalone server
server string = Samba Server
wins support = Yes
idmap config * : backend = tdb
workgroup = WORKGROUP
netbios name = Lemon
[Cloud-Data]
comment = Media files
create mask = 0664
directory mask = 02775
force create mode = 0664
force directory mode = 02775
guest ok = Yes
guest only = Yes
path = /media/data
read only = No
[Marc-Home]
browseable = No
comment = Marc's private sambashare
path = /home/marc
read only = No
valid users = marc
Cheers,
Felix aka TheGoliath
Offline