samba_config - zbunix/building GitHub Wiki

[global]
        workgroup = WORKGROUP
        server string = Samba

        log file = /var/log/samba/log.%m
        max log size = 50

        security = user
        passdb backend = tdbsam

        encrypt passwords=yes
        socket options = TCP_NODELAY
        #include = /etc/samba/smb.conf.%G

        load printers = no
        printing = bsd
        printcap name = /dev/null
        disable spoolss = yes

[homes]
        comment = Home Directories
        browseable = no
        writable = yes
        path = /home/%S/ard
        valid users = %S
        create mode = 0664   
        directory mode = 0775

[Public]
        comment = Public
        path = /home/qnap/Public
        browseable = yes
        writable = yes
        #write list = @samba-all
        #valid users = @samba-all
        write list = root os-weizb zbunix
        valid users = root os-weizb zbunix
        create mode = 0664   
        directory mode = 0775

[git]
        comment = git
        path = /home/git/repo
        browseable = yes
        writable = yes
        #write list = @samba-all
        #valid users = @samba-all
        write list = root os-weizb zbunix git
        valid users = root os-weizb zbunix git
        create mode = 0664   
        directory mode = 0775
⚠️ **GitHub.com Fallback** ⚠️