[Samba] Samba shared folders and windows 7 permissions dialog.

PF4Public PF4Public at mail.ru
Thu Mar 23 17:26:38 UTC 2017


Here is the requested config:

[global]
     workgroup = workgroup
     netbios name = server
     server string = %h server
     wins support = yes
     dns proxy = no
     name resolve order = host wins lmhosts bcast
     interfaces = 127.0.0.0/8 192.168.1.1
     smb ports= 445 139
     bind interfaces only = yes
     log file = /var/log/samba/log.%m
     log level = 1
     max log size = 1000
     panic action = /usr/share/samba/panic-action %d
     security = user
     encrypt passwords = yes
     passdb backend = ldapsam:ldap://localhost
     ldap admin dn = "cn=admin,dc=server"
     ldap delete dn = no
     ldap user suffix = ou=users
     ldap group suffix = ou=groups
     ldap machine suffix = ou=machines
     ldap suffix = dc=server
     ldap ssl = off
     load printers = yes
     printing = cups
     printcap name = cups
     socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
     usershare max shares = 0
     rpc_server:spoolss = external
     rpc_daemon:spoolssd = fork
     host msdfs = no
[homes]
    comment = Home Directories
    browseable = no
    read only = no
    create mask = 0700
    directory mask = 0700
    valid users = %S
[printers]
    comment = All Printers
    browseable = yes
    path = /var/spool/samba
    printable = yes
    guest ok = yes
    use client driver=no
[print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    writable = yes
    write list =  root
[acltest]
    path = /acltest
    read only = no
    vfs objects = acl_xattr
    map acl inherit = yes
    store dos attributes = yes
...
aand the rest of the shares
...


22.03.2017 20:10, Rowland Penny via samba wrote:
> On Wed, 22 Mar 2017 19:20:57 +0300
> PF4Public via samba <samba at lists.samba.org> wrote:
>
>> "uname -a" gives Linux 4.9.0-1-amd64 #1 SMP Debian 4.9.2-2
>> (2017-01-12) x86_64 GNU/Linux
>>
>> "samba -V" : Version 4.5.6-Debian
>>
>> It is a standalone server with "security = user" and "passdb backend
>> = ldapsam:ldap://localhost"
>>
> That is a very brief smb.conf ;-)
>
> [global]
>      security = user
>      passdb backend = ldapsam:ldap://localhost
>
> Any chance we can see the rest (as Louis asked) ????
>
> Rowland
>
>
>




More information about the samba mailing list