samba-dc: Configure samba4 winbind

The *samba-dc* role now configures `winbindd` on domain controllers to
support identity mapping on the local machine. This will allow domain
users to log into the domain controller itself, e.g. via SSH.

The Fedora packaging of *samba4* still has some warts. Specifically, it
does not have a proper SELinux policy, so some work-arounds need to be
put into place in order for confined processes to communicate with
winbind.
This commit is contained in:
2018-03-11 18:02:51 -05:00
parent e99db22765
commit 5a91cb731a
7 changed files with 91 additions and 0 deletions

12
group_vars/samba-dc.yml Normal file
View File

@@ -0,0 +1,12 @@
samba_use_winbind: false
samba_server_role: active directory domain controller
samba_options:
- idmap_ldb:use rfc2307: 'yes'
samba_shares:
- name: sysvol
path: /var/lib/samba/sysvol
read_only: no
- name: netlogon
path: /var/lib/samba/sysvol/{{ krb5_realm|lower }}/scripts
read_only: no