[Samba] authentication issues

Rowland Penny rpenny at samba.org
Fri Mar 9 17:27:13 UTC 2018


On Fri, 9 Mar 2018 16:55:24 +0000
peter lawrie <peter.lawrie at glendiscovery.co.uk> wrote:

> here is the current smb.conf

I would start with this smb.conf:

[global]
        workgroup = dpcl
        security = user
        netbios name = dpcl1
        server string = %h
        max server protocol = smb2
        cups options = raw
        printing = cups
        hosts allow = 127. 10.0.0.
        printcap name = cups
        log file = /var/log/samba/log.%m
        max log size = 500

[homes]
        browseable = No
        comment = Home Directories
        read only = no
        valid users = %S,%D%w%S
        inherit acls = Yes

[printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = root
        create mask = 0664
        directory mask = 0775

[company]
        read only = no
        path = /datastore/company
        force directory mode = 775
        force create mode = 775
        comment = company share
        valid users = @users, at accounts, at adm
        create mode = 775
        directory mode = 775
        
[accounts]
        force create mode = 755
        read only = no
        valid users = @accounts
        path = /datastore/accounts
        force directory mode = 755
        force group = accounts

I would also ensure the windows machines were using NTLMv2 as a minimum.

Rowland



More information about the samba mailing list