2015年5月3日

Debian環境でたのしくoctaveをつかうためのメモ

ゴールデンウィークなのでoctaveに(もう何回目かわからないけど)再挑戦。
特に書きたいアプリがなかったのが過去の敗因だと思うんだけど、今回は
courseraのMachine Learningコースをとって演習をするのにoctaveをつかっているから今までより身につくかも。

emacsのモード選択をObjectiveCよりOctaveを優先するようにする

~/.emacs に以下を入れる
(setq auto-mode-alist (cons '("\\.m\\'" . octave-mode) auto-mode-alist))

デフォルトのtoolkitをfltkからgnuplotにする

fltkだとimagescなどがうまく動かない(色の指定が反映されていないのか真っ白になってしまう)ので、gnuplotに変更する。

~/.octaverc に以下をいれる

graphics_toolkit("gnuplot")

2015年4月30日

RHEL HA add-on FAQ

  • RHEL HA add-onとは何ですか?
  • 「アプリケーションのフェイルオーバークラスタ機能」とは何ですか?
    • ものすごくざっくり言うと、デスクトップでよくやる「変な状態になったら再起動してみる」を、ソフトウェアで自動的におこなうための仕組みです。
    • アプリケーションの可用性を高めることが目的です。おかしな状態になった時にそのまま人が直すまでおかしいままにする(=使えない時間が増える=可用性が下がる)のではなく、自動的に検出してなんとかアプリケーションが動作している状態に戻そうとします。
    • 障害によってはうまくいかない場合もあります。
    • ハードウェアの障害にも対応するため、複数台のサーバで互いに監視しあい、必要に応じて再起動や、別のサーバでアプリケーションを起動しなおすなどの仕組みが含まれます。
  • HA add-onには何が含まれますか?
    • バージョンによって異なりますが、下記のソフトウェアが含まれます。
    • RHEL4/5/6 -  rgmanager/cman
    • RHEL 6.5以降, RHEL7 - pacemaker/corosync 
    • ※heartbeatはいずれのバージョンでも含まれません。他のadd-onによっても提供されません。
  • どういうときにHA add-onを買う必要がありますか?
    • RHEL ServerでHA add-onに含まれるソフトウェアを利用する時には購入をおねがいします。
  • HA add-onが利用できる環境をおしえてください
    • 単純にサーバを複数台用意するだけでなく、「fenceデバイス」が必要です。
      • 同時に2箇所以上で同じサービスを起動するとデータ破壊などの障害につながるケースがあります。これを避けるためにfenceという仕組みが導入されていて、このためのハードウェアまたは仮想化環境によるサービスを「fenceデバイス」と呼んでいて、HA add-onでは必須です。
    • https://access.redhat.com/articles/28603 に利用可能なfenceデバイスの一覧があります。
  • HA add-onは共有ストレージが必要ですか?
    • いいえ、不要です。
    • 必須ではありませんがサーバ2台でのクラスタを組むときは共有ストレージに10MB程度のqdiskと呼ばれる領域を確保することを推奨しています。
    • 複数のサーバでデータを共有したいなど、アプリケーションの要件によっては必要になることはあります。
  • HA add-onをインストールするにはどうしたらいいですか?
    • RHELのインストールDVDに、HA add-onのソフトウェアが含まれています
    • HA add-onのチャネルを選択することでインストーラで導入することが可能です
    • インストール後にyumで導入することも可能です
  • HA add-onは何と関係がないですか?
    • VMware製品やRHEVによる仮想マシンのHA機能、サードパーティ製のHAクラスタ製品には関係がありません。
    • これらを利用してHA add-onに含まれるソフトウェアを利用しない場合、購入する必要はありません。

2015年4月27日

KVM上のRHEL7.1にIdMをいれたメモ

- 乱数が不足すると遅延する。仮想マシンでやるときはrngデバイスをあらかじめつけておく

rhel7.1インストール。chronyを止めてntpdにしとく。

 [root@localhost ~]# systemctl stop chrony  
 Failed to issue method call: Unit chrony.service not loaded.  
 [root@localhost ~]# systemctl stop chronyd  
 [root@localhost ~]# systemctl disable chronyd  
 rm '/etc/systemd/system/multi-user.target.wants/chronyd.service'  
 [root@localhost ~]# systemctl enable ntpd  
 ln -s '/usr/lib/systemd/system/ntpd.service' '/etc/systemd/system/multi-user.target.wants/ntpd.service'  
 [root@localhost ~]# systemctl start ntpd  

yum install -y ipa-server

(依存関係でたくさん.273パッケージ116MB)

yum install bind bind-dyndb-ldap

hostnamectl set-hostname rhel71.example.com

逆引きできるように dnsmasq 設定を編集

 [root@snake ~]# virsh net-dumpxml default  
 <network>  
  <name>default</name>  
  <uuid>635536af-9e63-49b0-8c01-b7fd269417de</uuid>  
  <forward mode='nat'>  
   <nat>  
    <port start='1024' end='65535'/>  
   </nat>  
  </forward>  
  <bridge name='virbr0' stp='on' delay='0'/>  
  <mac address='52:54:00:2d:34:13'/>  
  <domain name='example.com'/>  
  <dns>  
   <host ip='192.168.122.100'>  
    <hostname>rhel71</hostname>  
   </host>  
  </dns>  
  <ip address='192.168.122.1' netmask='255.255.255.0'>  
   <dhcp>  
    <range start='192.168.122.1' end='192.168.122.64'/>  
   </dhcp>  
  </ip>  
 </network>  

rhel71.example.comで名前がひけるのと逆引きできるのの確認

 [root@localhost conf.d]# dig rhel71.example.com  
 ; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.1 <<>> rhel71.example.com  
 ;; global options: +cmd  
 ;; Got answer:  
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1062  
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1  
 ;; OPT PSEUDOSECTION:  
 ; EDNS: version: 0, flags:; udp: 4096  
 ;; QUESTION SECTION:  
 ;rhel71.example.com.      IN   A  
 ;; ANSWER SECTION:  
 rhel71.example.com.   0    IN   A    192.168.122.100  
 ;; Query time: 0 msec  
 ;; SERVER: 192.168.122.1#53(192.168.122.1)  
 ;; WHEN: Fri Mar 27 17:45:45 JST 2015  
 ;; MSG SIZE rcvd: 63  
 [root@localhost conf.d]# dig -t ptr 100.122.168.192.in-addr.arpa.  
 ; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.1 <<>> -t ptr 100.122.168.192.in-addr.arpa.  
 ;; global options: +cmd  
 ;; Got answer:  
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25537  
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1  
 ;; OPT PSEUDOSECTION:  
 ; EDNS: version: 0, flags:; udp: 4096  
 ;; QUESTION SECTION:  
 ;100.122.168.192.in-addr.arpa. IN   PTR  
 ;; ANSWER SECTION:  
 100.122.168.192.in-addr.arpa. 0 IN   PTR   rhel71.example.com.  
 ;; Query time: 0 msec  
 ;; SERVER: 192.168.122.1#53(192.168.122.1)  
 ;; WHEN: Fri Mar 27 17:45:37 JST 2015  
 ;; MSG SIZE rcvd: 89  

https://www.freeipa.org/page/Deployment_Recommendations IPv6スタックがsambaのために必要だけどIPv6は使いたくないので /etc/sysctl.d/ipv6.conf に以下のように書く

net.ipv6.conf.all.disable_ipv6 = 1 システムに反映する

sysctl --system

アドレス確認。ためしたときはネットワーク設定をしくじっていてnetmaskが/32だった。network addressがみつけられないとipa-server-installが警告して終了。警告のおかげでトラブルシュートはすんなりできた。

 # ip a  
 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN   
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00  
   inet 127.0.0.1/8 scope host lo  
     valid_lft forever preferred_lft forever  
 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000  
   link/ether 52:54:00:b2:26:df brd ff:ff:ff:ff:ff:ff  
   inet 192.168.122.100/24 brd 192.168.122.255 scope global eth0  
     valid_lft forever preferred_lft forever  
   inet6 fe80::5054:ff:feb2:26df/64 scope link   
     valid_lft forever preferred_lft forever  
ポートをあける

 # firewall-cmd --permanent --zone=public --add-port={80/tcp,443/tcp,389/tcp,636/tcp,88/tcp,464/tcp,53/tcp,88/udp,464/udp,53/udp,123/udp}  
 # firewall-cmd --reload  
 # firewall-cmd --list-all  
 public (default, active)  
  interfaces: eth0  
  sources:   
  services: dhcpv6-client ssh  
  ports: 443/tcp 80/tcp 464/tcp 88/udp 464/udp 88/tcp 123/udp 389/tcp 53/tcp 53/udp 636/tcp  
  masquerade: no  
  forward-ports:   
  icmp-blocks:   
  rich rules:   

ipa-server-install 実行。パスワードは8文字以上じゃないと怒られる。

 The log file for this installation can be found in /var/log/ipaserver-install.log  
 ==============================================================================  
 This program will set up the IPA Server.  
 This includes:  
  * Configure a stand-alone CA (dogtag) for certificate management  
  * Configure the Network Time Daemon (ntpd)  
  * Create and configure an instance of Directory Server  
  * Create and configure a Kerberos Key Distribution Center (KDC)  
  * Configure Apache (httpd)  
 To accept the default shown in brackets, press the Enter key.  
 WARNING: conflicting time&date synchronization service 'chronyd' will be disabled  
 in favor of ntpd  
 Do you want to configure integrated DNS (BIND)? [no]:   
 Enter the fully qualified domain name of the computer  
 on which you're setting up server software. Using the form  
 <hostname>.<domainname>  
 Example: master.example.com.  
 Server host name [rhel71.example.com]:   
 The domain name has been determined based on the host name.  
 Please confirm the domain name [example.com]:   
 The kerberos protocol requires a Realm name to be defined.  
 This is typically the domain name converted to uppercase.  
 Please provide a realm name [EXAMPLE.COM]:   
 Certain directory server operations require an administrative user.  
 This user is referred to as the Directory Manager and has full access  
 to the Directory for system management tasks and will be added to the  
 instance of directory server created for IPA.  
 The password must be at least 8 characters long.  
 Directory Manager password:   
 Password must be at least 8 characters long  
 Directory Manager password:   
 Password (confirm):   
 The IPA server requires an administrative user, named 'admin'.  
 This user is a regular system account used for IPA server administration.  
 IPA admin password:   
 Password (confirm):   
 The IPA Master Server will be configured with:  
 Hostname:    rhel71.example.com  
 IP address(es): 192.168.122.100  
 Domain name:  example.com  
 Realm name:   EXAMPLE.COM  
 Continue to configure the system with these values? [no]: yes  

client側で ipa-clientを入れる。

yum install -y ipa-client firewalldでポートをあける

 firewall-cmd --permanent --add-port=464/tcp --add-port={464,123}/udp  
 firewall-cmd --add-port=464/tcp --add-port={464,123}/udpsuccess  

クライアントでもntpdにする。

 [root@localhost ~]# systemctl stop chronyd  
 [root@localhost ~]# systemctl disable chronyd  
 rm '/etc/systemd/system/multi-user.target.wants/chronyd.service'  
 [root@localhost ~]# systemctl enable ntpd  
 ln -s '/usr/lib/systemd/system/ntpd.service' '/etc/systemd/system/multi-user.target.wants/ntpd.service'  
 [root@localhost ~]# systemctl start ntpd  

ipa-client-install を実行。IdMでDNSを管理していないので手動で設定。認証はKerberosなのでrealmつき(admin@EXAMPLE.COM)

 DNS discovery failed to determine your DNS domain  
 Provide the domain name of your IPA server (ex: example.com): example.com  
 Provide your IPA server name (ex: ipa.example.com): rhel71.example.com  
 The failure to use DNS to find your IPA server indicates that your resolv.conf file is not properly configured.  
 Autodiscovery of servers for failover cannot work with this configuration.  
 If you proceed with the installation, services will be configured to always access the discovered server for all operations and will not fail over to other servers in case of failure.  
 Proceed with fixed values and no DNS discovery? [no]: yes  
 Hostname: rhel7.example.com  
 Realm: EXAMPLE.COM  
 DNS Domain: example.com  
 IPA Server: rhel71.example.com  
 BaseDN: dc=example,dc=com  
 Continue to configure the system with these values? [no]: yes  
 Synchronizing time with KDC...  
 Unable to sync time with IPA NTP server, assuming the time is in sync. Please check that 123 UDP port is opened.  
 User authorized to enroll computers: admin@EXAMPLE.COM  
 Password for admin@EXAMPLE.COM:   
 Successfully retrieved CA cert  
   Subject:   CN=Certificate Authority,O=EXAMPLE.COM  
   Issuer:   CN=Certificate Authority,O=EXAMPLE.COM  
   Valid From: Fri Mar 27 10:46:47 2015 UTC  
   Valid Until: Tue Mar 27 10:46:47 2035 UTC  
 Enrolled in IPA realm EXAMPLE.COM  
 Created /etc/ipa/default.conf  
 New SSSD config will be created  
 Configured sudoers in /etc/nsswitch.conf  
 Configured /etc/sssd/sssd.conf  
 Configured /etc/krb5.conf for IPA realm EXAMPLE.COM  
 trying https://rhel71.example.com/ipa/json  
 Forwarding 'ping' to json server 'https://rhel71.example.com/ipa/json'  
 Forwarding 'ca_is_enabled' to json server 'https://rhel71.example.com/ipa/json'  
 Systemwide CA database updated.  
 Added CA certificates to the default NSS database.  
 Hostname (rhel7.example.com) not found in DNS  
 Failed to update DNS records.  
 Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub  
 Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub  
 Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub  
 Forwarding 'host_mod' to json server 'https://rhel71.example.com/ipa/json'  
 Could not update DNS SSHFP records.  
 SSSD enabled  
 Configured /etc/openldap/ldap.conf  
 NTP enabled  
 Configured /etc/ssh/ssh_config  
 Configured /etc/ssh/sshd_config  
 Configuring example.com as NIS domain.  
 Client configuration complete.  

2015年3月12日

freeの出力が大幅改善された話

最近freeコマンドを叩くとこんな感じで出力されます。

$ free

              total        used        free      shared  buff/cache   available
Mem:       20209620     3859396     6594188      502492     9756036    15323144
Swap:      32767996           0    32767996

availableってなんでしょう? そして -/+ buffers/cache の行がなくなっています。

その背景をちらっと紹介します。

最近linuxの3.14で/proc/meminfo に MemAvailable というフィールドが追加されました。RHEL7.0や6.6にもバックポートされています。(RHEL6.6では互換性に配慮してデフォルトではdisableされています)
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773

    /proc/meminfo: provide estimated available memory

    Many load balancing and workload placing programs check /proc/meminfo to
    estimate how much free memory is available.  They generally do this by
    adding up "free" and "cached", which was fine ten years ago, but is
    pretty much guaranteed to be wrong today.

    It is wrong because Cached includes memory that is not freeable as page
    cache, for example shared memory segments, tmpfs, and ramfs, and it does
    not include reclaimable slab memory, which can take up a large fraction
    of system memory on mostly idle systems with lots of files.

    Currently, the amount of memory that is available for a new workload,
    without pushing the system into swap, can be estimated from MemFree,
    Active(file), Inactive(file), and SReclaimable, as well as the "low"
    watermarks from /proc/zoneinfo.

    However, this may change in the future, and user space really should not
    be expected to know kernel internals to come up with an estimate for the
    amount of free memory.

    It is more convenient to provide such an estimate in /proc/meminfo.  If
    things change in the future, we only have to change it in one place.

    Signed-off-by: Rik van Riel 
    Reported-by: Erik Mouw 
    Acked-by: Johannes Weiner 
    Signed-off-by: Andrew Morton 
    Signed-off-by: Linus Torvalds 
このフィールドは「だいたいこのくらいはswap発生させずにアプリケーションがallcoateできそう」というメモリ量の推定です。
procps-ngに含まれるfreeコマンドがbuffer や cacheとして使われているメモリをfreeに足して表示する機能があった(過去形)ことも手伝って、これらを単純に全て「カーネルがパフォーマンス改善のために未使用メモリをうまいこと使っている」と見做してシステム管理している人が多くいます。しかしこの見方は正しくありません。buffer や cacheは非常に重要で、もしこれらが0になってしまえばシステムは全く稼動できないでしょう。どれくらい存在すれば十分なパフォーマンスがでるかも、アプリケーションの特性により非常に大きくかわります。

そこでもうちょっとましな推定値をつくろうということで導入されたのがMemAvailableです。現在の実装ではかならずしもカーネルの中でこの推定をする必要はないのですが、将来的にカーネルのメモリ管理のしくみが変わっても同じように利用できるよう追加されました。


さて、これにともなってprocps-ngも3.3.10で更新されています。このprocps-ng 3.3.10はRHEL7.1に含まれています。

availableフィールドを追加  https://gitorious.org/procps/procps/commit/ba6396f886f1a9911221e1c7c4b66dc75acb6948

MemAvailableがなくても同等の計算を他のフィールドからするfallback https://gitorious.org/procps/procps/commit/b779855cf15d68f9038ff1809db18c0788e9ae70

MemAvailableはあくまでざっくりした推定値なので、既存の統計情報を足したり引いたり適当な割り算をしたりして出しています。なので、その元になっているフィールドが提供されているlinux 2.6.27以降であれば同じような計算をしてavailableを出す機能です。
-----------------------------------------------------------
  /* zero? might need fallback for 2.6.27 <= kernel
  if (!kb_main_available) {
    if (linux_version_code < LINUX_VERSION(2, 6, 27))
      kb_main_available = kb_main_free;
    else {
      FILE_TO_BUF(VM_MIN_FREE_FILE, vm_min_free_fd);
      kb_min_free = (unsigned long) strtoull(buf,&tail,10);

      watermark_low = kb_min_free * 5 / 4; /* should be equal to sum of all 'low' fields in /proc/zoneinfo */

      mem_available = (signed long)kb_main_free - watermark_low
      + kb_inactive_file + kb_active_file - MIN((kb_inactive_file + kb_active_file) / 2, watermark_low)
      + kb_slab_reclaimable - MIN(kb_slab_reclaimable / 2, watermark_low);

      if (mem_available < 0) mem_available = 0;
      kb_main_available = (unsigned long)mem_available;
    }
  }
