smb.conf.j2 676 Bytes
Newer Older
Hinrikus Wolf's avatar
Hinrikus Wolf committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

# Global parameters
[global]
        workgroup = {{ smb_domain }}
        realm = {{ REALM }}
        netbios name = {{ ansible_hostname }}
        server role = active directory domain controller
        idmap_ldb:use rfc2307 = yes
        idmap config uid : range = 10000-20000
        idmap config gid : range = 10000-20000
        template shell = /bin/bash
        template homedir = /home/%U
        registry shares = no
	dns forwarder = {{ dns_forward }} 

        username map = /etc/samba/usermap.map

[netlogon]
        path = /var/lib/samba/sysvol/{{ domain }}/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No