2025-10-08 19:04:53 +02:00
|
|
|
[global]
|
|
|
|
|
workgroup = {{ ad_realm.split('.')[0] }}
|
|
|
|
|
security = ads
|
|
|
|
|
realm = {{ ad_realm }}
|
2025-10-09 17:25:12 +02:00
|
|
|
|
|
|
|
|
# users will be in the form username instead of DOMAIN\username.
|
2025-10-08 19:04:53 +02:00
|
|
|
winbind use default domain = true
|
2025-10-09 17:25:12 +02:00
|
|
|
|
2025-10-08 19:04:53 +02:00
|
|
|
winbind offline logon = false
|
|
|
|
|
dedicated keytab file = /etc/krb5.keytab
|
|
|
|
|
kerberos method = secrets and keytab
|
2025-10-09 17:25:12 +02:00
|
|
|
|
|
|
|
|
# Default ID mapping configuration for local BUILTIN accounts
|
|
|
|
|
# and groups on a domain member. The default (*) domain:
|
|
|
|
|
# - must not overlap with any domain ID mapping configuration!
|
|
|
|
|
# - must use a read-write-enabled back end, such as tdb.
|
2025-10-08 19:04:53 +02:00
|
|
|
idmap config * : backend = tdb
|
2025-10-09 17:25:12 +02:00
|
|
|
idmap config * : range = 3000-7999
|
|
|
|
|
|
|
|
|
|
# - You must set a DOMAIN backend configuration
|
|
|
|
|
# idmap config for the {{ ad_realm.split('.')[0] }} domain
|
2025-10-08 19:04:53 +02:00
|
|
|
idmap config {{ ad_realm.split('.')[0] }} : backend = rid
|
2025-10-09 17:25:12 +02:00
|
|
|
idmap config {{ ad_realm.split('.')[0] }} : range = 10000-999999
|
|
|
|
|
|
|
|
|
|
# Template settings for login shell and home directory
|
2025-10-08 19:04:53 +02:00
|
|
|
template shell = /bin/bash
|
|
|
|
|
template homedir = /home/%U
|