-----------------------------------------------------------
もはや不要となった free: remove -/+ buffers/cacheの削除  https://gitorious.org/procps/vnwildman-procps/commit/f47001c9e91a1e9b12db4497051a212cf49a87b1

そういうわけで、freeコマンドの出力が劇的に改善されたのでした。

2015年3月9日

RHELに機能拡張リクエストをだすためのノウハウ

RHELは当たり前のようにサポート窓口で機能拡張リクエストを受け付けるんですが、あまりそういうノウハウとか知られてない気がするのでメモ

ポリシー的に機能拡張が入れられるProduction 1の製品にリクエストを出す(今からならRHEL7)。

RHELにはライフサイクルポリシーがあります。この内機能拡張を入れることができるのはProduction 1とよばれる最初の4.5年間だけ。
今でているバージョンの次(時期によっては次の次)のバージョンがどのフェーズにあたるか確認すると無駄になりません。
Production 2以降では重大なバグの修正ならいいのですが機能拡張はポリシー上対応できません。

RHEL6のProduction1は2016年第2四半期におわるので、今から新規の機能をいれてと言うとほんとうにギリギリ。今からリクエストするならRHEL7が狙い目です。

できるだけ何をどうすればいいのか具体的にする(upstreamにパッチがあればそれを明記してとりこみをリクエスト) 

