差分
このページの2つのバージョン間の差分を表示します。
| 次のリビジョン | 前のリビジョン | ||
| linux:samba:samba_tool_smb_conf [2013/10/16 17:48] – 作成 ともやん | linux:samba:samba_tool_smb_conf [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== samba-toolで生成されるsmb.confの内容 ====== | ====== samba-toolで生成されるsmb.confの内容 ====== | ||
| - | |||
| - | ===== SAMBA_INTERNALを選んだ場合 ===== | ||
| < | < | ||
| $ sudo samba-tool domain provision --use-rfc2307 --interactive | $ sudo samba-tool domain provision --use-rfc2307 --interactive | ||
| </ | </ | ||
| + | |||
| + | ===== Server Role: dc、DNS backend: SAMBA_INTERNALを選んだ場合 ===== | ||
| <code autoconf> | <code autoconf> | ||
| # Global parameters | # Global parameters | ||
| 行 22: | 行 22: | ||
| path = / | path = / | ||
| read only = No | read only = No | ||
| + | </ | ||
| + | |||
| + | ===== Server Role: dc、DNS backend: BIND9_FLATFILE, | ||
| + | <code autoconf> | ||
| + | # 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: | ||
| + | |||
| + | [netlogon] | ||
| + | path = / | ||
| + | read only = No | ||
| + | |||
| + | [sysvol] | ||
| + | path = / | ||
| + | read only = No | ||
| + | </ | ||
| + | |||
| + | ===== Server Role: member、DNS backend: SAMBA_INTERNALを選んだ場合 ===== | ||
| + | <code autoconf> | ||
| + | # 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: | ||
| + | </ | ||
| + | |||
| + | ===== Server Role: member、DNS backend: BIND9_FLATFILE, | ||
| + | <code autoconf> | ||
| + | # 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: | ||
| + | </ | ||
| + | |||
| + | ===== Server Role: standalone、DNS backend: SAMBA_INTERNALを選んだ場合 ===== | ||
| + | <code autoconf> | ||
| + | # 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: | ||
| + | </ | ||
| + | |||
| + | ===== Server Role: standalone、DNS backend: BIND9_FLATFILE, | ||
| + | <code autoconf> | ||
| + | # 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: | ||
| </ | </ | ||