You are not logged in.

#1 2018-08-17 13:07:52

TheGoliath
Member
From: Germany
Registered: 2017-03-24
Posts: 51
Website

[Solved] Samba share "Permission Denied"

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

#2 2018-09-22 20:01:28

TheGoliath
Member
From: Germany
Registered: 2017-03-24
Posts: 51
Website

Re: [Solved] Samba share "Permission Denied"

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

Board footer

Powered by FluxBB