「それで結局何をどうしたいの?」というやりとりをやっている間に簡単に半年とかあっさり経過します。あらかじめ何をどうすればいいのか具体的なほうがよいです。

ただ自分でパッチを書くところは求められません。むしろupstreamのポリシーとずれたパッチをつくって「これ入れてくれ」というとあっさりrejectされてしまいます。対応方法ではなく目的がはっきりしていることが重要です。

リソースが潤沢にある場合にリクエストする側でできるベストの活動としては、upstreamのコミュニティに機能拡張を提案してパッチをつくりはじめ、並行してRHにリクエストをだす。というのがあります。なかなかここまでできるお客様はいらっしゃいませんが。。

そこまでできなくても「ぼくが欲しい出力のイメージはこんなの」みたいな例を書いてみるとか伝わりやすく工夫するのが大事です。

たくさんRH製品を買っている顧客の意見が重視されるのでたくさん買う(!)

文字通りです。レッドハットも商売なので。はははは。

自社ビジネスへのインパクトが大きいことを説明する

RHのサポートのあらゆる場面に言えることですが、基本的にインパクトが大きい人ほど優先して作業してもらえます。誰かの知的好奇心を満たすための説明や、審美眼的な問題、監視しづらいなどの理由だとないがしろにされ、サービスが停止してほんとうに困るという人が優先されます。

