0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

krb5-configのapt installで設定画面が表示されなかった場合の再表示方法

Last updated at Posted at 2025-01-25

Ubuntu 24.10でsamba clientをWindows Domain (Active Directory) に参加させる際にkrb5-configのapt installでKerberos設定画面が表示されるはずなのですが、表示されなかったので手動で再表示させました。

sudo dpkg-reconfigure krb5-config
このコマンドを実行すると、Kerberos の設定画面が再度表示されます。以下の内容を入力してください:

Default Kerberos version 5 realm:

ドメイン名を大文字で入力 (例: EXAMPLE.COM)
Kerberos servers for your realm:

ドメインコントローラーのFQDNを入力 (例: dc.example.com)
Administrative server for your Kerberos realm:

管理サーバーのFQDNを入力 (通常はドメインコントローラーと同じ)
設定を保存して終了します。

/etc/krb5.conf を手動で書き換えてもOK。

[libdefaults]
    default_realms = EXAMPLE.COM
[realms]
        EXAMPLE.COM = {
                kdc = dc.example.com
                admin_server = dc.example.com
        }

設定を確認するには kinit で認証を試せばよい。何も表示されなければ成功。

$ kinit Administrator
Password for Administrator@EXAMPLE.COM:
$
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?