linux:samba:samba_ad_dc_replication

差分

このページの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:
 ===== パッケージインストール ===== ===== パッケージインストール =====
 <code> <code>
-$ sudo yum install samba samba-dc samba-client tdb-tools psmisc krb5-workstation --enablerepo=mgc+$ sudo yum install samba samba-dc samba-client bind-utils \ 
 +tdb-tools psmisc krb5-workstation --enablerepo=mgc
 </code> </code>
  
 +wbinfoを使えるように以下もインストールしておくとよい。
 +<code>
 +$ sudo yum install samba-winbind-clients --enablerepo=mgc
 +</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]
行 115: 行 121:
 </code> </code>
  
-==== 生成された設定ファイルの内容 ====+==== 生成された設定ファイルの修正 ====
 <code> <code>
 $ cat /etc/samba/smb.conf $ cat /etc/samba/smb.conf
行 126: 行 132:
         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]
行 223: 行 231:
         Enabled        : TRUE         Enabled        : TRUE
         Server DNS name : blue-dc.fireball.local         Server DNS name : blue-dc.fireball.local
-        Server DN name  : CN=NTDS Settings,CN=BLUE-DC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fireball,DC=local+        Server DN name  : CN=NTDS Settings,CN=BLUE-DC,CN=Servers, 
 +CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fireball,DC=local
                 TransportType: RPC                 TransportType: RPC
                 options: 0x00000001                 options: 0x00000001
  • linux/samba/samba_ad_dc_replication.txt
  • 最終更新: 2019/05/18 02:23
  • by 非ログインユーザー