<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Active Directory - カテゴリ - 気まぐれ</title><link>https://blog.onodai.com/categories/activedirectory/</link><description>適当に書いていきます</description><generator>Hugo 0.169.0 &amp; FixIt v1.0.0-beta.5</generator><language>ja-JP</language><lastBuildDate>Wed, 13 Mar 2019 02:27:59 +0900</lastBuildDate><atom:link href="https://blog.onodai.com/categories/activedirectory/index.xml" rel="self" type="application/rss+xml"/><item><title>CentOS7上にSamba4.9でActive Directoryを構築する</title><link>https://blog.onodai.com/posts/2019-03-13-wed/</link><pubDate>Tue, 12 Mar 2019 17:01:35 +0900</pubDate><guid>https://blog.onodai.com/posts/2019-03-13-wed/</guid><category domain="https://blog.onodai.com/categories/activedirectory/">Active Directory</category><description>&lt;p&gt;やっていきましょう。&lt;br&gt;&#10;基本的には、以下のページのとおりに勧めていく。&lt;br&gt;&#10;&lt;a href="https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller" target="_blank" rel="external nofollow noopener noreferrer"&gt;Setting up Samba as an Active Directory Domain Controller&lt;i class="fa-solid fa-external-link-alt fa-xs ms-1 text-secondary" aria-hidden="true"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 class="heading-element" id="前提"&gt;&lt;span&gt;前提&lt;/span&gt;&#10; &lt;a href="#%e5%89%8d%e6%8f%90" class="heading-mark"&gt;&lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&lt;ul&gt;&#10;&lt;li&gt;ドメイン名と、ドメインコントローラのホスト名は以下の通り&#10;&lt;ul&gt;&#10;&lt;li&gt;ドメイン名&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;contoso.local&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;ホスト名&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;dc01&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;静的IPアドレスが設定されていること&lt;/li&gt;&#10;&lt;li&gt;バックエンドのDNSサーバはBINDを使用する&#10;&lt;ul&gt;&#10;&lt;li&gt;既にBINDが動作している場合、&lt;code&gt;contoso.local&lt;/code&gt;ドメインは名前解決できないようにしておく&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;機能レベルは&lt;code&gt;Windows 2008 R2&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 class="heading-element" id="ホスト名の設定"&gt;&lt;span&gt;ホスト名の設定&lt;/span&gt;&#10; &lt;a href="#%e3%83%9b%e3%82%b9%e3%83%88%e5%90%8d%e3%81%ae%e8%a8%ad%e5%ae%9a" class="heading-mark"&gt;&lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;hostnamectl set-hostname dc01&lt;/code&gt;&lt;/pre&gt;&lt;h2 class="heading-element" id="hostsファイルの編集"&gt;&lt;span&gt;hostsファイルの編集&lt;/span&gt;&#10; &lt;a href="#hosts%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e7%b7%a8%e9%9b%86" class="heading-mark"&gt;&lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&#10;&lt;/h2&gt;&lt;p&gt;FQDNと短いホスト名がドメインコントローラのIPアドレスに正しく解決される必要があるため&lt;code&gt;hosts&lt;/code&gt;ファイルを編集する&lt;/p&gt;</description></item><item><title>Active Directory環境で使用されるポート</title><link>https://blog.onodai.com/posts/2018-04-26-wed/</link><pubDate>Thu, 26 Apr 2018 05:12:03 +0900</pubDate><guid>https://blog.onodai.com/posts/2018-04-26-wed/</guid><category domain="https://blog.onodai.com/categories/activedirectory/">Active Directory</category><description>&lt;p&gt;ドメコンとクライアントが別のセグメントに存在するとき、セグメントの境界にいるルータにACLを入れたらクライアントからドメコンに対して通信ができなくなったのでメモ&lt;br&gt;&#10;調べたらMSの公式ブログが引っかかった&lt;/p&gt;</description></item></channel></rss>