RH製品買ってない人はサポート窓口では対応できませんが  には書けます

普通はおすすめできないのですが、bugzillaにアカウントをつくって直接レポートするという手段もあります。ただしサポート窓口経由でないというだけで優先度は地の底まで下がります。製品を買っている人はサポート窓口経由でケースを開いた方が良いです。

顧客ではない場合、対応してもらえるという約束はありません。期待せずに待ちつづける根気が必要です。お客様のサポートのついでにチラ見してもらえるくらいの気持ちで。ありがちな問題であれば顧客が同じ問題にぶつかって対応してもらえることもあります。

あきらかなバグや問題でちょろいやつならbugzillaに直接レポートしても勝算はあります。upstreamのパッチとりこみで副作用がほとんどないとかですね。

なおbugzillaにいきなり書くときには「英語しか読めないエンジニアが直接読むのだ」ということを意識して、あらかじめ明らかなバグや修正まで問題をおとしておかないと「アカウント担当にいけ、ここはサポート窓口じゃないぞ」と言われてあっさりケースがcloseされます。

2015年3月4日

IPアドレスのvalid lifetime

ip addr とかで
3: em1: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether d4:3d:7e:dc:c8:ad brd ff:ff:ff:ff:ff:ff
    inet 10.64.193.115/23 brd 10.64.193.255 scope global dynamic em1
       valid_lft 82874sec preferred_lft 82874sec
    inet6 fe80::d63d:7eff:fedc:c8ad/64 scope link
       valid_lft forever preferred_lft forever
