差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| linux:samba:samba_ad_dc_replication [2013/10/17 07:27] – [パッケージインストール] ともやん | linux:samba:samba_ad_dc_replication [2019/05/18 02:23] (現在) – 外部編集 非ログインユーザー | ||
|---|---|---|---|
| 行 8: | 行 8: | ||
| $ sudo yum install samba samba-dc samba-client bind-utils \ | $ sudo yum install samba samba-dc samba-client bind-utils \ | ||
| tdb-tools psmisc krb5-workstation --enablerepo=mgc | tdb-tools psmisc krb5-workstation --enablerepo=mgc | ||
| + | </ | ||
| + | |||
| + | wbinfoを使えるように以下もインストールしておくとよい。 | ||
| + | < | ||
| + | $ sudo yum install samba-winbind-clients --enablerepo=mgc | ||
| </ | </ | ||
| ===== Kerberosクライアントのデフォルト設定 ===== | ===== Kerberosクライアントのデフォルト設定 ===== | ||
| 行 40: | 行 45: | ||
| # admin_server = kerberos.example.com | # admin_server = kerberos.example.com | ||
| # } | # } | ||
| - |  | + |  | 
| - | kdc = blue-dc.fireball.local <- 追記 | + | kdc = blue-dc.fireball.local | 
| - |  | + | kdc = blue-dc1.fireball.local <- | 
| + |  | ||
| [domain_realm] | [domain_realm] | ||
| 行 73: | 行 79: | ||
| < | < | ||
| $ sudo samba-tool domain join fireball.local DC -Uadministrator --realm=fireball.local | $ sudo samba-tool domain join fireball.local DC -Uadministrator --realm=fireball.local | ||
| + | </ | ||
| + | < | ||
| Finding a writeable DC for domain ' | Finding a writeable DC for domain ' | ||
| Found DC blue-dc.fireball.local | Found DC blue-dc.fireball.local | ||
| 行 115: | 行 123: | ||
| </ | </ | ||
| - | ==== 生成された設定ファイルの内容 | + | ==== 生成された設定ファイルの修正 | 
| < | < | ||
| $ cat / | $ cat / | ||
| 行 126: | 行 134: | ||
| netbios name = BLUE-DC2 | netbios name = BLUE-DC2 | ||
| server role = active directory domain controller | server role = active directory domain controller | ||
| - | printing = bsd <- 追記 | + |  | 
| + | idmap_ldb: | ||
| + |  | ||
| [netlogon] | [netlogon] | ||
| 行 223: | 行 233: | ||
| Enabled | Enabled | ||
| Server DNS name : blue-dc.fireball.local | Server DNS name : blue-dc.fireball.local | ||
| - | Server DN name  : CN=NTDS Settings, | + | Server DN name  : CN=NTDS Settings, | 
| + | CN=Default-First-Site-Name, | ||
| TransportType: | TransportType: | ||
| options: 0x00000001 | options: 0x00000001 | ||