linux:samba:samba_ad_dc_replication

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:samba:samba_ad_dc_replication [2013/10/17 07:27] – [DC間のレプリケーション動作確認] ともやん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
 +</code>
 +
 +wbinfoを使えるように以下もインストールしておくとよい。
 +<code>
 +$ sudo yum install samba-winbind-clients --enablerepo=mgc
 </code> </code>
 ===== Kerberosクライアントのデフォルト設定 ===== ===== Kerberosクライアントのデフォルト設定 =====
行 40: 行 45:
 #  admin_server = kerberos.example.com #  admin_server = kerberos.example.com
 # } # }
- FIREBALL.LOCAL = {            <- + FIREBALL.LOCAL = {             <- 
-  kdc = blue-dc.fireball.local <- 追記 +  kdc = blue-dc.fireball.local  <- 追記 
-                             <-+  kdc = blue-dc1.fireball.local <- 
 +                              <-
  
 [domain_realm] [domain_realm]
行 73: 行 79:
 <code> <code>
 $ sudo samba-tool domain join fireball.local DC -Uadministrator --realm=fireball.local $ sudo samba-tool domain join fireball.local DC -Uadministrator --realm=fireball.local
 +</code>
 +<code>
 Finding a writeable DC for domain 'fireball.local' Finding a writeable DC for domain 'fireball.local'
 Found DC blue-dc.fireball.local Found DC blue-dc.fireball.local
行 115: 行 123:
 </code> </code>
  
-==== 生成された設定ファイルの内容 ====+==== 生成された設定ファイルの修正 ====
 <code> <code>
 $ cat /etc/samba/smb.conf $ cat /etc/samba/smb.conf
行 126: 行 134:
         netbios name = BLUE-DC2         netbios name = BLUE-DC2
         server role = active directory domain controller         server role = active directory domain controller
-        printing = bsd <- 追記+        dns forwarder = 192.168.1.10 <- 最初に構築したDCのIPアドレスを追記 
 +        idmap_ldb:use rfc2307 = yes  <- 追記 
 +        printing = bsd               <- 追記
  
 [netlogon] [netlogon]
  • linux/samba/samba_ad_dc_replication.1381962471.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)