W
W
Winner_DE2015-03-03 20:44:51
linux
Winner_DE, 2015-03-03 20:44:51

Raise the samba configs to work with AD balls?

Give a couple of examples of configs and where to read about samba.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
ldv, 2015-03-03
@ldvldv

www.hexblot.com/blog/centos-7-active-directory-and...
samba.org
smb-conf.ru

V
vitaliy_saveliev, 2015-03-04
@vitaliy_saveliev

For Samba3, you can use the PBIS script, which greatly simplifies the configuration work: link habr
You can get information about the parameters from the link provided by ldvldv : smb-conf.ru
My config looks something like this:

[global]
        security = ADS
        workgroup = MYDOMAIN
        realm = MYDOMAIN.LOCAL
        server string = File Server %h

        load printers = no
        show add printer wizard = no
        printcap name = /dev/null
        disable spoolss = yes

        machine password timeout = 0
        map to guest = Bad User
        guest account = nobody

        winbind cache time = 30
        log file = /var/log/samba/log.%I.%m

[public]
        comment = Публичная директория
        path = /var/samba/public

        browseable = yes
        writeable = yes

        guest ok = yes
        force group = nogroup

        create mask = 0775
        directory mask = 0775

[admin]
        comment = Системные Администраторы
        path = /var/samba/admin

        browseable = yes
        writeable = yes

        valid users = @sysadm
        force group = +sysadm

        create mask = 0770
        directory mask = 0770

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question