差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
linux:samba:samba_ad_dc_replication [2013/10/17 06:56] – [参考文献] ともやん | linux:samba:samba_ad_dc_replication [2013/11/20 16:17] – [パッケージインストール] ともやん | ||
---|---|---|---|
行 6: | 行 6: | ||
===== パッケージインストール ===== | ===== パッケージインストール ===== | ||
< | < | ||
- | $ sudo yum install samba samba-dc samba-client tdb-tools psmisc krb5-workstation --enablerepo=mgc | + | $ sudo yum install samba samba-dc samba-client |
+ | 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] | ||
行 115: | 行 121: | ||
</ | </ | ||
- | ==== 生成された設定ファイルの内容 | + | ==== 生成された設定ファイルの修正 |
< | < | ||
$ cat / | $ cat / | ||
行 126: | 行 132: | ||
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: | 行 231: | ||
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 |