$ sudo samba-tool domain provision --use-rfc2307 --interactive
Server Role: dc、DNS backend: SAMBA_INTERNALを選んだ場合
# Global parameters
[global]
workgroup = FIREBALL
realm = FIREBALL.LOCAL
netbios name = BLUE-DC
server role = active directory domain controller
dns forwarder = 192.168.1.10
idmap_ldb:use rfc2307 = yes
[netlogon]
path = /var/lib/samba/sysvol/fireball.local/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
Server Role: dc、DNS backend: BIND9_FLATFILE, BIND9_DLZ, NONEを選んだ場合
# Global parameters
[global]
workgroup = FIREBALL
realm = FIREBALL.LOCAL
netbios name = BLUE-DC
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
idmap_ldb:use rfc2307 = yes
[netlogon]
path = /var/lib/samba/sysvol/fireball.local/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
Server Role: member、DNS backend: SAMBA_INTERNALを選んだ場合
# Global parameters
[global]
workgroup = FIREBALL
realm = FIREBALL.LOCAL
netbios name = BLUE-DC
server role = member server
passdb backend = samba_dsdb
dns forwarder = 192.168.1.10
idmap_ldb:use rfc2307 = yes
Server Role: member、DNS backend: BIND9_FLATFILE, BIND9_DLZ, NONEを選んだ場合
# Global parameters
[global]
workgroup = FIREBALL
realm = FIREBALL.LOCAL
netbios name = BLUE-DC
server role = member server
passdb backend = samba_dsdb
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
idmap_ldb:use rfc2307 = yes
Server Role: standalone、DNS backend: SAMBA_INTERNALを選んだ場合
# Global parameters
[global]
workgroup = FIREBALL
realm = FIREBALL.LOCAL
netbios name = BLUE-DC
server role = standalone server
passdb backend = samba_dsdb
dns forwarder = 192.168.1.10
idmap_ldb:use rfc2307 = yes
Server Role: standalone、DNS backend: BIND9_FLATFILE, BIND9_DLZ, NONEを選んだ場合
# Global parameters
[global]
workgroup = FIREBALL
realm = FIREBALL.LOCAL
netbios name = BLUE-DC
server role = standalone server
passdb backend = samba_dsdb
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
idmap_ldb:use rfc2307 = yes