みたいになっているとき、em1のアドレスに有効期限がついている。
valid_lft 82874secが有効期限の設定。
この期限が切れた時には、kworkerがアドレスを切り離す。


これを設定しているのは /usr/sbin/dhclient-script で、以下みたいなコードで設定している。
ip -4 addr add ${new_ip_address}/${new_prefix} broadcast ${new_broadcast_address} dev ${interface} \
valid_lft ${new_dhcp_lease_time}
preferred_lft ${new_dhcp_lease_time} >/dev/null 2>&1

2014年10月29日

Q: RHEL7に同梱されたsamba4でActive Directoryのドメインコントローラは作れますか?

いいえ、作成できません。

RHELではMIT Kerberosを利用しておりますが、これとsamba のバージョン4でADドメインコントローラ機能を実装するために独自に実装されたHeimdalが競合するため、そもそもドメインコントローラ機能を同梱しておりません。

以下のドキュメント中にも、sambaでできないこととしてActive Directory のドメインコントローラ機能がございます。

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-File_and_Print_Servers.html#s1-Samba

What Samba cannot do:
  • Act as a BDC for a Windows PDC (and vice versa)
  • Act as an Active Directory domain controller
 この同梱されない事情について、Fedoraではsamba-dcパッケージが存在し、以下のように記載がございます。

 /usr/share/doc/samba-dc/README.dc
MIT Kerberos 5 Support
=======================

Fedora is using MIT Kerberos implementation as its Kerberos infrastructure of
choice. The Samba build in Fedora is using MIT Kerberos implementation in order
to allow system-wide interoperability between both desktop and server
applications running on the same machine.

At the moment the Samba Active Directory Domain Controller implementation is
not available with MIT Kereberos. FreeIPA and Samba Team members are currently
working on Samba MIT Kerberos support as this is a requirement for a GNU/Linux
distribution integration of Samba AD DC features.

We have just finished migrating the file server and all client utilities to MIT
Kerberos.  The result of this work is available in samba-* packages in Fedora.
We'll provide Samba AD DC functionality as soon as its support of MIT Kerberos
KDC will be ready.

In case of further questions do not hesitate to send your inquiries to
samba-owner@fedoraproject.org