RedHat Identify Managerインストール&セットアップのメモ

RedHat Enterprise Linuxにおける統合認証基盤としてIdentify Managerというのが用意されている

これは、FreeIPAのRedHat提供版となる。

現在利用している環境へのLinuxサーバ追加を行う手順を確認するために、IdM環境を作成してみようとしている

RHEL10でのマニュアル「Identity Management
 サーバの構築「Identity Management のインストール
 Identity Management の計画第1章 RHEL における IdM とアクセス制御の概要
  → 1.3. IdM のサーバーおよびクライアントの概要
 参加するクライアントに関する設定「Identity Management サービスへのアクセス

サーバ側のインストール

サーバの構築「Identity Management のインストール」を参照しつつ設定

(0) パッケージの追加

DNS名前解決確認に使うdigコマンドが最小限インストールだとインストールされていない

[root@idm ~]# dnf install bind-utils
Last metadata expiration check: 0:35:51 ago on Mon Mar 23 11:01:33 2026.
Dependencies resolved.
================================================================================
 Package           Arch        Version                     Repository      Size
================================================================================
Installing:
 bind-utils        x86_64      32:9.18.33-10.el10_1.2      appstream      217 k
Installing dependencies:
 bind-libs         x86_64      32:9.18.33-10.el10_1.2      appstream      1.3 M
 bind-license      noarch      32:9.18.33-10.el10_1.2      appstream       13 k
 fstrm             x86_64      0.6.1-12.el10               appstream       28 k
 libmaxminddb      x86_64      1.9.1-4.el10                appstream       42 k
 libuv             x86_64      1:1.51.0-1.el10_0           appstream      262 k
 protobuf-c        x86_64      1.5.0-6.el10                baseos          32 k

Transaction Summary
================================================================================
Install  7 Packages

Total download size: 1.9 M
Installed size: 5.0 M
Is this ok [y/N]: y
<略>
Installed:
  bind-libs-32:9.18.33-10.el10_1.2.x86_64
  bind-license-32:9.18.33-10.el10_1.2.noarch
  bind-utils-32:9.18.33-10.el10_1.2.x86_64
  fstrm-0.6.1-12.el10.x86_64
  libmaxminddb-1.9.1-4.el10.x86_64
  libuv-1:1.51.0-1.el10_0.x86_64
  protobuf-c-1.5.0-6.el10.x86_64

Complete!
[root@idm ~]

(1) DNSへの登録状況確認

ホスト名がDNSに登録されているか確認

まず、現状のホスト名とIPアドレスを確認

[root@idm ~]# hostname
idm.adsample.local
[root@idm ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: ens34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:0c:29:2a:9a:b6 brd ff:ff:ff:ff:ff:ff
    altname enp2s2
    altname enx000c292a9ab6
    inet 192.168.1.12/24 brd 192.168.1.255 scope global noprefixroute ens34
       valid_lft forever preferred_lft forever
    inet6 240b:10:aa20:6e00:20c:29ff:fe2a:9ab6/64 scope global dynamic noprefixroute
       valid_lft 86395sec preferred_lft 14395sec
    inet6 fe80::20c:29ff:fe2a:9ab6/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
[root@idm ~]#

digコマンドで名前解決確認

[root@idm ~]# dig +short `hostname` A
192.168.1.12
[root@idm ~]# dig +short `hostname` AAAA
[root@idm ~]#

IPv6アドレスを登録していなかったので、DNSにAAAAレコードを追加して再確認

[root@idm ~]# dig +short `hostname` AAAA
240b:10:aa20:6e00:20c:29ff:fe2a:9ab6
[root@idm ~]#

続いて逆引きを確認

[root@idm ~]# dig +short -x 192.168.1.12
idm.adsample.local.
[root@idm ~]# dig +short -x 240b:10:aa20:6e00:20c:29ff:fe2a:9ab6
idm.adsample.local.
[root@idm ~]#

firewallのポート開け

1.6. IdM のポート要件 には下記の様にある

サービスポートプロトコル
HTTP/HTTPS80、443TCP
LDAP/LDAPS389、636TCP
Kerberos88、464TCP および UDP
DNS53TCP および UDP (任意)

現状の設定を確認

[root@idm ~]# firewall-cmd --list-all
public (default, active)
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: ens34
  sources:
  services: cockpit dhcpv6-client ssh
  ports:
  protocols:
  forward: yes
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
[root@idm ~]#

RHEL10にあるテンプレサービス定義を確認

[root@idm ~]# firewall-cmd --get-services
0-AD RH-Satellite-6 RH-Satellite-6-capsule afp alvr amanda-client amanda-k5-client amqp amqps anno-1602 anno-1800 apcupsd aseqnet audit ausweisapp2 bacula bacula-client bareos-director bareos-filedaemon bareos-storage bb bgp bitcoin bitcoin-rpc bitcoin-testnet bitcoin-testnet-rpc bittorrent-lsd ceph ceph-exporter ceph-mon cfengine checkmk-agent civilization-iv civilization-v cockpit collectd condor-collector cratedb ctdb dds dds-multicast dds-unicast dhcp dhcpv6 dhcpv6-client distcc dns dns-over-quic dns-over-tls docker-registry docker-swarm dropbox-lansync elasticsearch etcd-client etcd-server factorio finger foreman foreman-proxy freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust ftp galera ganglia-client ganglia-master git gitea gpsd grafana gre high-availability http http3 https ident imap imaps iperf2 iperf3 ipfs ipp ipp-client ipsec irc ircs iscsi-target isns jenkins kadmin kdeconnect kerberos kibana klogin kpasswd kprop kshell kube-api kube-apiserver kube-control-plane kube-control-plane-secure kube-controller-manager kube-controller-manager-secure kube-nodeport-services kube-scheduler kube-scheduler-secure kube-worker kubelet kubelet-readonly kubelet-worker ldap ldaps libvirt libvirt-tls lightning-network llmnr llmnr-client llmnr-tcp llmnr-udp managesieve matrix mdns memcache minecraft minidlna mndp mongodb mosh mountd mpd mqtt mqtt-tls ms-wbt mssql murmur mysql nbd nebula need-for-speed-most-wanted netbios-ns netdata-dashboard nfs nfs3 nmea-0183 nrpe ntp nut opentelemetry openvpn ovirt-imageio ovirt-storageconsole ovirt-vmconsole plex pmcd pmproxy pmwebapi pmwebapis pop3 pop3s postgresql privoxy prometheus prometheus-node-exporter proxy-dhcp proxy-http ps2link ps3netsrv ptp pulseaudio puppetmaster quassel radius radsec rdp redis redis-sentinel rootd rpc-bind rquotad rsh rsyncd rtsp salt-master samba samba-client samba-dc sane settlers-history-collection sip sips slimevr slp smtp smtp-submission smtps snmp snmptls snmptls-trap snmptrap socks spideroak-lansync spotify-sync squid ssdp ssh statsrv steam-lan-transfer steam-streaming stellaris stronghold-crusader stun stuns submission supertuxkart svdrp svn syncthing syncthing-gui syncthing-relay synergy syscomlan syslog syslog-ng syslog-tls telnet tentacle terraria tftp tile38 tinc tor-socks transmission-client turn turns upnp-client vdsm vnc-server vrrp warpinator wbem-http wbem-https wireguard ws-discovery ws-discovery-client ws-discovery-host ws-discovery-tcp ws-discovery-udp wsman wsmans xdmcp xmpp-bosh xmpp-client xmpp-local xmpp-server zabbix-agent zabbix-java-gateway zabbix-server zabbix-trapper zabbix-web-service zero-k zerotier
[root@idm ~]#

マニュアルだと「freeipa-4 dns」とあるけど、freeipaは freeipa-4 freeipa-ldap freeipa-ldaps freeipa-replication freeipa-trust と種類がいろいろある、どういう違いがあるのか確認。参考としてActive Directoryをsambaで立てた場合のsamba-dc定義も比較

ポートfreeipa-4freeipa-ldapfreeipa-ldapsfreeipa-trustdnssamba-dc
80http(tcp)80(tcp)80(tcp)
443https(tcp)443(tco)443(tcp)
389ldap(tcp)389(tcp)389(tcp/udp)ldap(tcp)
389(udp)
636ldaps(tcp)636(tcp)
ldaps(tcp)
88kerberos(tcp/udp)88(tcp/udp)88(tcp/udp)
kerberos(tcp/udp)
464kpasswd(tcp/udp)464(tcp/udp)464(tcp/udp)
kpasswd(tcp/udp)
NTP(123)123(udp)123(udp)
DCE/RPC Locator Service(135)135(tcp)135(tcp)
137-139138-139(tcp/udp)137(udp)
138(udp)
139(tcp)
445445(tcp/udp)445(tcp)
Dynamic RPC Ports(49152-65535)49152-65535(tcp)49152-65535(tcp)
Global Catalog(3268)3268(tcp)3268(tcp)
Global Catalog SSL(3269)3269(tcp)
5353(tcp/udp)dns(tcp/udp)

freeipa-ldapとfreeipa-ldapsはNTPアクセスを追加してるけど、マニュアル指定のfreeipa-4だとNTPは省かれている

とりあえず、マニュアル通りにfreeipa-4とdnsで設定

[root@idm ~]# firewall-cmd --permanent --add-service=freeipa-4
success
[root@idm ~]# firewall-cmd --permanent --add-service=dns
success
[root@idm ~]# firewall-cmd --reload
success
[root@idm ~]# firewall-cmd --list-all
public (default, active)
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: ens34
  sources:
  services: cockpit dhcpv6-client dns freeipa-4 ssh
  ports:
  protocols:
  forward: yes
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
[root@idm ~]#

IdMサーバのインストール

マニュアル「1.8. IdM サーバーに必要なパッケージのインストール」はRedHatの時のやつなので、AlmaLinux 10の場合、パッケージがあるかを確認

[root@idm ~]# dnf search ipa-server
Last metadata expiration check: 3:17:47 ago on Mon Mar 23 12:14:08 2026.
============================================= Name Exactly Matched: ipa-server =============================================
ipa-server.x86_64 : The IPA authentication server
================================================= Name Matched: ipa-server =================================================
ipa-server-common.noarch : Common files used by IPA server
ipa-server-dns.noarch : IPA integrated DNS server with support for automatic DNSSEC signing
ipa-server-encrypted-dns.x86_64 : support for encrypted DNS in IPA integrated DNS server
ipa-server-trust-ad.x86_64 : Virtual package to install packages required for Active Directory trusts
[root@idm ~]# dnf info ipa-server
Last metadata expiration check: 3:20:51 ago on Mon Mar 23 12:14:08 2026.
Available Packages
Name         : ipa-server
Version      : 4.12.2
Release      : 24.el10_1.2
Architecture : x86_64
Size         : 400 k
Source       : ipa-4.12.2-24.el10_1.2.src.rpm
Repository   : appstream
Summary      : The IPA authentication server
URL          : http://www.freeipa.org/
License      : GPL-3.0-or-later
Description  : IPA is an integrated solution to provide centrally managed Identity (users,
             : hosts, services), Authentication (SSO, 2FA), and Authorization
             : (host access control, SELinux user roles, services). The solution provides
             : features for further integration with Linux based clients (SUDO, automount)
             : and integration with Active Directory based infrastructures (Trusts).
             : If you are installing an IPA server, you need to install this package.

[root@idm ~]#

特に追加設定しなくともインストールができそうです

今回は「統合 DNS のない IdM サーバー」を作るので ipa-server のみインストールします

[root@idm ~]# dnf install ipa-server
Last metadata expiration check: 3:21:57 ago on Mon Mar 23 12:14:08 2026.
Dependencies resolved.
============================================================================================================================
 Package                                       Architecture Version                                   Repository       Size
============================================================================================================================
Installing:
 ipa-server                                    x86_64       4.12.2-24.el10_1.2                        appstream       400 k
Installing dependencies:
 389-ds-base                                   x86_64       3.1.3-7.el10_1                            appstream       2.8 M
 389-ds-base-libs                              x86_64       3.1.3-7.el10_1                            appstream       1.5 M
 ModemManager-glib                             x86_64       1.22.0-7.el10                             baseos          319 k
 acl                                           x86_64       2.3.2-4.el10                              baseos           79 k
 adwaita-cursor-theme                          noarch       46.0-3.el10                               appstream       522 k
 adwaita-icon-theme                            noarch       46.0-3.el10                               appstream       455 k
 almalinux-logos-httpd                         noarch       100.3-3.el10_0                            appstream        18 k
 almalinux-logos-ipa                           noarch       100.3-3.el10_0                            appstream        20 k
 alsa-lib                                      x86_64       1.2.14-2.el10_1                           appstream       508 k
 apache-commons-cli                            noarch       1.6.0-6.el10                              appstream        76 k
 apache-commons-codec                          noarch       1.17.1-1.el10                             appstream       313 k
 apache-commons-io                             noarch       1:2.16.1-1.el10                           appstream       478 k
 apache-commons-lang3                          noarch       3.14.0-6.el10                             appstream       617 k
 apache-commons-logging                        noarch       1.3.4-1.el10                              appstream        94 k
 apache-commons-net                            noarch       3.10.0-6.el10                             appstream       304 k
 apr                                           x86_64       1.7.5-2.el10                              appstream       128 k
 apr-util                                      x86_64       1.6.3-23.el10_1                           appstream        97 k
 apr-util-lmdb                                 x86_64       1.6.3-23.el10_1                           appstream        13 k
 at-spi2-atk                                   x86_64       2.56.1-1.el10                             appstream        86 k
 at-spi2-core                                  x86_64       2.56.1-1.el10                             appstream       363 k
 atk                                           x86_64       2.56.1-1.el10                             appstream        80 k
 augeas-libs                                   x86_64       1.14.2-0.3.20250224git6ee1282.el10        appstream       428 k
 autofs                                        x86_64       1:5.1.9-13.el10                           baseos          381 k
 avahi-glib                                    x86_64       0.9~rc2-2.el10                            appstream        14 k
 bluez-libs                                    x86_64       5.83-2.el10                               baseos           80 k
 cairo                                         x86_64       1.18.2-2.el10                             appstream       713 k
 cairo-gobject                                 x86_64       1.18.2-2.el10                             appstream        17 k
 certmonger                                    x86_64       0.79.20-3.el10                            appstream       608 k
 checkpolicy                                   x86_64       3.9-1.el10                                appstream       366 k
 cmake-filesystem                              x86_64       3.30.5-3.el10_0                           appstream        15 k
 colord-libs                                   x86_64       1.4.7-6.el10                              appstream       229 k
 cups-filesystem                               noarch       1:2.4.10-12.el10_1.2                      baseos           11 k
 cups-libs                                     x86_64       1:2.4.10-12.el10_1.2                      baseos          260 k
 cyrus-sasl-md5                                x86_64       2.1.28-29.el10                            appstream        43 k
 cyrus-sasl-plain                              x86_64       2.1.28-29.el10                            baseos           23 k
 dbus-tools                                    x86_64       1:1.14.10-5.el10                          baseos           53 k
 default-fonts-core-sans                       noarch       4.1-3.el10                                baseos           34 k
 ecj                                           noarch       1:4.23-11.el10                            appstream       2.4 M
 exempi                                        x86_64       2.6.4-7.el10                              appstream       586 k
 exiv2-libs                                    x86_64       0.28.3-5.el10                             appstream       899 k
 fdk-aac-free                                  x86_64       2.0.0-15.el10                             appstream       339 k
 fftw-libs-single                              x86_64       3.3.10-15.el10                            appstream       1.1 M
 flac-libs                                     x86_64       1.4.3-6.el10                              appstream       263 k
 fontawesome4-fonts                            noarch       1:4.7.0-23.el10                           appstream       204 k
 fontconfig                                    x86_64       2.15.0-7.el10                             appstream       273 k
 fonts-filesystem                              noarch       1:2.0.5-18.el10                           baseos          7.7 k
 fribidi                                       x86_64       1.0.14-4.el10                             appstream        91 k
 fuse-common                                   x86_64       3.16.2-5.el10                             baseos          7.5 k
 fuse3                                         x86_64       3.16.2-5.el10                             baseos           60 k
 gdk-pixbuf2                                   x86_64       2.42.12-4.el10_0                          appstream       470 k
 gdk-pixbuf2-modules                           x86_64       2.42.12-4.el10_0                          appstream        28 k
 geoclue2                                      x86_64       2.7.2-1.el10                              appstream       148 k
 giflib                                        x86_64       5.2.1-22.el10                             appstream        52 k
 google-noto-fonts-common                      noarch       20240401-5.el10                           baseos           17 k
 google-noto-sans-vf-fonts                     noarch       20240401-5.el10                           baseos          593 k
 gpgmepp                                       x86_64       1.23.2-6.el10.alma.1                      appstream       140 k
 graphene                                      x86_64       1.10.6-10.el10                            appstream        61 k
 gsettings-desktop-schemas                     x86_64       47.1-3.el10_0                             baseos          765 k
 gsm                                           x86_64       1.0.22-8.el10                             appstream        36 k
 gssproxy                                      x86_64       0.9.2-10.el10                             baseos          120 k
 gstreamer1                                    x86_64       1.24.11-1.el10                            appstream       1.6 M
 gstreamer1-plugins-base                       x86_64       1.24.11-1.el10                            appstream       2.1 M
 gtk-update-icon-cache                         x86_64       3.24.43-4.el10                            appstream        33 k
 hicolor-icon-theme                            noarch       0.17-20.el10                              appstream        66 k
 httpcomponents-client                         noarch       4.5.14-9.el10                             appstream       663 k
 httpcomponents-core                           noarch       4.4.16-9.el10                             appstream       639 k
 httpd                                         x86_64       2.4.63-4.el10_1.3                         appstream        47 k
 httpd-core                                    x86_64       2.4.63-4.el10_1.3                         appstream       1.4 M
 httpd-filesystem                              noarch       2.4.63-4.el10_1.3                         appstream        13 k
 httpd-tools                                   x86_64       2.4.63-4.el10_1.3                         appstream        81 k
 idm-jss                                       x86_64       5.7.0-2.el10                              appstream       1.4 M
 idm-jss-tomcat                                x86_64       5.7.0-2.el10                              appstream        39 k
 idm-ldapjdk                                   noarch       5.6.0-1.el10                              appstream       472 k
 idm-pki-acme                                  noarch       11.7.0-2.el10                             appstream       162 k
 idm-pki-base                                  noarch       11.7.0-2.el10                             appstream       159 k
 idm-pki-ca                                    noarch       11.7.0-2.el10                             appstream       1.8 M
 idm-pki-java                                  noarch       11.7.0-2.el10                             appstream       3.9 M
 idm-pki-kra                                   noarch       11.7.0-2.el10                             appstream       348 k
 idm-pki-server                                noarch       11.7.0-2.el10                             appstream       3.4 M
 idm-pki-tools                                 x86_64       11.7.0-2.el10                             appstream       837 k
 inih-cpp                                      x86_64       58-3.el10                                 appstream        18 k
 ipa-client                                    x86_64       4.12.2-24.el10_1.2                        appstream       131 k
 ipa-client-common                             noarch       4.12.2-24.el10_1.2                        appstream        42 k
 ipa-common                                    noarch       4.12.2-24.el10_1.2                        appstream       683 k
 ipa-healthcheck-core                          noarch       0.16-11.el10                              appstream        66 k
 ipa-selinux                                   noarch       4.12.2-24.el10_1.2                        appstream        37 k
 ipa-server-common                             noarch       4.12.2-24.el10_1.2                        appstream       445 k
 iso-codes                                     noarch       4.16.0-6.el10                             appstream       3.6 M
 java-21-openjdk                               x86_64       1:21.0.10.0.7-1.el10.alma.1               appstream       428 k
 java-21-openjdk-devel                         x86_64       1:21.0.10.0.7-1.el10.alma.1               appstream       5.0 M
 java-21-openjdk-headless                      x86_64       1:21.0.10.0.7-1.el10.alma.1               appstream        48 M
 javapackages-filesystem                       noarch       6.4.0-1.el10                              appstream        12 k
 javapackages-tools                            noarch       6.4.0-1.el10                              appstream        39 k
 jbigkit-libs                                  x86_64       2.1-31.el10                               appstream        53 k
 krb5-pkinit                                   x86_64       1.21.3-8.el10_0                           baseos           60 k
 krb5-server                                   x86_64       1.21.3-8.el10_0                           baseos          298 k
 krb5-workstation                              x86_64       1.21.3-8.el10_0                           baseos          402 k
 lame-libs                                     x86_64       3.100-19.el10                             appstream       337 k
 lcms2                                         x86_64       2.16-6.el10                               appstream       182 k
 libX11                                        x86_64       1.8.10-1.el10                             appstream       652 k
 libX11-common                                 noarch       1.8.10-1.el10                             appstream       189 k
 libX11-xcb                                    x86_64       1.8.10-1.el10                             appstream        12 k
 libXau                                        x86_64       1.0.11-8.el10                             appstream        32 k
 libXcomposite                                 x86_64       0.4.6-5.el10                              appstream        24 k
 libXcursor                                    x86_64       1.2.1-9.el10                              appstream        30 k
 libXdamage                                    x86_64       1.1.6-5.el10                              appstream        23 k
 libXext                                       x86_64       1.3.6-3.el10                              appstream        39 k
 libXfixes                                     x86_64       6.0.1-5.el10                              appstream        19 k
 libXft                                        x86_64       2.3.8-8.el10                              appstream        72 k
 libXi                                         x86_64       1.8.1-7.el10                              appstream        40 k
 libXinerama                                   x86_64       1.1.5-8.el10                              appstream        14 k
 libXrandr                                     x86_64       1.5.4-5.el10                              appstream        27 k
 libXrender                                    x86_64       0.9.11-8.el10                             appstream        27 k
 libXtst                                       x86_64       1.2.4-8.el10                              appstream        20 k
 libXv                                         x86_64       1.0.12-5.el10                             appstream        18 k
 libXxf86vm                                    x86_64       1.1.5-8.el10                              appstream        18 k
 libasyncns                                    x86_64       0.8-30.el10                               appstream        30 k
 libatomic                                     x86_64       14.3.1-2.1.el10.alma.1                    baseos           54 k
 libcamera                                     x86_64       0.3.2-3.el10_0                            appstream       575 k
 libcanberra                                   x86_64       0.30-37.el10                              appstream        89 k
 libdatrie                                     x86_64       0.2.13-11.el10                            appstream        32 k
 libdex                                        x86_64       0.8.1-1.el10                              appstream        83 k
 libdrm                                        x86_64       2.4.123-1.el10                            appstream       150 k
 libepoxy                                      x86_64       1.5.10-9.el10                             appstream       221 k
 libev                                         x86_64       4.33-14.el10                              baseos           50 k
 libexif                                       x86_64       0.6.24-9.el10                             appstream       458 k
 libfontenc                                    x86_64       1.1.7-5.el10                              appstream        32 k
 libgexiv2                                     x86_64       0.14.3-3.el10                             appstream       104 k
 libglvnd                                      x86_64       1:1.7.0-7.el10                            appstream       114 k
 libglvnd-egl                                  x86_64       1:1.7.0-7.el10                            appstream        36 k
 libglvnd-glx                                  x86_64       1:1.7.0-7.el10                            appstream       132 k
 libgsf                                        x86_64       1.14.53-2.el10                            appstream       259 k
 libgxps                                       x86_64       0.3.2-10.el10                             appstream        77 k
 libipa_hbac                                   x86_64       2.11.1-2.el10_1.1                         baseos           34 k
 libiptcdata                                   x86_64       1.0.5-20.el10                             appstream        60 k
 libjose                                       x86_64       14-102.el10                               appstream        64 k
 libjpeg-turbo                                 x86_64       3.0.2-4.el10                              appstream       253 k
 libkadm5                                      x86_64       1.21.3-8.el10_0                           baseos           76 k
 liblc3                                        x86_64       1.0.4-7.el10                              appstream        81 k
 libldac                                       x86_64       2.0.2.3-17.el10                           appstream        42 k
 liblerc                                       x86_64       4.0.0-8.el10                              appstream       215 k
 libnfsidmap                                   x86_64       1:2.8.3-0.el10_1.3                        baseos           60 k
 libnotify                                     x86_64       0.8.6-1.el10                              appstream        52 k
 libogg                                        x86_64       2:1.3.5-10.el10                           appstream        33 k
 libosinfo                                     x86_64       1.11.0-8.el10                             appstream       317 k
 libpciaccess                                  x86_64       0.16-16.el10                              baseos           27 k
 libpkgconf                                    x86_64       2.1.0-3.el10                              baseos           38 k
 libportal                                     x86_64       0.9.0-2.el10                              appstream        83 k
 libproxy                                      x86_64       0.5.5-4.el10                              baseos           48 k
 librsvg2                                      x86_64       2.57.1-9.el10                             appstream       1.5 M
 libsbc                                        x86_64       2.0-6.el10                                appstream        46 k
 libsndfile                                    x86_64       1.2.2-5.el10                              appstream       214 k
 libsoup3                                      x86_64       3.6.5-3.el10_1.10                         appstream       379 k
 libsss_autofs                                 x86_64       2.11.1-2.el10_1.1                         baseos           36 k
 libthai                                       x86_64       0.1.29-10.el10                            appstream       213 k
 libtheora                                     x86_64       1:1.1.1-39.el10                           appstream       169 k
 libtiff                                       x86_64       4.6.0-6.el10_1.1                          appstream       212 k
 libtool-ltdl                                  x86_64       2.4.7-13.el10                             appstream        36 k
 libtracker-sparql                             x86_64       3.7.3-4.el10                              appstream       377 k
 liburing                                      x86_64       2.5-5.el10                                baseos           39 k
 libverto-libev                                x86_64       0.3.2-10.el10                             baseos           13 k
 libvorbis                                     x86_64       1:1.3.7-12.el10                           appstream       187 k
 libwayland-client                             x86_64       1.23.1-1.el10                             appstream        33 k
 libwayland-cursor                             x86_64       1.23.1-1.el10                             appstream        19 k
 libwayland-egl                                x86_64       1.23.1-1.el10                             appstream        12 k
 libwayland-server                             x86_64       1.23.1-1.el10                             appstream        41 k
 libwebp                                       x86_64       1.3.2-8.el10                              appstream       288 k
 libxcb                                        x86_64       1.17.0-3.el10                             appstream       238 k
 libxkbcommon                                  x86_64       1.7.0-4.el10                              appstream       145 k
 libxshmfence                                  x86_64       1.3.2-5.el10                              appstream        12 k
 libxslt                                       x86_64       1.1.39-8.el10_0                           appstream       188 k
 lksctp-tools                                  x86_64       1.0.21-1.el10                             baseos           94 k
 llvm-filesystem                               x86_64       20.1.8-1.el10.alma.1                      appstream        11 k
 llvm-libs                                     x86_64       20.1.8-1.el10.alma.1                      appstream        30 M
 mailcap                                       noarch       2.1.54-8.el10                             baseos           34 k
 mesa-dri-drivers                              x86_64       25.0.7-6.el10_1.alma.1                    appstream        11 M
 mesa-filesystem                               x86_64       25.0.7-6.el10_1.alma.1                    appstream        13 k
 mesa-libEGL                                   x86_64       25.0.7-6.el10_1.alma.1                    appstream       130 k
 mesa-libGL                                    x86_64       25.0.7-6.el10_1.alma.1                    appstream       157 k
 mesa-libgbm                                   x86_64       25.0.7-6.el10_1.alma.1                    appstream        19 k
 mkfontscale                                   x86_64       1.2.2-8.el10                              appstream        32 k
 mod_auth_gssapi                               x86_64       1.6.5-8.el10                              appstream        73 k
 mod_lookup_identity                           x86_64       1.0.0-22.el10                             appstream        27 k
 mod_session                                   x86_64       2.4.63-4.el10_1.3                         appstream        46 k
 mod_ssl                                       x86_64       1:2.4.63-4.el10_1.3                       appstream       108 k
 mpg123-libs                                   x86_64       1.32.9-1.el10                             appstream       351 k
 nfs-utils                                     x86_64       1:2.8.3-0.el10_1.3                        baseos          457 k
 nspr                                          x86_64       4.36.0-8.el10_0                           appstream       135 k
 nss                                           x86_64       3.112.0-8.el10_0                          appstream       737 k
 nss-softokn                                   x86_64       3.112.0-8.el10_0                          appstream       402 k
 nss-softokn-freebl                            x86_64       3.112.0-8.el10_0                          appstream       416 k
 nss-sysinit                                   x86_64       3.112.0-8.el10_0                          appstream        19 k
 nss-tools                                     x86_64       3.112.0-8.el10_0                          appstream       438 k
 nss-util                                      x86_64       3.112.0-8.el10_0                          appstream        85 k
 oddjob                                        x86_64       0.34.7-14.el10                            appstream        71 k
 oddjob-mkhomedir                              x86_64       0.34.7-14.el10                            appstream        27 k
 open-sans-fonts                               noarch       1.10-24.el10                              appstream       472 k
 openjpeg2                                     x86_64       2.5.2-5.el10                              appstream       187 k
 openldap-clients                              x86_64       2.6.9-1.el10                              baseos          177 k
 openssl                                       x86_64       1:3.5.1-7.el10_1.alma.1                   baseos          1.2 M
 openssl-perl                                  x86_64       1:3.5.1-7.el10_1.alma.1                   appstream        29 k
 opus                                          x86_64       1.4-6.el10                                appstream       210 k
 orc                                           x86_64       0.4.39-2.el10                             appstream       225 k
 osinfo-db                                     noarch       20250606-1.el10.alma.1                    appstream       307 k
 osinfo-db-tools                               x86_64       1.11.0-8.el10                             appstream        75 k
 pango                                         x86_64       1.54.0-3.el10                             appstream       353 k
 perl-Algorithm-Diff                           noarch       1.2010-14.el10                            appstream        46 k
 perl-Archive-Tar                              noarch       3.02-512.el10                             appstream        75 k
 perl-AutoLoader                               noarch       5.74-512.2.el10_0                         appstream        21 k
 perl-B                                        x86_64       1.89-512.2.el10_0                         appstream       176 k
 perl-Carp                                     noarch       1.54-511.el10                             appstream        29 k
 perl-Class-Struct                             noarch       0.68-512.2.el10_0                         appstream        22 k
 perl-Compress-Raw-Bzip2                       x86_64       2.212-512.el10                            appstream        35 k
 perl-Compress-Raw-Lzma                        x86_64       2.212-3.el10                              appstream        51 k
 perl-Compress-Raw-Zlib                        x86_64       2.212-512.el10                            appstream        64 k
 perl-Data-Dumper                              x86_64       2.189-512.el10                            appstream        56 k
 perl-Digest                                   noarch       1.20-511.el10                             appstream        25 k
 perl-Digest-MD5                               x86_64       2.59-6.el10                               appstream        36 k
 perl-DynaLoader                               x86_64       1.56-512.2.el10_0                         appstream        26 k
 perl-Encode                                   x86_64       4:3.21-511.el10                           appstream       1.1 M
 perl-Errno                                    x86_64       1.38-512.2.el10_0                         appstream        15 k
 perl-Exporter                                 noarch       5.78-511.el10                             appstream        31 k
 perl-Fcntl                                    x86_64       1.18-512.2.el10_0                         appstream        29 k
 perl-File-Basename                            noarch       2.86-512.2.el10_0                         appstream        17 k
 perl-File-Find                                noarch       1.44-512.2.el10_0                         appstream        25 k
 perl-File-Path                                noarch       2.18-511.el10                             appstream        35 k
 perl-File-Temp                                noarch       1:0.231.100-512.el10                      appstream        59 k
 perl-File-stat                                noarch       1.14-512.2.el10_0                         appstream        17 k
 perl-FileHandle                               noarch       2.05-512.2.el10_0                         appstream        15 k
 perl-Getopt-Long                              noarch       1:2.58-3.el10                             appstream        67 k
 perl-Getopt-Std                               noarch       1.14-512.2.el10_0                         appstream        15 k
 perl-HTTP-Tiny                                noarch       0.088-512.el10                            appstream        56 k
 perl-IO                                       x86_64       1.55-512.2.el10_0                         appstream        77 k
 perl-IO-Compress                              noarch       2.212-512.el10                            appstream       307 k
 perl-IO-Compress-Lzma                         noarch       2.206-7.el10                              appstream        81 k
 perl-IO-Socket-IP                             noarch       0.42-512.el10                             appstream        42 k
 perl-IO-Socket-SSL                            noarch       2.085-3.el10                              appstream       229 k
 perl-IO-Zlib                                  noarch       1:1.15-511.el10                           appstream        20 k
 perl-IPC-Open3                                noarch       1.22-512.2.el10_0                         appstream        21 k
 perl-MIME-Base64                              x86_64       3.16-511.el10                             appstream        30 k
 perl-Mozilla-CA                               noarch       20231213-5.el10                           appstream        14 k
 perl-Net-SSLeay                               x86_64       1.94-8.el10                               appstream       356 k
 perl-POSIX                                    x86_64       2.20-512.2.el10_0                         appstream        96 k
 perl-PathTools                                x86_64       3.91-512.el10                             appstream        88 k
 perl-Pod-Escapes                              noarch       1:1.07-511.el10                           appstream        20 k
 perl-Pod-Perldoc                              noarch       3.28.01-512.el10                          appstream        88 k
 perl-Pod-Simple                               noarch       1:3.45-511.el10                           appstream       222 k
 perl-Pod-Usage                                noarch       4:2.03-511.el10                           appstream        40 k
 perl-Scalar-List-Utils                        x86_64       5:1.63-511.el10                           appstream        72 k
 perl-SelectSaver                              noarch       1.02-512.2.el10_0                         appstream        11 k
 perl-Socket                                   x86_64       4:2.038-511.el10                          appstream        54 k
 perl-Storable                                 x86_64       1:3.32-511.el10                           appstream        98 k
 perl-Symbol                                   noarch       1.09-512.2.el10_0                         appstream        14 k
 perl-Term-ANSIColor                           noarch       5.01-512.el10                             appstream        48 k
 perl-Term-Cap                                 noarch       1.18-511.el10                             appstream        22 k
 perl-Term-ReadLine                            noarch       1.17-512.2.el10_0                         appstream        19 k
 perl-Text-Diff                                noarch       1.45-24.el10                              appstream        40 k
 perl-Text-ParseWords                          noarch       3.31-511.el10                             appstream        16 k
 perl-Text-Tabs+Wrap                           noarch       2024.001-511.el10                         appstream        22 k
 perl-Tie                                      noarch       4.6-512.2.el10_0                          appstream        27 k
 perl-Time-Local                               noarch       2:1.350-511.el10                          appstream        34 k
 perl-URI                                      noarch       5.27-3.el10                               appstream       137 k
 perl-base                                     noarch       2.27-512.2.el10_0                         appstream        16 k
 perl-constant                                 noarch       1.33-512.el10                             appstream        23 k
 perl-debugger                                 noarch       1.60-512.2.el10_0                         appstream       133 k
 perl-if                                       noarch       0.61.000-512.2.el10_0                     appstream        14 k
 perl-interpreter                              x86_64       4:5.40.2-512.2.el10_0                     appstream        72 k
 perl-libnet                                   noarch       3.15-512.el10                             appstream       130 k
 perl-libs                                     x86_64       4:5.40.2-512.2.el10_0                     appstream       2.2 M
 perl-locale                                   noarch       1.12-512.2.el10_0                         appstream        13 k
 perl-meta-notation                            noarch       5.40.2-512.2.el10_0                       appstream        10 k
 perl-mro                                      x86_64       1.29-512.2.el10_0                         appstream        30 k
 perl-overload                                 noarch       1.37-512.2.el10_0                         appstream        45 k
 perl-overloading                              noarch       0.02-512.2.el10_0                         appstream        13 k
 perl-parent                                   noarch       1:0.241-512.el10                          appstream        15 k
 perl-podlators                                noarch       1:5.01-511.el10                           appstream       127 k
 perl-sigtrap                                  noarch       1.10-512.2.el10_0                         appstream        15 k
 perl-threads                                  x86_64       1:2.40-511.el10                           appstream        58 k
 perl-threads-shared                           x86_64       1.69-511.el10                             appstream        44 k
 perl-vars                                     noarch       1.05-512.2.el10_0                         appstream        13 k
 pipewire-jack-audio-connection-kit-libs       x86_64       1.4.6-1.el10                              appstream       144 k
 pipewire-libs                                 x86_64       1.4.6-1.el10                              appstream       2.4 M
 pixman                                        x86_64       0.43.4-2.el10                             appstream       285 k
 pkgconf                                       x86_64       2.1.0-3.el10                              baseos           43 k
 pkgconf-m4                                    noarch       2.1.0-3.el10                              baseos           14 k
 pkgconf-pkg-config                            x86_64       2.1.0-3.el10                              baseos          9.7 k
 policycoreutils-python-utils                  noarch       3.9-1.el10                                appstream        45 k
 poppler                                       x86_64       24.02.0-7.el10_1                          appstream       1.2 M
 poppler-data                                  noarch       0.4.11-9.el10                             appstream       2.0 M
 poppler-glib                                  x86_64       24.02.0-7.el10_1                          appstream       190 k
 publicsuffix-list                             noarch       20240107-5.el10                           appstream        87 k
 pulseaudio-libs                               x86_64       17.0-6.el10                               appstream       703 k
 python3-argcomplete                           noarch       3.2.2-4.el10                              appstream        88 k
 python3-audit                                 x86_64       4.0.3-4.el10                              appstream        69 k
 python3-augeas                                noarch       1.1.0-14.el10                             appstream        39 k
 python3-cffi                                  x86_64       1.16.0-7.el10                             baseos          310 k
 python3-charset-normalizer                    noarch       3.4.2-1.el10                              baseos          114 k
 python3-cryptography                          x86_64       43.0.0-4.el10                             baseos          1.4 M
 python3-decorator                             noarch       5.1.1-12.el10                             baseos           31 k
 python3-distro                                noarch       1.9.0-5.el10                              appstream        51 k
 python3-dns                                   noarch       2.6.1-1.el10                              baseos          629 k
 python3-file-magic                            noarch       5.45-8.el10                               appstream        19 k
 python3-gssapi                                x86_64       1.7.3-10.el10                             appstream       657 k
 python3-idm-pki                               noarch       11.7.0-2.el10                             appstream       207 k
 python3-idna                                  noarch       3.7-4.el10                                baseos          121 k
 python3-ifaddr                                noarch       0.2.0-4.el10                              appstream        34 k
 python3-ipaclient                             noarch       4.12.2-24.el10_1.2                        appstream       598 k
 python3-ipalib                                noarch       4.12.2-24.el10_1.2                        appstream       748 k
 python3-ipaserver                             noarch       4.12.2-24.el10_1.2                        appstream       1.8 M
 python3-jinja2                                noarch       3.1.6-1.el10_0                            appstream       330 k
 python3-jwcrypto                              noarch       1.5.6-4.el10                              appstream       107 k
 python3-kdcproxy                              noarch       1.0.0-19.el10_1                           appstream        46 k
 python3-ldap                                  x86_64       3.4.4-9.el10                              appstream       290 k
 python3-lib389                                noarch       3.1.3-7.el10_1                            appstream       1.2 M
 python3-libipa_hbac                           x86_64       2.11.1-2.el10_1.1                         baseos           28 k
 python3-libsemanage                           x86_64       3.9-1.el10                                appstream        81 k
 python3-lxml                                  x86_64       5.2.1-4.el10                              appstream       1.4 M
 python3-markupsafe                            x86_64       2.1.3-6.el10                              appstream        35 k
 python3-mod_wsgi                              x86_64       5.0.0-4.el10                              appstream       954 k
 python3-netaddr                               noarch       1.3.0-2.el10                              appstream       1.7 M
 python3-ply                                   noarch       3.11-25.el10                              baseos          138 k
 python3-policycoreutils                       noarch       3.9-1.el10                                appstream       2.1 M
 python3-psutil                                x86_64       5.9.8-6.el10                              appstream       261 k
 python3-pyasn1                                noarch       0.6.2-1.el10_1                            appstream       174 k
 python3-pyasn1-modules                        noarch       0.6.2-1.el10_1                            appstream       312 k
 python3-pycparser                             noarch       2.20-16.el10                              baseos          160 k
 python3-pyusb                                 noarch       1.2.1-11.el10                             appstream       119 k
 python3-qrcode                                noarch       7.4.2-13.el10                             appstream       138 k
 python3-requests                              noarch       2.32.4-1.el10_0                           baseos          145 k
 python3-setools                               x86_64       4.5.1-5.el10                              baseos          691 k
 python3-setuptools                            noarch       69.0.3-12.el10_0                          baseos          1.4 M
 python3-sss                                   x86_64       2.11.1-2.el10_1.1                         baseos           27 k
 python3-sss-murmur                            x86_64       2.11.1-2.el10_1.1                         baseos           17 k
 python3-sssdconfig                            noarch       2.11.1-2.el10_1.1                         baseos           74 k
 python3-typing-extensions                     noarch       4.9.0-6.el10                              baseos           77 k
 python3-urllib3                               noarch       1.26.19-2.el10_1.1                        baseos          257 k
 python3-yubico                                noarch       1.3.3-17.el10                             appstream        82 k
 quota                                         x86_64       1:4.09-9.el10                             baseos          194 k
 quota-nls                                     noarch       1:4.09-9.el10                             baseos           76 k
 redhat-text-vf-fonts                          noarch       4.1.0-1.el10                              baseos          353 k
 rpcbind                                       x86_64       1.2.7-3.el10                              baseos           56 k
 rtkit                                         x86_64       0.11-68.el10                              appstream        59 k
 slapi-nis                                     x86_64       0.70.0-3.el10                             appstream        92 k
 slf4j                                         noarch       1.7.32-13.el10                            appstream        68 k
 slf4j-jdk14                                   noarch       1.7.32-13.el10                            appstream        17 k
 softhsm                                       x86_64       2.6.1-16.el10_0                           appstream       444 k
 sound-theme-freedesktop                       noarch       0.8-23.el10                               appstream       385 k
 spirv-tools-libs                              x86_64       2025.2-1.el10                             appstream       1.5 M
 sscg                                          x86_64       3.0.5-12.el10                             appstream        46 k
 sssd-common-pac                               x86_64       2.11.1-2.el10_1.1                         baseos           88 k
 sssd-dbus                                     x86_64       2.11.1-2.el10_1.1                         baseos          124 k
 sssd-idp                                      x86_64       2.11.1-2.el10_1.1                         appstream        47 k
 sssd-ipa                                      x86_64       2.11.1-2.el10_1.1                         baseos          269 k
 sssd-krb5                                     x86_64       2.11.1-2.el10_1.1                         baseos           62 k
 sssd-nfs-idmap                                x86_64       2.11.1-2.el10_1.1                         baseos           35 k
 sssd-tools                                    x86_64       2.11.1-2.el10_1.1                         baseos          156 k
 tar                                           x86_64       2:1.35-9.el10_1                           baseos          856 k
 tomcat9                                       noarch       1:9.0.87-8.el10_1.1                       appstream        90 k
 tomcat9-el-3.0-api                            noarch       1:9.0.87-8.el10_1.1                       appstream       105 k
 tomcat9-jsp-2.3-api                           noarch       1:9.0.87-8.el10_1.1                       appstream        72 k
 tomcat9-lib                                   noarch       1:9.0.87-8.el10_1.1                       appstream       6.0 M
 tomcat9-servlet-4.0-api                       noarch       1:9.0.87-8.el10_1.1                       appstream       283 k
 tracker                                       x86_64       3.7.3-4.el10                              appstream       642 k
 ttmkfdir                                      x86_64       3.0.9-72.el10                             appstream        57 k
 tzdata-java                                   noarch       2026a-1.el10                              appstream        45 k
 unbound                                       x86_64       1.20.0-15.el10_1                          appstream       980 k
 unbound-anchor                                x86_64       1.20.0-15.el10_1                          appstream        35 k
 unbound-libs                                  x86_64       1.20.0-15.el10_1                          appstream       545 k
 upower-libs                                   x86_64       1.90.9-1.el10                             appstream        58 k
 webrtc-audio-processing                       x86_64       1.3-5.el10                                appstream       525 k
 wireplumber                                   x86_64       0.5.10-1.el10                             appstream       102 k
 wireplumber-libs                              x86_64       0.5.10-1.el10                             appstream       386 k
 words                                         noarch       3.0-47.el10                               baseos          1.2 M
 xdg-desktop-portal                            x86_64       1.20.0-2.el10                             appstream       528 k
 xkeyboard-config                              noarch       2.41-3.el10                               appstream       998 k
 xml-common                                    noarch       0.6.3-65.el10                             appstream        31 k
 xorg-x11-fonts-Type1                          noarch       7.5-40.el10                               appstream       506 k
 xprop                                         x86_64       1.2.7-3.el10                              appstream        35 k
 zlib-ng-compat-devel                          x86_64       2.2.3-3.el10_1                            appstream        36 k
Installing weak dependencies:
 apr-util-openssl                              x86_64       1.6.3-23.el10_1                           appstream        15 k
 bash-completion                               noarch       1:2.11-16.el10                            baseos          397 k
 bind                                          x86_64       32:9.18.33-10.el10_1.2                    appstream       320 k
 bind-dnssec-utils                             x86_64       32:9.18.33-10.el10_1.2                    appstream       145 k
 dconf                                         x86_64       0.40.0-16.el10                            appstream       102 k
 exiv2                                         x86_64       0.28.3-5.el10                             appstream       2.1 M
 glib-networking                               x86_64       2.80.0-3.el10                             baseos          204 k
 gtk3                                          x86_64       3.24.43-4.el10                            appstream       5.6 M
 ipa-client-encrypted-dns                      x86_64       4.12.2-24.el10_1.2                        appstream        34 k
 libcamera-ipa                                 x86_64       0.3.2-3.el10_0                            appstream       133 k
 libcanberra-gtk3                              x86_64       0.30-37.el10                              appstream        31 k
 low-memory-monitor                            x86_64       2.1-12.el10                               appstream        34 k
 mod_http2                                     x86_64       2.0.29-3.el10                             appstream       161 k
 mod_lua                                       x86_64       2.4.63-4.el10_1.3                         appstream        59 k
 perl-Devel-Peek                               x86_64       1.34-512.2.el10_0                         appstream        32 k
 perl-NDBM_File                                x86_64       1.17-512.2.el10_0                         appstream        22 k
 pipewire                                      x86_64       1.4.6-1.el10                              appstream       128 k
 pipewire-alsa                                 x86_64       1.4.6-1.el10                              appstream        60 k
 pipewire-jack-audio-connection-kit            x86_64       1.4.6-1.el10                              appstream        12 k
 pipewire-plugin-libcamera                     x86_64       1.4.6-1.el10                              appstream        75 k
 pipewire-pulseaudio                           x86_64       1.4.6-1.el10                              appstream       204 k
 redhat-mono-vf-fonts                          noarch       4.1.0-1.el10                              baseos          342 k
 rsvg-pixbuf-loader                            x86_64       2.57.1-9.el10                             appstream        15 k
 sssd-passkey                                  x86_64       2.11.1-2.el10_1.1                         baseos           46 k
 tracker-miners                                x86_64       3.7.3-4.el10                              appstream       962 k
 unbound-utils                                 x86_64       1.20.0-15.el10_1                          appstream        59 k
 upower                                        x86_64       1.90.9-1.el10                             appstream       144 k
 xdg-desktop-portal-gtk                        x86_64       1.15.3-1.el10                             appstream       136 k

Transaction Summary
============================================================================================================================
Install  408 Packages

Total download size: 220 M
Installed size: 824 M
Is this ok [y/N]: y
<略>
Installed:
  389-ds-base-3.1.3-7.el10_1.x86_64                              389-ds-base-libs-3.1.3-7.el10_1.x86_64
  ModemManager-glib-1.22.0-7.el10.x86_64                         acl-2.3.2-4.el10.x86_64
  adwaita-cursor-theme-46.0-3.el10.noarch                        adwaita-icon-theme-46.0-3.el10.noarch
  almalinux-logos-httpd-100.3-3.el10_0.noarch                    almalinux-logos-ipa-100.3-3.el10_0.noarch
  alsa-lib-1.2.14-2.el10_1.x86_64                                apache-commons-cli-1.6.0-6.el10.noarch
  apache-commons-codec-1.17.1-1.el10.noarch                      apache-commons-io-1:2.16.1-1.el10.noarch
  apache-commons-lang3-3.14.0-6.el10.noarch                      apache-commons-logging-1.3.4-1.el10.noarch
  apache-commons-net-3.10.0-6.el10.noarch                        apr-1.7.5-2.el10.x86_64
  apr-util-1.6.3-23.el10_1.x86_64                                apr-util-lmdb-1.6.3-23.el10_1.x86_64
  apr-util-openssl-1.6.3-23.el10_1.x86_64                        at-spi2-atk-2.56.1-1.el10.x86_64
  at-spi2-core-2.56.1-1.el10.x86_64                              atk-2.56.1-1.el10.x86_64
  augeas-libs-1.14.2-0.3.20250224git6ee1282.el10.x86_64          autofs-1:5.1.9-13.el10.x86_64
  avahi-glib-0.9~rc2-2.el10.x86_64                               bash-completion-1:2.11-16.el10.noarch
  bind-32:9.18.33-10.el10_1.2.x86_64                             bind-dnssec-utils-32:9.18.33-10.el10_1.2.x86_64
  bluez-libs-5.83-2.el10.x86_64                                  cairo-1.18.2-2.el10.x86_64
  cairo-gobject-1.18.2-2.el10.x86_64                             certmonger-0.79.20-3.el10.x86_64
  checkpolicy-3.9-1.el10.x86_64                                  cmake-filesystem-3.30.5-3.el10_0.x86_64
  colord-libs-1.4.7-6.el10.x86_64                                cups-filesystem-1:2.4.10-12.el10_1.2.noarch
  cups-libs-1:2.4.10-12.el10_1.2.x86_64                          cyrus-sasl-md5-2.1.28-29.el10.x86_64
  cyrus-sasl-plain-2.1.28-29.el10.x86_64                         dbus-tools-1:1.14.10-5.el10.x86_64
  dconf-0.40.0-16.el10.x86_64                                    default-fonts-core-sans-4.1-3.el10.noarch
  ecj-1:4.23-11.el10.noarch                                      exempi-2.6.4-7.el10.x86_64
  exiv2-0.28.3-5.el10.x86_64                                     exiv2-libs-0.28.3-5.el10.x86_64
  fdk-aac-free-2.0.0-15.el10.x86_64                              fftw-libs-single-3.3.10-15.el10.x86_64
  flac-libs-1.4.3-6.el10.x86_64                                  fontawesome4-fonts-1:4.7.0-23.el10.noarch
  fontconfig-2.15.0-7.el10.x86_64                                fonts-filesystem-1:2.0.5-18.el10.noarch
  fribidi-1.0.14-4.el10.x86_64                                   fuse-common-3.16.2-5.el10.x86_64
  fuse3-3.16.2-5.el10.x86_64                                     gdk-pixbuf2-2.42.12-4.el10_0.x86_64
  gdk-pixbuf2-modules-2.42.12-4.el10_0.x86_64                    geoclue2-2.7.2-1.el10.x86_64
  giflib-5.2.1-22.el10.x86_64                                    glib-networking-2.80.0-3.el10.x86_64
  google-noto-fonts-common-20240401-5.el10.noarch                google-noto-sans-vf-fonts-20240401-5.el10.noarch
  gpgmepp-1.23.2-6.el10.alma.1.x86_64                            graphene-1.10.6-10.el10.x86_64
  gsettings-desktop-schemas-47.1-3.el10_0.x86_64                 gsm-1.0.22-8.el10.x86_64
  gssproxy-0.9.2-10.el10.x86_64                                  gstreamer1-1.24.11-1.el10.x86_64
  gstreamer1-plugins-base-1.24.11-1.el10.x86_64                  gtk-update-icon-cache-3.24.43-4.el10.x86_64
  gtk3-3.24.43-4.el10.x86_64                                     hicolor-icon-theme-0.17-20.el10.noarch
  httpcomponents-client-4.5.14-9.el10.noarch                     httpcomponents-core-4.4.16-9.el10.noarch
  httpd-2.4.63-4.el10_1.3.x86_64                                 httpd-core-2.4.63-4.el10_1.3.x86_64
  httpd-filesystem-2.4.63-4.el10_1.3.noarch                      httpd-tools-2.4.63-4.el10_1.3.x86_64
  idm-jss-5.7.0-2.el10.x86_64                                    idm-jss-tomcat-5.7.0-2.el10.x86_64
  idm-ldapjdk-5.6.0-1.el10.noarch                                idm-pki-acme-11.7.0-2.el10.noarch
  idm-pki-base-11.7.0-2.el10.noarch                              idm-pki-ca-11.7.0-2.el10.noarch
  idm-pki-java-11.7.0-2.el10.noarch                              idm-pki-kra-11.7.0-2.el10.noarch
  idm-pki-server-11.7.0-2.el10.noarch                            idm-pki-tools-11.7.0-2.el10.x86_64
  inih-cpp-58-3.el10.x86_64                                      ipa-client-4.12.2-24.el10_1.2.x86_64
  ipa-client-common-4.12.2-24.el10_1.2.noarch                    ipa-client-encrypted-dns-4.12.2-24.el10_1.2.x86_64
  ipa-common-4.12.2-24.el10_1.2.noarch                           ipa-healthcheck-core-0.16-11.el10.noarch
  ipa-selinux-4.12.2-24.el10_1.2.noarch                          ipa-server-4.12.2-24.el10_1.2.x86_64
  ipa-server-common-4.12.2-24.el10_1.2.noarch                    iso-codes-4.16.0-6.el10.noarch
  java-21-openjdk-1:21.0.10.0.7-1.el10.alma.1.x86_64             java-21-openjdk-devel-1:21.0.10.0.7-1.el10.alma.1.x86_64
  java-21-openjdk-headless-1:21.0.10.0.7-1.el10.alma.1.x86_64    javapackages-filesystem-6.4.0-1.el10.noarch
  javapackages-tools-6.4.0-1.el10.noarch                         jbigkit-libs-2.1-31.el10.x86_64
  krb5-pkinit-1.21.3-8.el10_0.x86_64                             krb5-server-1.21.3-8.el10_0.x86_64
  krb5-workstation-1.21.3-8.el10_0.x86_64                        lame-libs-3.100-19.el10.x86_64
  lcms2-2.16-6.el10.x86_64                                       libX11-1.8.10-1.el10.x86_64
  libX11-common-1.8.10-1.el10.noarch                             libX11-xcb-1.8.10-1.el10.x86_64
  libXau-1.0.11-8.el10.x86_64                                    libXcomposite-0.4.6-5.el10.x86_64
  libXcursor-1.2.1-9.el10.x86_64                                 libXdamage-1.1.6-5.el10.x86_64
  libXext-1.3.6-3.el10.x86_64                                    libXfixes-6.0.1-5.el10.x86_64
  libXft-2.3.8-8.el10.x86_64                                     libXi-1.8.1-7.el10.x86_64
  libXinerama-1.1.5-8.el10.x86_64                                libXrandr-1.5.4-5.el10.x86_64
  libXrender-0.9.11-8.el10.x86_64                                libXtst-1.2.4-8.el10.x86_64
  libXv-1.0.12-5.el10.x86_64                                     libXxf86vm-1.1.5-8.el10.x86_64
  libasyncns-0.8-30.el10.x86_64                                  libatomic-14.3.1-2.1.el10.alma.1.x86_64
  libcamera-0.3.2-3.el10_0.x86_64                                libcamera-ipa-0.3.2-3.el10_0.x86_64
  libcanberra-0.30-37.el10.x86_64                                libcanberra-gtk3-0.30-37.el10.x86_64
  libdatrie-0.2.13-11.el10.x86_64                                libdex-0.8.1-1.el10.x86_64
  libdrm-2.4.123-1.el10.x86_64                                   libepoxy-1.5.10-9.el10.x86_64
  libev-4.33-14.el10.x86_64                                      libexif-0.6.24-9.el10.x86_64
  libfontenc-1.1.7-5.el10.x86_64                                 libgexiv2-0.14.3-3.el10.x86_64
  libglvnd-1:1.7.0-7.el10.x86_64                                 libglvnd-egl-1:1.7.0-7.el10.x86_64
  libglvnd-glx-1:1.7.0-7.el10.x86_64                             libgsf-1.14.53-2.el10.x86_64
  libgxps-0.3.2-10.el10.x86_64                                   libipa_hbac-2.11.1-2.el10_1.1.x86_64
  libiptcdata-1.0.5-20.el10.x86_64                               libjose-14-102.el10.x86_64
  libjpeg-turbo-3.0.2-4.el10.x86_64                              libkadm5-1.21.3-8.el10_0.x86_64
  liblc3-1.0.4-7.el10.x86_64                                     libldac-2.0.2.3-17.el10.x86_64
  liblerc-4.0.0-8.el10.x86_64                                    libnfsidmap-1:2.8.3-0.el10_1.3.x86_64
  libnotify-0.8.6-1.el10.x86_64                                  libogg-2:1.3.5-10.el10.x86_64
  libosinfo-1.11.0-8.el10.x86_64                                 libpciaccess-0.16-16.el10.x86_64
  libpkgconf-2.1.0-3.el10.x86_64                                 libportal-0.9.0-2.el10.x86_64
  libproxy-0.5.5-4.el10.x86_64                                   librsvg2-2.57.1-9.el10.x86_64
  libsbc-2.0-6.el10.x86_64                                       libsndfile-1.2.2-5.el10.x86_64
  libsoup3-3.6.5-3.el10_1.10.x86_64                              libsss_autofs-2.11.1-2.el10_1.1.x86_64
  libthai-0.1.29-10.el10.x86_64                                  libtheora-1:1.1.1-39.el10.x86_64
  libtiff-4.6.0-6.el10_1.1.x86_64                                libtool-ltdl-2.4.7-13.el10.x86_64
  libtracker-sparql-3.7.3-4.el10.x86_64                          liburing-2.5-5.el10.x86_64
  libverto-libev-0.3.2-10.el10.x86_64                            libvorbis-1:1.3.7-12.el10.x86_64
  libwayland-client-1.23.1-1.el10.x86_64                         libwayland-cursor-1.23.1-1.el10.x86_64
  libwayland-egl-1.23.1-1.el10.x86_64                            libwayland-server-1.23.1-1.el10.x86_64
  libwebp-1.3.2-8.el10.x86_64                                    libxcb-1.17.0-3.el10.x86_64
  libxkbcommon-1.7.0-4.el10.x86_64                               libxshmfence-1.3.2-5.el10.x86_64
  libxslt-1.1.39-8.el10_0.x86_64                                 lksctp-tools-1.0.21-1.el10.x86_64
  llvm-filesystem-20.1.8-1.el10.alma.1.x86_64                    llvm-libs-20.1.8-1.el10.alma.1.x86_64
  low-memory-monitor-2.1-12.el10.x86_64                          mailcap-2.1.54-8.el10.noarch
  mesa-dri-drivers-25.0.7-6.el10_1.alma.1.x86_64                 mesa-filesystem-25.0.7-6.el10_1.alma.1.x86_64
  mesa-libEGL-25.0.7-6.el10_1.alma.1.x86_64                      mesa-libGL-25.0.7-6.el10_1.alma.1.x86_64
  mesa-libgbm-25.0.7-6.el10_1.alma.1.x86_64                      mkfontscale-1.2.2-8.el10.x86_64
  mod_auth_gssapi-1.6.5-8.el10.x86_64                            mod_http2-2.0.29-3.el10.x86_64
  mod_lookup_identity-1.0.0-22.el10.x86_64                       mod_lua-2.4.63-4.el10_1.3.x86_64
  mod_session-2.4.63-4.el10_1.3.x86_64                           mod_ssl-1:2.4.63-4.el10_1.3.x86_64
  mpg123-libs-1.32.9-1.el10.x86_64                               nfs-utils-1:2.8.3-0.el10_1.3.x86_64
  nspr-4.36.0-8.el10_0.x86_64                                    nss-3.112.0-8.el10_0.x86_64
  nss-softokn-3.112.0-8.el10_0.x86_64                            nss-softokn-freebl-3.112.0-8.el10_0.x86_64
  nss-sysinit-3.112.0-8.el10_0.x86_64                            nss-tools-3.112.0-8.el10_0.x86_64
  nss-util-3.112.0-8.el10_0.x86_64                               oddjob-0.34.7-14.el10.x86_64
  oddjob-mkhomedir-0.34.7-14.el10.x86_64                         open-sans-fonts-1.10-24.el10.noarch
  openjpeg2-2.5.2-5.el10.x86_64                                  openldap-clients-2.6.9-1.el10.x86_64
  openssl-1:3.5.1-7.el10_1.alma.1.x86_64                         openssl-perl-1:3.5.1-7.el10_1.alma.1.x86_64
  opus-1.4-6.el10.x86_64                                         orc-0.4.39-2.el10.x86_64
  osinfo-db-20250606-1.el10.alma.1.noarch                        osinfo-db-tools-1.11.0-8.el10.x86_64
  pango-1.54.0-3.el10.x86_64                                     perl-Algorithm-Diff-1.2010-14.el10.noarch
  perl-Archive-Tar-3.02-512.el10.noarch                          perl-AutoLoader-5.74-512.2.el10_0.noarch
  perl-B-1.89-512.2.el10_0.x86_64                                perl-Carp-1.54-511.el10.noarch
  perl-Class-Struct-0.68-512.2.el10_0.noarch                     perl-Compress-Raw-Bzip2-2.212-512.el10.x86_64
  perl-Compress-Raw-Lzma-2.212-3.el10.x86_64                     perl-Compress-Raw-Zlib-2.212-512.el10.x86_64
  perl-Data-Dumper-2.189-512.el10.x86_64                         perl-Devel-Peek-1.34-512.2.el10_0.x86_64
  perl-Digest-1.20-511.el10.noarch                               perl-Digest-MD5-2.59-6.el10.x86_64
  perl-DynaLoader-1.56-512.2.el10_0.x86_64                       perl-Encode-4:3.21-511.el10.x86_64
  perl-Errno-1.38-512.2.el10_0.x86_64                            perl-Exporter-5.78-511.el10.noarch
  perl-Fcntl-1.18-512.2.el10_0.x86_64                            perl-File-Basename-2.86-512.2.el10_0.noarch
  perl-File-Find-1.44-512.2.el10_0.noarch                        perl-File-Path-2.18-511.el10.noarch
  perl-File-Temp-1:0.231.100-512.el10.noarch                     perl-File-stat-1.14-512.2.el10_0.noarch
  perl-FileHandle-2.05-512.2.el10_0.noarch                       perl-Getopt-Long-1:2.58-3.el10.noarch
  perl-Getopt-Std-1.14-512.2.el10_0.noarch                       perl-HTTP-Tiny-0.088-512.el10.noarch
  perl-IO-1.55-512.2.el10_0.x86_64                               perl-IO-Compress-2.212-512.el10.noarch
  perl-IO-Compress-Lzma-2.206-7.el10.noarch                      perl-IO-Socket-IP-0.42-512.el10.noarch
  perl-IO-Socket-SSL-2.085-3.el10.noarch                         perl-IO-Zlib-1:1.15-511.el10.noarch
  perl-IPC-Open3-1.22-512.2.el10_0.noarch                        perl-MIME-Base64-3.16-511.el10.x86_64
  perl-Mozilla-CA-20231213-5.el10.noarch                         perl-NDBM_File-1.17-512.2.el10_0.x86_64
  perl-Net-SSLeay-1.94-8.el10.x86_64                             perl-POSIX-2.20-512.2.el10_0.x86_64
  perl-PathTools-3.91-512.el10.x86_64                            perl-Pod-Escapes-1:1.07-511.el10.noarch
  perl-Pod-Perldoc-3.28.01-512.el10.noarch                       perl-Pod-Simple-1:3.45-511.el10.noarch
  perl-Pod-Usage-4:2.03-511.el10.noarch                          perl-Scalar-List-Utils-5:1.63-511.el10.x86_64
  perl-SelectSaver-1.02-512.2.el10_0.noarch                      perl-Socket-4:2.038-511.el10.x86_64
  perl-Storable-1:3.32-511.el10.x86_64                           perl-Symbol-1.09-512.2.el10_0.noarch
  perl-Term-ANSIColor-5.01-512.el10.noarch                       perl-Term-Cap-1.18-511.el10.noarch
  perl-Term-ReadLine-1.17-512.2.el10_0.noarch                    perl-Text-Diff-1.45-24.el10.noarch
  perl-Text-ParseWords-3.31-511.el10.noarch                      perl-Text-Tabs+Wrap-2024.001-511.el10.noarch
  perl-Tie-4.6-512.2.el10_0.noarch                               perl-Time-Local-2:1.350-511.el10.noarch
  perl-URI-5.27-3.el10.noarch                                    perl-base-2.27-512.2.el10_0.noarch
  perl-constant-1.33-512.el10.noarch                             perl-debugger-1.60-512.2.el10_0.noarch
  perl-if-0.61.000-512.2.el10_0.noarch                           perl-interpreter-4:5.40.2-512.2.el10_0.x86_64
  perl-libnet-3.15-512.el10.noarch                               perl-libs-4:5.40.2-512.2.el10_0.x86_64
  perl-locale-1.12-512.2.el10_0.noarch                           perl-meta-notation-5.40.2-512.2.el10_0.noarch
  perl-mro-1.29-512.2.el10_0.x86_64                              perl-overload-1.37-512.2.el10_0.noarch
  perl-overloading-0.02-512.2.el10_0.noarch                      perl-parent-1:0.241-512.el10.noarch
  perl-podlators-1:5.01-511.el10.noarch                          perl-sigtrap-1.10-512.2.el10_0.noarch
  perl-threads-1:2.40-511.el10.x86_64                            perl-threads-shared-1.69-511.el10.x86_64
  perl-vars-1.05-512.2.el10_0.noarch                             pipewire-1.4.6-1.el10.x86_64
  pipewire-alsa-1.4.6-1.el10.x86_64                              pipewire-jack-audio-connection-kit-1.4.6-1.el10.x86_64
  pipewire-jack-audio-connection-kit-libs-1.4.6-1.el10.x86_64    pipewire-libs-1.4.6-1.el10.x86_64
  pipewire-plugin-libcamera-1.4.6-1.el10.x86_64                  pipewire-pulseaudio-1.4.6-1.el10.x86_64
  pixman-0.43.4-2.el10.x86_64                                    pkgconf-2.1.0-3.el10.x86_64
  pkgconf-m4-2.1.0-3.el10.noarch                                 pkgconf-pkg-config-2.1.0-3.el10.x86_64
  policycoreutils-python-utils-3.9-1.el10.noarch                 poppler-24.02.0-7.el10_1.x86_64
  poppler-data-0.4.11-9.el10.noarch                              poppler-glib-24.02.0-7.el10_1.x86_64
  publicsuffix-list-20240107-5.el10.noarch                       pulseaudio-libs-17.0-6.el10.x86_64
  python3-argcomplete-3.2.2-4.el10.noarch                        python3-audit-4.0.3-4.el10.x86_64
  python3-augeas-1.1.0-14.el10.noarch                            python3-cffi-1.16.0-7.el10.x86_64
  python3-charset-normalizer-3.4.2-1.el10.noarch                 python3-cryptography-43.0.0-4.el10.x86_64
  python3-decorator-5.1.1-12.el10.noarch                         python3-distro-1.9.0-5.el10.noarch
  python3-dns-2.6.1-1.el10.noarch                                python3-file-magic-5.45-8.el10.noarch
  python3-gssapi-1.7.3-10.el10.x86_64                            python3-idm-pki-11.7.0-2.el10.noarch
  python3-idna-3.7-4.el10.noarch                                 python3-ifaddr-0.2.0-4.el10.noarch
  python3-ipaclient-4.12.2-24.el10_1.2.noarch                    python3-ipalib-4.12.2-24.el10_1.2.noarch
  python3-ipaserver-4.12.2-24.el10_1.2.noarch                    python3-jinja2-3.1.6-1.el10_0.noarch
  python3-jwcrypto-1.5.6-4.el10.noarch                           python3-kdcproxy-1.0.0-19.el10_1.noarch
  python3-ldap-3.4.4-9.el10.x86_64                               python3-lib389-3.1.3-7.el10_1.noarch
  python3-libipa_hbac-2.11.1-2.el10_1.1.x86_64                   python3-libsemanage-3.9-1.el10.x86_64
  python3-lxml-5.2.1-4.el10.x86_64                               python3-markupsafe-2.1.3-6.el10.x86_64
  python3-mod_wsgi-5.0.0-4.el10.x86_64                           python3-netaddr-1.3.0-2.el10.noarch
  python3-ply-3.11-25.el10.noarch                                python3-policycoreutils-3.9-1.el10.noarch
  python3-psutil-5.9.8-6.el10.x86_64                             python3-pyasn1-0.6.2-1.el10_1.noarch
  python3-pyasn1-modules-0.6.2-1.el10_1.noarch                   python3-pycparser-2.20-16.el10.noarch
  python3-pyusb-1.2.1-11.el10.noarch                             python3-qrcode-7.4.2-13.el10.noarch
  python3-requests-2.32.4-1.el10_0.noarch                        python3-setools-4.5.1-5.el10.x86_64
  python3-setuptools-69.0.3-12.el10_0.noarch                     python3-sss-2.11.1-2.el10_1.1.x86_64
  python3-sss-murmur-2.11.1-2.el10_1.1.x86_64                    python3-sssdconfig-2.11.1-2.el10_1.1.noarch
  python3-typing-extensions-4.9.0-6.el10.noarch                  python3-urllib3-1.26.19-2.el10_1.1.noarch
  python3-yubico-1.3.3-17.el10.noarch                            quota-1:4.09-9.el10.x86_64
  quota-nls-1:4.09-9.el10.noarch                                 redhat-mono-vf-fonts-4.1.0-1.el10.noarch
  redhat-text-vf-fonts-4.1.0-1.el10.noarch                       rpcbind-1.2.7-3.el10.x86_64
  rsvg-pixbuf-loader-2.57.1-9.el10.x86_64                        rtkit-0.11-68.el10.x86_64
  slapi-nis-0.70.0-3.el10.x86_64                                 slf4j-1.7.32-13.el10.noarch
  slf4j-jdk14-1.7.32-13.el10.noarch                              softhsm-2.6.1-16.el10_0.x86_64
  sound-theme-freedesktop-0.8-23.el10.noarch                     spirv-tools-libs-2025.2-1.el10.x86_64
  sscg-3.0.5-12.el10.x86_64                                      sssd-common-pac-2.11.1-2.el10_1.1.x86_64
  sssd-dbus-2.11.1-2.el10_1.1.x86_64                             sssd-idp-2.11.1-2.el10_1.1.x86_64
  sssd-ipa-2.11.1-2.el10_1.1.x86_64                              sssd-krb5-2.11.1-2.el10_1.1.x86_64
  sssd-nfs-idmap-2.11.1-2.el10_1.1.x86_64                        sssd-passkey-2.11.1-2.el10_1.1.x86_64
  sssd-tools-2.11.1-2.el10_1.1.x86_64                            tar-2:1.35-9.el10_1.x86_64
  tomcat9-1:9.0.87-8.el10_1.1.noarch                             tomcat9-el-3.0-api-1:9.0.87-8.el10_1.1.noarch
  tomcat9-jsp-2.3-api-1:9.0.87-8.el10_1.1.noarch                 tomcat9-lib-1:9.0.87-8.el10_1.1.noarch
  tomcat9-servlet-4.0-api-1:9.0.87-8.el10_1.1.noarch             tracker-3.7.3-4.el10.x86_64
  tracker-miners-3.7.3-4.el10.x86_64                             ttmkfdir-3.0.9-72.el10.x86_64
  tzdata-java-2026a-1.el10.noarch                                unbound-1.20.0-15.el10_1.x86_64
  unbound-anchor-1.20.0-15.el10_1.x86_64                         unbound-libs-1.20.0-15.el10_1.x86_64
  unbound-utils-1.20.0-15.el10_1.x86_64                          upower-1.90.9-1.el10.x86_64
  upower-libs-1.90.9-1.el10.x86_64                               webrtc-audio-processing-1.3-5.el10.x86_64
  wireplumber-0.5.10-1.el10.x86_64                               wireplumber-libs-0.5.10-1.el10.x86_64
  words-3.0-47.el10.noarch                                       xdg-desktop-portal-1.20.0-2.el10.x86_64
  xdg-desktop-portal-gtk-1.15.3-1.el10.x86_64                    xkeyboard-config-2.41-3.el10.noarch
  xml-common-0.6.3-65.el10.noarch                                xorg-x11-fonts-Type1-7.5-40.el10.noarch
  xprop-1.2.7-3.el10.x86_64                                      zlib-ng-compat-devel-2.2.3-3.el10_1.x86_64

Complete!
[root@idm ~]#

いろいろユーザとグループが作成されていて、最小限インストールだったものが、下記の状態となっていた。

[root@idm ~]# cat /etc/passwd
root:x:0:0:Super User:/root:/bin/bash
bin:x:1:1:bin:/bin:/usr/sbin/nologin
daemon:x:2:2:daemon:/sbin:/usr/sbin/nologin
adm:x:3:4:adm:/var/adm:/usr/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/usr/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/usr/sbin/nologin
operator:x:11:0:operator:/root:/usr/sbin/nologin
games:x:12:100:games:/usr/games:/usr/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/usr/sbin/nologin
nobody:x:65534:65534:Kernel Overflow User:/:/usr/sbin/nologin
tss:x:59:59:Account used for TPM access:/:/usr/sbin/nologin
systemd-oom:x:999:999:systemd Userspace OOM Killer:/:/sbin/nologin
dbus:x:81:81:System Message Bus:/:/usr/sbin/nologin
polkitd:x:114:114:User for polkitd:/:/sbin/nologin
sssd:x:998:997:User for sssd:/run/sssd:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/usr/share/empty.sshd:/usr/sbin/nologin
chrony:x:997:996:chrony system user:/var/lib/chrony:/sbin/nologin
systemd-coredump:x:995:995:systemd Core Dumper:/:/usr/sbin/nologin
unbound:x:994:994:Unbound DNS resolver:/var/lib/unbound:/sbin/nologin
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
geoclue:x:993:993:User for geoclue:/var/lib/geoclue:/sbin/nologin
tomcat:x:53:53:Apache Tomcat:/usr/share/tomcat:/sbin/nologin
ods:x:992:992:opendnssec daemon account:/:/usr/sbin/nologin
rtkit:x:172:172:RealtimeKit:/:/sbin/nologin
dirsrv:x:389:389:user for 389-ds-base:/usr/share/dirsrv/:/sbin/nologin
named:x:25:25:Named:/var/named:/sbin/nologin
kdcproxy:x:388:388:IPA KDC Proxy User:/:/sbin/nologin
ipaapi:x:387:387:IPA Framework User:/:/sbin/nologin
pkiuser:x:17:17:Certificate System:/home/pkiuser:/sbin/nologin
pipewire:x:991:991:PipeWire System Daemon:/run/pipewire:/usr/sbin/nologin
[root@idm ~]# cat /etc/group
root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:
cdrom:x:11:
mail:x:12:
man:x:15:
dialout:x:18:
floppy:x:19:
games:x:20:
tape:x:33:
video:x:39:
ftp:x:50:
lock:x:54:
audio:x:63:
users:x:100:
clock:x:103:
nobody:x:65534:
tss:x:59:
utmp:x:22:
utempter:x:35:
systemd-oom:x:999:
input:x:104:
kvm:x:36:
render:x:105:
sgx:x:106:
systemd-journal:x:190:
dbus:x:81:
printadmin:x:998:
polkitd:x:114:
sssd:x:997:
sshd:x:74:
chrony:x:996:
systemd-coredump:x:995:
unbound:x:994:
apache:x:48:
rpc:x:32:
rpcuser:x:29:
geoclue:x:993:
tomcat:x:53:
ods:x:992:
rtkit:x:172:
dirsrv:x:389:
named:x:25:
kdcproxy:x:388:
ipaapi:x:387:apache
pkiuser:x:17:
pipewire:x:991:
[root@idm ~]#

インストールした直後のサービス状態を確認

[root@idm ~]# systemctl list-unit-files|grep ipa
ipa-ccache-sweep.service                                                  static          -
ipa-custodia.service                                                      disabled        disabled
ipa-otpd@.service                                                         static          -
ipa.service                                                               disabled        disabled
ipa-otpd.socket                                                           disabled        disabled
ipa-ccache-sweep.timer                                                    disabled        disabled
[root@idm ~]#

ipa.serviceは動作していない、と

iDMサーバを統合DNS不使用、統合CAをルートCAとして使用でセットアップ

いろんな状況があるが、DNSサーバについては、既存があるので、そちらを使用するとした場合、統合CAはいまはないので、今回作成する、ということになるので、下記のマニュアルに従って設定を実施

第5章 IdM サーバーのインストール: 統合 DNS を使用せず、統合 CA をルート CA として使用する場合

ドメインは”ipasample.local”で作成することにして「ipa-server-install」を実行して、手順を進める

[root@idm ~]# ipa-server-install

The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.
Version 4.12.2

This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * Configure the NTP client (chronyd)
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
  * Configure SID generation
  * Configure the KDC to enable PKINIT

To accept the default shown in brackets, press the Enter key.

Do you want to configure integrated DNS (BIND)? [no]: 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 [idm.adsample.local]:

The domain name has been determined based on the host name.

Please confirm the domain name [adsample.local]:

The kerberos protocol requires a Realm name to be defined.
This is typically the domain name converted to uppercase.

Please provide a realm name [ADSAMPLE.LOCAL]:

続けて、「Directory Manager」、「IPA admin」のパスワードを設定

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 (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):<パスワード>

NetBIOS名の指定は、基本的に標準値のままでOK

Trust is configured but no NetBIOS domain name found, setting it now.
Enter the NetBIOS name for the IPA domain.
Only up to 15 uppercase ASCII letters, digits and dashes are allowed.
Example: EXAMPLE.


NetBIOS domain name [ADSAMPLE]:

NTPサーバの設定を変更する場合はyesにするんでしょうけど、とりあえずnoで進める

Do you want to configure chrony with NTP server or pool address? [no]:

ここまでの選択で問題無いかを確認します

The IPA Master Server will be configured with:
Hostname:       idm.adsample.local
IP address(es): 240b:10:aa20:6e00:20c:29ff:fe2a:9ab6, 192.168.1.12
Domain name:    adsample.local
Realm name:     ADSAMPLE.LOCAL

The CA will be configured with:
Subject DN:   CN=Certificate Authority,O=ADSAMPLE.LOCAL
Subject base: O=ADSAMPLE.LOCAL
Chaining:     self-signed

Continue to configure the system with these values? [no]:

「yes」と入力して先に進める

Continue to configure the system with these values? [no]: yes

The following operations may take some minutes to complete.
Please wait until the prompt is returned.

Disabled p11-kit-proxy
Synchronizing time
No SRV records of NTP servers found and no NTP server or pool address was provided.
Using default chrony configuration.
Attempting to sync time with chronyc.
Time synchronization was successful.
Configuring directory server (dirsrv). Estimated time: 30 seconds
  [1/42]: creating directory server instance
Validate installation settings ...
Create file system structures ...
Perform SELinux labeling ...
Create database backend: dc=adsample,dc=local ...
Perform post-installation tasks ...
  [2/42]: adding default schema
  [3/42]: enabling memberof plugin
  [4/42]: enabling winsync plugin
  [5/42]: configure password logging
  [6/42]: configuring replication version plugin
  [7/42]: enabling IPA enrollment plugin
  [8/42]: configuring uniqueness plugin
  [9/42]: configuring uuid plugin
  [10/42]: configuring modrdn plugin
  [11/42]: configuring DNS plugin
  [12/42]: enabling entryUSN plugin
  [13/42]: configuring lockout plugin
  [14/42]: configuring graceperiod plugin
  [15/42]: configuring topology plugin
  [16/42]: creating indices
  [17/42]: enabling referential integrity plugin
  [18/42]: configuring certmap.conf
  [19/42]: configure new location for managed entries
  [20/42]: configure dirsrv ccache and keytab
  [21/42]: enabling SASL mapping fallback
  [22/42]: restarting directory server
  [23/42]: adding sasl mappings to the directory
  [24/42]: adding default layout
  [25/42]: adding delegation layout
  [26/42]: creating container for managed entries
  [27/42]: configuring user private groups
  [28/42]: configuring netgroups from hostgroups
  [29/42]: creating default Sudo bind user
  [30/42]: creating default Auto Member layout
  [31/42]: adding range check plugin
  [32/42]: creating default HBAC rule allow_all
  [33/42]: adding entries for topology management
  [34/42]: initializing group membership
  [35/42]: adding master entry
  [36/42]: initializing domain level
  [37/42]: configuring Posix uid/gid generation
  [38/42]: adding replication acis
  [39/42]: activating sidgen plugin
  [40/42]: activating extdom plugin
  [41/42]: configuring directory to start on boot
  [42/42]: restarting directory server
Done configuring directory server (dirsrv).
Configuring Kerberos KDC (krb5kdc)
  [1/11]: adding kerberos container to the directory
  [2/11]: configuring KDC
  [3/11]: initialize kerberos container
  [4/11]: adding default ACIs
  [5/11]: creating a keytab for the directory
  [6/11]: creating a keytab for the machine
  [7/11]: adding the password extension to the directory
  [8/11]: creating anonymous principal
  [9/11]: starting the KDC
  [10/11]: configuring KDC to start on boot
  [11/11]: enable PAC ticket signature support
Done configuring Kerberos KDC (krb5kdc).
Configuring kadmin
  [1/2]: starting kadmin
  [2/2]: configuring kadmin to start on boot
Done configuring kadmin.
Configuring ipa-custodia
  [1/5]: Making sure custodia container exists
  [2/5]: Generating ipa-custodia config file
  [3/5]: Generating ipa-custodia keys
  [4/5]: starting ipa-custodia
  [5/5]: configuring ipa-custodia to start on boot
Done configuring ipa-custodia.
Forcing random serial numbers to be enabled for the mdb backend
Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
  [1/33]: configuring certificate server instance
  [2/33]: stopping certificate server instance to update CS.cfg
  [3/33]: backing up CS.cfg
  [4/33]: Add ipa-pki-wait-running
Set start up timeout of pki-tomcatd service to 90 seconds
  [5/33]: secure AJP connector
  [6/33]: reindex attributes
  [7/33]: exporting Dogtag certificate store pin
  [8/33]: disabling nonces
  [9/33]: set up CRL publishing
  [10/33]: enable PKIX certificate path discovery and validation
  [11/33]: authorizing RA to modify profiles
  [12/33]: authorizing RA to manage lightweight CAs
  [13/33]: Ensure lightweight CAs container exists
  [14/33]: Enable lightweight CA monitor
  [15/33]: Ensuring backward compatibility
  [16/33]: enable certificate pruning
  [17/33]: updating IPA configuration
  [18/33]: starting certificate server instance
  [19/33]: configure certmonger for renewals
  [20/33]: requesting RA certificate from CA
  [21/33]: publishing the CA certificate
  [22/33]: adding RA agent as a trusted user
  [23/33]: configure certificate renewals
  [24/33]: Configure HTTP to proxy connections
  [25/33]: enabling CA instance
  [26/33]: importing IPA certificate profiles
  [27/33]: migrating certificate profiles to LDAP
  [28/33]: adding default CA ACL
  [29/33]: adding 'ipa' CA entry
  [30/33]: Recording random serial number state
  [31/33]: Recording HSM configuration state
  [32/33]: configuring certmonger renewal for lightweight CAs
  [33/33]: deploying ACME service
Done configuring certificate server (pki-tomcatd).
Configuring directory server (dirsrv)
  [1/3]: configuring TLS for DS instance
  [2/3]: adding CA certificate entry
  [3/3]: restarting directory server
Done configuring directory server (dirsrv).
Configuring ipa-otpd
  [1/2]: starting ipa-otpd
  [2/2]: configuring ipa-otpd to start on boot
Done configuring ipa-otpd.
Configuring the web interface (httpd)
  [1/22]: stopping httpd
  [2/22]: backing up ssl.conf
  [3/22]: disabling nss.conf
  [4/22]: configuring mod_ssl certificate paths
  [5/22]: setting mod_ssl protocol list
  [6/22]: configuring mod_ssl log directory
  [7/22]: disabling mod_ssl OCSP
  [8/22]: adding URL rewriting rules
  [9/22]: configuring httpd
Nothing to do for configure_httpd_wsgi_conf
  [10/22]: setting up httpd keytab
  [11/22]: configuring Gssproxy
  [12/22]: setting up ssl
  [13/22]: configure certmonger for renewals
  [14/22]: publish CA cert
  [15/22]: clean up any existing httpd ccaches
  [16/22]: enable ccache sweep
  [17/22]: configuring SELinux for httpd
  [18/22]: create KDC proxy config
  [19/22]: enable KDC proxy
  [20/22]: starting httpd
  [21/22]: configuring httpd to start on boot
  [22/22]: enabling oddjobd
Done configuring the web interface (httpd).
Configuring Kerberos KDC (krb5kdc)
  [1/1]: installing X509 Certificate for PKINIT
Done configuring Kerberos KDC (krb5kdc).
Applying LDAP updates
Upgrading IPA:. Estimated time: 1 minute 30 seconds
  [1/10]: stopping directory server
  [2/10]: saving configuration
  [3/10]: disabling listeners
  [4/10]: enabling DS global lock
  [5/10]: disabling Schema Compat
  [6/10]: starting directory server
  [7/10]: upgrading server
  [8/10]: stopping directory server
  [9/10]: restoring configuration
  [10/10]: starting directory server
Done.
Restarting the KDC
Configuring SID generation
  [1/8]: adding RID bases
  [2/8]: creating samba domain object
  [3/8]: adding admin(group) SIDs
  [4/8]: updating Kerberos config
'dns_lookup_kdc' already set to 'true', nothing to do.
  [5/8]: activating sidgen task
  [6/8]: restarting Directory Server to take MS PAC and LDAP plugins changes into account
  [7/8]: adding fallback group
  [8/8]: adding SIDs to existing users and groups
This step may take considerable amount of time, please wait..
Done.
Configuring client side components
This program will set up IPA client.
Version 4.12.2

Using existing certificate '/etc/ipa/ca.crt'.
Client hostname: idm.adsample.local
Realm: ADSAMPLE.LOCAL
DNS Domain: adsample.local
IPA Server: idm.adsample.local
BaseDN: dc=adsample,dc=local

Configured /etc/sssd/sssd.conf
Systemwide CA database updated.
Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
Could not update DNS SSHFP records.
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config.d/04-ipa.conf
Configuring adsample.local as NIS domain.
Client configuration complete.
The ipa-client-install command was successful

Please add records in this file to your DNS system: /tmp/ipa.system.records.i7pp68cx.db
==============================================================================
Setup complete

Next steps:
        1. You must make sure these network ports are open:
                TCP Ports:
                  * 80, 443: HTTP/HTTPS
                  * 389, 636: LDAP/LDAPS
                  * 88, 464: kerberos
                  * 53: bind
                UDP Ports:
                  * 88, 464: kerberos
                  * 53: bind
                  * 123: ntp

        2. You can now obtain a kerberos ticket using the command: 'kinit admin'
           This ticket will allow you to use the IPA tools (e.g., ipa user-add)
           and the web user interface.

Be sure to back up the CA certificates stored in /root/cacert.p12
These files are required to create replicas. The password for these
files is the Directory Manager password
The ipa-server-install command was successful
[root@idm ~]#

・・・?

なんかNTP 123 UDPが設定されていますね

とりあえずおいといて「Please add records in this file to your DNS system: /tmp/ipa.system.records.i7pp68cx.db」にあるファイルの中身を確認

[root@idm ~]# cat /tmp/ipa.system.records.i7pp68cx.db
_kerberos-master._tcp.adsample.local. 3600 IN SRV 0 100 88 idm.adsample.local.
_kerberos-master._udp.adsample.local. 3600 IN SRV 0 100 88 idm.adsample.local.
_kerberos._tcp.adsample.local. 3600 IN SRV 0 100 88 idm.adsample.local.
_kerberos._udp.adsample.local. 3600 IN SRV 0 100 88 idm.adsample.local.
_kerberos.adsample.local. 3600 IN TXT "ADSAMPLE.LOCAL"
_kerberos.adsample.local. 3600 IN URI 0 100 "krb5srv:m:tcp:idm.adsample.local."
_kerberos.adsample.local. 3600 IN URI 0 100 "krb5srv:m:udp:idm.adsample.local."
_kpasswd._tcp.adsample.local. 3600 IN SRV 0 100 464 idm.adsample.local.
_kpasswd._udp.adsample.local. 3600 IN SRV 0 100 464 idm.adsample.local.
_kpasswd.adsample.local. 3600 IN URI 0 100 "krb5srv:m:tcp:idm.adsample.local."
_kpasswd.adsample.local. 3600 IN URI 0 100 "krb5srv:m:udp:idm.adsample.local."
_ldap._tcp.adsample.local. 3600 IN SRV 0 100 389 idm.adsample.local.
ipa-ca.adsample.local. 3600 IN A 192.168.1.12
ipa-ca.adsample.local. 3600 IN AAAA 240b:10:aa20:6e00:20c:29ff:fe2a:9ab6[root@idm ~]#

この情報を既存DNSサーバに登録しろ、とのこと・・・

実は今回のadsample.localドメインって、samba ADドメインなので、これだと名前空間がバッティングしてないかなー、と確認してみると、がっつり重複してるエントリがいくつかありました

[root@idm ~]# dig +short  _ldap._tcp.adsample.local SRV
0 100 389 adserver.adsample.local.
[root@idm ~]# dig +short  _kerberos._tcp.adsample.local SRV
0 100 88 adserver.adsample.local.
[root@idm ~]# dig +short  _kerberos._udp.adsample.local SRV
0 100 88 adserver.adsample.local.
[root@idm ~]# dig +short  _kpasswd._tcp.adsample.local SRV
0 100 464 adserver.adsample.local.
[root@idm ~]# dig +short  _kpasswd._udp.adsample.local SRV
0 100 464 adserver.adsample.local.
[root@idm ~]#

とりあえず、ipa関連サービスの設定がどうなったのか確認

[root@idm ~]# systemctl list-unit-files|grep ipa
ipa-ccache-sweep.service                                                  static          -
ipa-custodia.service                                                      disabled        disabled
ipa-otpd@.service                                                         static          -
ipa.service                                                               enabled         disabled
ipa-otpd.socket                                                           disabled        disabled
ipa-ccache-sweep.timer                                                    enabled         disabled
[root@idm ~]# systemctl status ipa.service
● ipa.service - Identity, Policy, Audit
     Loaded: loaded (/usr/lib/systemd/system/ipa.service; enabled; preset: disabled)
     Active: active (exited) since Mon 2026-03-23 16:09:58 JST; 15min ago
 Invocation: 1eb73fa2a5e14a16901dd92c4d820dd2
    Process: 14341 ExecStart=/usr/sbin/ipactl start (code=exited, status=0/SUCCESS)
   Main PID: 14341 (code=exited, status=0/SUCCESS)
   Mem peak: 76.8M
        CPU: 2.383s

Mar 23 16:09:57 idm.adsample.local ipactl[14341]: Assuming stale, cleaning and proceeding
Mar 23 16:09:57 idm.adsample.local ipactl[14341]: ipa: INFO: The ipactl command was successful
Mar 23 16:09:57 idm.adsample.local ipactl[14341]: Starting Directory Service
Mar 23 16:09:57 idm.adsample.local ipactl[14341]: Starting krb5kdc Service
Mar 23 16:09:57 idm.adsample.local ipactl[14341]: Starting kadmin Service
Mar 23 16:09:57 idm.adsample.local ipactl[14341]: Starting httpd Service
Mar 23 16:09:57 idm.adsample.local ipactl[14341]: Starting ipa-custodia Service
Mar 23 16:09:57 idm.adsample.local ipactl[14341]: Starting pki-tomcatd Service
Mar 23 16:09:57 idm.adsample.local ipactl[14341]: Starting ipa-otpd Service
Mar 23 16:09:58 idm.adsample.local systemd[1]: Finished ipa.service - Identity, Policy, Audit.
[root@idm ~]#

IdMサーバ上での動作確認

とりあえずIdMサーバ上で動いているのか確認

第1章 コマンドラインから Identity Management へのログイン」にある「kinit」と「klist」を実行

[root@idm ~]# kinit
Password for root@ADSAMPLE.LOCAL:<パスワード>
[root@idm ~]# klist
Ticket cache: KCM:0
Default principal: admin@ADSAMPLE.LOCAL

Valid starting     Expires            Service principal
03/23/26 16:29:23  03/24/26 15:59:41  krbtgt/ADSAMPLE.LOCAL@ADSAMPLE.LOCAL
[root@idm ~]#

問題無く情報が取得できているようだ

2.2. IdM サービスの状態の表示」にある「ipactl status」でipaサーバの状態を確認

[root@idm ~]# ipactl status
Directory Service: RUNNING
krb5kdc Service: RUNNING
kadmin Service: RUNNING
httpd Service: RUNNING
ipa-custodia Service: RUNNING
pki-tomcatd Service: RUNNING
ipa-otpd Service: RUNNING
ipa: INFO: The ipactl command was successful
[root@idm ~]#

ユーザの作成などの操作

ユーザ作成については「3.7. IPA コマンドを使用した IdM へのユーザーアカウントの追加」にある「ipa user-add」にて実行

[root@idm ~]# ipa user-add
ipa: ERROR: did not receive Kerberos credentials
[root@idm ~]#

上記のようなエラーとなる場合は「kinit」を実行してkerberos認証を通しておく必要がある

[root@idm ~]# kinit
Password for root@ADSAMPLE.LOCAL:<パスワード>
[root@idm ~]# ipa user-add
First name: test
Last name: user
User login [tuser]: ipauser1
---------------------
Added user "ipauser1"
---------------------
  User login: ipauser1
  First name: test
  Last name: user
  Full name: test user
  Display name: test user
  Initials: tu
  Home directory: /home/ipauser1
  GECOS: test user
  Login shell: /bin/sh
  Principal name: ipauser1@ADSAMPLE.LOCAL
  Principal alias: ipauser1@ADSAMPLE.LOCAL
  Email address: ipauser1@adsample.local
  UID: 1540800003
  GID: 1540800003
  Password: False
  Member of groups: ipausers
  Kerberos keys available: False
[root@idm ~]#

上記は、ログインユーザ名「ipauser1」で作成したものとなる

最初からパスワードを設定する場合は「–password」オプション追加とのこと

パスワードを個別に設定する場合は「3.8. IPA コマンドで IdM のユーザーアカウントの変更」に記載があるように「ipa user-mod ユーザ名 –password」を実効

[root@idm ~]# ipa user-mod ipauser1 --password
Password:<パスワード>
Enter Password again to verify:<パスワード>
------------------------
Modified user "ipauser1"
------------------------
  User login: ipauser1
  First name: test
  Last name: user
  Home directory: /home/ipauser1
  Login shell: /bin/sh
  Principal name: ipauser1@ADSAMPLE.LOCAL
  Principal alias: ipauser1@ADSAMPLE.LOCAL
  Email address: ipauser1@adsample.local
  UID: 1540800003
  GID: 1540800003
  Account disabled: False
  Password: True
  Member of groups: ipausers
  Kerberos keys available: True
[root@idm ~]#

RHEL10クライアントからの登録

まずはGUIインストールしたRHEL10の[設定]-[システム]-[ユーザ]から「エンタープライズログインを追加」を実施してみる

有効なドメインと表示はされる

エラーとなり登録失敗

やはり、ちゃんと、Active Directory環境と中途半端な接続はダメなようです。

統合DNS/ルートCAでのインストール

第2章 IdM サーバーのインストール: 統合 DNS と統合 CA をルート CA として使用する場合」にて再度インストールを実行(注:仮想マシン再作成から実施)

まずは1.8. IdM サーバーに必要なパッケージのインストール記載の「dnf install ipa-server ipa-server-dns」でパッケージをインストール

[root@idm ~]# dnf install ipa-server ipa-server-dns
メタデータの期限切れの最終確認: 0:16:52 前の 2026年03月23日 17時28分16秒 に実施しました。
依存関係が解決しました。
============================================================================================================================
 パッケージ                                    Arch         バージョン                                リポジトリー    サイズ
============================================================================================================================
インストール:
 ipa-server                                    x86_64       4.12.2-24.el10_1.2                        appstream       400 k
 ipa-server-dns                                noarch       4.12.2-24.el10_1.2                        appstream        51 k
依存関係のインストール:
 389-ds-base                                   x86_64       3.1.3-7.el10_1                            appstream       2.8 M
 389-ds-base-libs                              x86_64       3.1.3-7.el10_1                            appstream       1.5 M
 ModemManager-glib                             x86_64       1.22.0-7.el10                             baseos          319 k
 acl                                           x86_64       2.3.2-4.el10                              baseos           79 k
 adwaita-cursor-theme                          noarch       46.0-3.el10                               appstream       522 k
 adwaita-icon-theme                            noarch       46.0-3.el10                               appstream       455 k
 almalinux-logos-httpd                         noarch       100.3-3.el10_0                            appstream        18 k
 almalinux-logos-ipa                           noarch       100.3-3.el10_0                            appstream        20 k
 alsa-lib                                      x86_64       1.2.14-2.el10_1                           appstream       508 k
 apache-commons-cli                            noarch       1.6.0-6.el10                              appstream        76 k
 apache-commons-codec                          noarch       1.17.1-1.el10                             appstream       313 k
 apache-commons-io                             noarch       1:2.16.1-1.el10                           appstream       478 k
 apache-commons-lang3                          noarch       3.14.0-6.el10                             appstream       617 k
 apache-commons-logging                        noarch       1.3.4-1.el10                              appstream        94 k
 apache-commons-net                            noarch       3.10.0-6.el10                             appstream       304 k
 apr                                           x86_64       1.7.5-2.el10                              appstream       128 k
 apr-util                                      x86_64       1.6.3-23.el10_1                           appstream        97 k
 apr-util-lmdb                                 x86_64       1.6.3-23.el10_1                           appstream        13 k
 at-spi2-atk                                   x86_64       2.56.1-1.el10                             appstream        86 k
 at-spi2-core                                  x86_64       2.56.1-1.el10                             appstream       363 k
 atk                                           x86_64       2.56.1-1.el10                             appstream        80 k
 augeas-libs                                   x86_64       1.14.2-0.3.20250224git6ee1282.el10        appstream       428 k
 autofs                                        x86_64       1:5.1.9-13.el10                           baseos          381 k
 avahi-glib                                    x86_64       0.9~rc2-2.el10                            appstream        14 k
 bind                                          x86_64       32:9.18.33-10.el10_1.2                    appstream       320 k
 bind-dnssec-utils                             x86_64       32:9.18.33-10.el10_1.2                    appstream       145 k
 bind-dyndb-ldap                               x86_64       11.11-2.el10                              appstream       111 k
 bluez-libs                                    x86_64       5.83-2.el10                               baseos           80 k
 cairo                                         x86_64       1.18.2-2.el10                             appstream       713 k
 cairo-gobject                                 x86_64       1.18.2-2.el10                             appstream        17 k
 certmonger                                    x86_64       0.79.20-3.el10                            appstream       608 k
 checkpolicy                                   x86_64       3.9-1.el10                                appstream       366 k
 cmake-filesystem                              x86_64       3.30.5-3.el10_0                           appstream        15 k
 colord-libs                                   x86_64       1.4.7-6.el10                              appstream       229 k
 cups-filesystem                               noarch       1:2.4.10-12.el10_1.2                      baseos           11 k
 cups-libs                                     x86_64       1:2.4.10-12.el10_1.2                      baseos          260 k
 cyrus-sasl-md5                                x86_64       2.1.28-29.el10                            appstream        43 k
 cyrus-sasl-plain                              x86_64       2.1.28-29.el10                            baseos           23 k
 default-fonts-core-sans                       noarch       4.1-3.el10                                baseos           34 k
 ecj                                           noarch       1:4.23-11.el10                            appstream       2.4 M
 exempi                                        x86_64       2.6.4-7.el10                              appstream       586 k
 exiv2-libs                                    x86_64       0.28.3-5.el10                             appstream       899 k
 fdk-aac-free                                  x86_64       2.0.0-15.el10                             appstream       339 k
 fftw-libs-single                              x86_64       3.3.10-15.el10                            appstream       1.1 M
 flac-libs                                     x86_64       1.4.3-6.el10                              appstream       263 k
 fontawesome4-fonts                            noarch       1:4.7.0-23.el10                           appstream       204 k
 fontconfig                                    x86_64       2.15.0-7.el10                             appstream       273 k
 fribidi                                       x86_64       1.0.14-4.el10                             appstream        91 k
 gdk-pixbuf2                                   x86_64       2.42.12-4.el10_0                          appstream       470 k
 gdk-pixbuf2-modules                           x86_64       2.42.12-4.el10_0                          appstream        28 k
 geoclue2                                      x86_64       2.7.2-1.el10                              appstream       148 k
 giflib                                        x86_64       5.2.1-22.el10                             appstream        52 k
 google-noto-fonts-common                      noarch       20240401-5.el10                           baseos           17 k
 google-noto-sans-vf-fonts                     noarch       20240401-5.el10                           baseos          593 k
 gpgmepp                                       x86_64       1.23.2-6.el10.alma.1                      appstream       140 k
 graphene                                      x86_64       1.10.6-10.el10                            appstream        61 k
 gsettings-desktop-schemas                     x86_64       47.1-3.el10_0                             baseos          765 k
 gsm                                           x86_64       1.0.22-8.el10                             appstream        36 k
 gssproxy                                      x86_64       0.9.2-10.el10                             baseos          120 k
 gstreamer1                                    x86_64       1.24.11-1.el10                            appstream       1.6 M
 gstreamer1-plugins-base                       x86_64       1.24.11-1.el10                            appstream       2.1 M
 gtk-update-icon-cache                         x86_64       3.24.43-4.el10                            appstream        33 k
 hicolor-icon-theme                            noarch       0.17-20.el10                              appstream        66 k
 httpcomponents-client                         noarch       4.5.14-9.el10                             appstream       663 k
 httpcomponents-core                           noarch       4.4.16-9.el10                             appstream       639 k
 httpd                                         x86_64       2.4.63-4.el10_1.3                         appstream        47 k
 httpd-core                                    x86_64       2.4.63-4.el10_1.3                         appstream       1.4 M
 httpd-filesystem                              noarch       2.4.63-4.el10_1.3                         appstream        13 k
 httpd-tools                                   x86_64       2.4.63-4.el10_1.3                         appstream        81 k
 idm-jss                                       x86_64       5.7.0-2.el10                              appstream       1.4 M
 idm-jss-tomcat                                x86_64       5.7.0-2.el10                              appstream        39 k
 idm-ldapjdk                                   noarch       5.6.0-1.el10                              appstream       472 k
 idm-pki-acme                                  noarch       11.7.0-2.el10                             appstream       162 k
 idm-pki-base                                  noarch       11.7.0-2.el10                             appstream       159 k
 idm-pki-ca                                    noarch       11.7.0-2.el10                             appstream       1.8 M
 idm-pki-java                                  noarch       11.7.0-2.el10                             appstream       3.9 M
 idm-pki-kra                                   noarch       11.7.0-2.el10                             appstream       348 k
 idm-pki-server                                noarch       11.7.0-2.el10                             appstream       3.4 M
 idm-pki-tools                                 x86_64       11.7.0-2.el10                             appstream       837 k
 inih-cpp                                      x86_64       58-3.el10                                 appstream        18 k
 ipa-client                                    x86_64       4.12.2-24.el10_1.2                        appstream       131 k
 ipa-client-common                             noarch       4.12.2-24.el10_1.2                        appstream        42 k
 ipa-common                                    noarch       4.12.2-24.el10_1.2                        appstream       683 k
 ipa-healthcheck-core                          noarch       0.16-11.el10                              appstream        66 k
 ipa-selinux                                   noarch       4.12.2-24.el10_1.2                        appstream        37 k
 ipa-server-common                             noarch       4.12.2-24.el10_1.2                        appstream       445 k
 iso-codes                                     noarch       4.16.0-6.el10                             appstream       3.6 M
 java-21-openjdk                               x86_64       1:21.0.10.0.7-1.el10.alma.1               appstream       428 k
 java-21-openjdk-devel                         x86_64       1:21.0.10.0.7-1.el10.alma.1               appstream       5.0 M
 java-21-openjdk-headless                      x86_64       1:21.0.10.0.7-1.el10.alma.1               appstream        48 M
 javapackages-filesystem                       noarch       6.4.0-1.el10                              appstream        12 k
 javapackages-tools                            noarch       6.4.0-1.el10                              appstream        39 k
 jbigkit-libs                                  x86_64       2.1-31.el10                               appstream        53 k
 krb5-pkinit                                   x86_64       1.21.3-8.el10_0                           baseos           60 k
 krb5-server                                   x86_64       1.21.3-8.el10_0                           baseos          298 k
 krb5-workstation                              x86_64       1.21.3-8.el10_0                           baseos          402 k
 lame-libs                                     x86_64       3.100-19.el10                             appstream       337 k
 lcms2                                         x86_64       2.16-6.el10                               appstream       182 k
 ldns                                          x86_64       1.8.3-18.el10                             appstream       174 k
 libX11                                        x86_64       1.8.10-1.el10                             appstream       652 k
 libX11-common                                 noarch       1.8.10-1.el10                             appstream       189 k
 libX11-xcb                                    x86_64       1.8.10-1.el10                             appstream        12 k
 libXau                                        x86_64       1.0.11-8.el10                             appstream        32 k
 libXcomposite                                 x86_64       0.4.6-5.el10                              appstream        24 k
 libXcursor                                    x86_64       1.2.1-9.el10                              appstream        30 k
 libXdamage                                    x86_64       1.1.6-5.el10                              appstream        23 k
 libXext                                       x86_64       1.3.6-3.el10                              appstream        39 k
 libXfixes                                     x86_64       6.0.1-5.el10                              appstream        19 k
 libXft                                        x86_64       2.3.8-8.el10                              appstream        72 k
 libXi                                         x86_64       1.8.1-7.el10                              appstream        40 k
 libXinerama                                   x86_64       1.1.5-8.el10                              appstream        14 k
 libXrandr                                     x86_64       1.5.4-5.el10                              appstream        27 k
 libXrender                                    x86_64       0.9.11-8.el10                             appstream        27 k
 libXtst                                       x86_64       1.2.4-8.el10                              appstream        20 k
 libXv                                         x86_64       1.0.12-5.el10                             appstream        18 k
 libXxf86vm                                    x86_64       1.1.5-8.el10                              appstream        18 k
 libasyncns                                    x86_64       0.8-30.el10                               appstream        30 k
 libatomic                                     x86_64       14.3.1-2.1.el10.alma.1                    baseos           54 k
 libcamera                                     x86_64       0.3.2-3.el10_0                            appstream       575 k
 libcanberra                                   x86_64       0.30-37.el10                              appstream        89 k
 libdatrie                                     x86_64       0.2.13-11.el10                            appstream        32 k
 libdex                                        x86_64       0.8.1-1.el10                              appstream        83 k
 libepoxy                                      x86_64       1.5.10-9.el10                             appstream       221 k
 libev                                         x86_64       4.33-14.el10                              baseos           50 k
 libexif                                       x86_64       0.6.24-9.el10                             appstream       458 k
 libfontenc                                    x86_64       1.1.7-5.el10                              appstream        32 k
 libgexiv2                                     x86_64       0.14.3-3.el10                             appstream       104 k
 libglvnd                                      x86_64       1:1.7.0-7.el10                            appstream       114 k
 libglvnd-egl                                  x86_64       1:1.7.0-7.el10                            appstream        36 k
 libglvnd-glx                                  x86_64       1:1.7.0-7.el10                            appstream       132 k
 libgsf                                        x86_64       1.14.53-2.el10                            appstream       259 k
 libgxps                                       x86_64       0.3.2-10.el10                             appstream        77 k
 libipa_hbac                                   x86_64       2.11.1-2.el10_1.1                         baseos           34 k
 libiptcdata                                   x86_64       1.0.5-20.el10                             appstream        60 k
 libjose                                       x86_64       14-102.el10                               appstream        64 k
 libjpeg-turbo                                 x86_64       3.0.2-4.el10                              appstream       253 k
 libkadm5                                      x86_64       1.21.3-8.el10_0                           baseos           76 k
 liblc3                                        x86_64       1.0.4-7.el10                              appstream        81 k
 libldac                                       x86_64       2.0.2.3-17.el10                           appstream        42 k
 liblerc                                       x86_64       4.0.0-8.el10                              appstream       215 k
 libnfsidmap                                   x86_64       1:2.8.3-0.el10_1.3                        baseos           60 k
 libnotify                                     x86_64       0.8.6-1.el10                              appstream        52 k
 libogg                                        x86_64       2:1.3.5-10.el10                           appstream        33 k
 libosinfo                                     x86_64       1.11.0-8.el10                             appstream       317 k
 libportal                                     x86_64       0.9.0-2.el10                              appstream        83 k
 libproxy                                      x86_64       0.5.5-4.el10                              baseos           48 k
 librsvg2                                      x86_64       2.57.1-9.el10                             appstream       1.5 M
 libsbc                                        x86_64       2.0-6.el10                                appstream        46 k
 libsndfile                                    x86_64       1.2.2-5.el10                              appstream       214 k
 libsoup3                                      x86_64       3.6.5-3.el10_1.10                         appstream       379 k
 libsss_autofs                                 x86_64       2.11.1-2.el10_1.1                         baseos           36 k
 libthai                                       x86_64       0.1.29-10.el10                            appstream       213 k
 libtheora                                     x86_64       1:1.1.1-39.el10                           appstream       169 k
 libtiff                                       x86_64       4.6.0-6.el10_1.1                          appstream       212 k
 libtracker-sparql                             x86_64       3.7.3-4.el10                              appstream       377 k
 liburing                                      x86_64       2.5-5.el10                                baseos           39 k
 libverto-libev                                x86_64       0.3.2-10.el10                             baseos           13 k
 libvorbis                                     x86_64       1:1.3.7-12.el10                           appstream       187 k
 libwayland-client                             x86_64       1.23.1-1.el10                             appstream        33 k
 libwayland-cursor                             x86_64       1.23.1-1.el10                             appstream        19 k
 libwayland-egl                                x86_64       1.23.1-1.el10                             appstream        12 k
 libwayland-server                             x86_64       1.23.1-1.el10                             appstream        41 k
 libwebp                                       x86_64       1.3.2-8.el10                              appstream       288 k
 libxcb                                        x86_64       1.17.0-3.el10                             appstream       238 k
 libxshmfence                                  x86_64       1.3.2-5.el10                              appstream        12 k
 lksctp-tools                                  x86_64       1.0.21-1.el10                             baseos           94 k
 llvm-filesystem                               x86_64       20.1.8-1.el10.alma.1                      appstream        11 k
 llvm-libs                                     x86_64       20.1.8-1.el10.alma.1                      appstream        30 M
 mailcap                                       noarch       2.1.54-8.el10                             baseos           34 k
 mesa-dri-drivers                              x86_64       25.0.7-6.el10_1.alma.1                    appstream        11 M
 mesa-filesystem                               x86_64       25.0.7-6.el10_1.alma.1                    appstream        13 k
 mesa-libEGL                                   x86_64       25.0.7-6.el10_1.alma.1                    appstream       130 k
 mesa-libGL                                    x86_64       25.0.7-6.el10_1.alma.1                    appstream       157 k
 mesa-libgbm                                   x86_64       25.0.7-6.el10_1.alma.1                    appstream        19 k
 mkfontscale                                   x86_64       1.2.2-8.el10                              appstream        32 k
 mod_auth_gssapi                               x86_64       1.6.5-8.el10                              appstream        73 k
 mod_lookup_identity                           x86_64       1.0.0-22.el10                             appstream        27 k
 mod_session                                   x86_64       2.4.63-4.el10_1.3                         appstream        46 k
 mod_ssl                                       x86_64       1:2.4.63-4.el10_1.3                       appstream       108 k
 mpg123-libs                                   x86_64       1.32.9-1.el10                             appstream       351 k
 nfs-utils                                     x86_64       1:2.8.3-0.el10_1.3                        baseos          457 k
 nss-tools                                     x86_64       3.112.0-8.el10_0                          appstream       438 k
 oddjob                                        x86_64       0.34.7-14.el10                            appstream        71 k
 oddjob-mkhomedir                              x86_64       0.34.7-14.el10                            appstream        27 k
 open-sans-fonts                               noarch       1.10-24.el10                              appstream       472 k
 opencryptoki                                  x86_64       3.25.0-5.el10_1.2                         baseos          285 k
 opencryptoki-ccatok                           x86_64       3.25.0-5.el10_1.2                         baseos          353 k
 opencryptoki-libs                             x86_64       3.25.0-5.el10_1.2                         baseos           89 k
 opendnssec                                    x86_64       2.1.14-1.el10                             appstream       516 k
 openjpeg2                                     x86_64       2.5.2-5.el10                              appstream       187 k
 openldap-clients                              x86_64       2.6.9-1.el10                              baseos          177 k
 openssl                                       x86_64       1:3.5.1-7.el10_1.alma.1                   baseos          1.2 M
 openssl-perl                                  x86_64       1:3.5.1-7.el10_1.alma.1                   appstream        29 k
 opus                                          x86_64       1.4-6.el10                                appstream       210 k
 orc                                           x86_64       0.4.39-2.el10                             appstream       225 k
 osinfo-db                                     noarch       20250606-1.el10.alma.1                    appstream       307 k
 osinfo-db-tools                               x86_64       1.11.0-8.el10                             appstream        75 k
 pango                                         x86_64       1.54.0-3.el10                             appstream       353 k
 perl-Algorithm-Diff                           noarch       1.2010-14.el10                            appstream        46 k
 perl-Archive-Tar                              noarch       3.02-512.el10                             appstream        75 k
 perl-AutoLoader                               noarch       5.74-512.2.el10_0                         appstream        21 k
 perl-B                                        x86_64       1.89-512.2.el10_0                         appstream       176 k
 perl-Carp                                     noarch       1.54-511.el10                             appstream        29 k
 perl-Class-Struct                             noarch       0.68-512.2.el10_0                         appstream        22 k
 perl-Compress-Raw-Bzip2                       x86_64       2.212-512.el10                            appstream        35 k
 perl-Compress-Raw-Lzma                        x86_64       2.212-3.el10                              appstream        51 k
 perl-Compress-Raw-Zlib                        x86_64       2.212-512.el10                            appstream        64 k
 perl-Data-Dumper                              x86_64       2.189-512.el10                            appstream        56 k
 perl-Digest                                   noarch       1.20-511.el10                             appstream        25 k
 perl-Digest-MD5                               x86_64       2.59-6.el10                               appstream        36 k
 perl-DynaLoader                               x86_64       1.56-512.2.el10_0                         appstream        26 k
 perl-Encode                                   x86_64       4:3.21-511.el10                           appstream       1.1 M
 perl-Errno                                    x86_64       1.38-512.2.el10_0                         appstream        15 k
 perl-Exporter                                 noarch       5.78-511.el10                             appstream        31 k
 perl-Fcntl                                    x86_64       1.18-512.2.el10_0                         appstream        29 k
 perl-File-Basename                            noarch       2.86-512.2.el10_0                         appstream        17 k
 perl-File-Find                                noarch       1.44-512.2.el10_0                         appstream        25 k
 perl-File-Path                                noarch       2.18-511.el10                             appstream        35 k
 perl-File-Temp                                noarch       1:0.231.100-512.el10                      appstream        59 k
 perl-File-stat                                noarch       1.14-512.2.el10_0                         appstream        17 k
 perl-FileHandle                               noarch       2.05-512.2.el10_0                         appstream        15 k
 perl-Getopt-Long                              noarch       1:2.58-3.el10                             appstream        67 k
 perl-Getopt-Std                               noarch       1.14-512.2.el10_0                         appstream        15 k
 perl-HTTP-Tiny                                noarch       0.088-512.el10                            appstream        56 k
 perl-IO                                       x86_64       1.55-512.2.el10_0                         appstream        77 k
 perl-IO-Compress                              noarch       2.212-512.el10                            appstream       307 k
 perl-IO-Compress-Lzma                         noarch       2.206-7.el10                              appstream        81 k
 perl-IO-Socket-IP                             noarch       0.42-512.el10                             appstream        42 k
 perl-IO-Socket-SSL                            noarch       2.085-3.el10                              appstream       229 k
 perl-IO-Zlib                                  noarch       1:1.15-511.el10                           appstream        20 k
 perl-IPC-Open3                                noarch       1.22-512.2.el10_0                         appstream        21 k
 perl-MIME-Base64                              x86_64       3.16-511.el10                             appstream        30 k
 perl-Mozilla-CA                               noarch       20231213-5.el10                           appstream        14 k
 perl-Net-SSLeay                               x86_64       1.94-8.el10                               appstream       356 k
 perl-POSIX                                    x86_64       2.20-512.2.el10_0                         appstream        96 k
 perl-PathTools                                x86_64       3.91-512.el10                             appstream        88 k
 perl-Pod-Escapes                              noarch       1:1.07-511.el10                           appstream        20 k
 perl-Pod-Perldoc                              noarch       3.28.01-512.el10                          appstream        88 k
 perl-Pod-Simple                               noarch       1:3.45-511.el10                           appstream       222 k
 perl-Pod-Usage                                noarch       4:2.03-511.el10                           appstream        40 k
 perl-Scalar-List-Utils                        x86_64       5:1.63-511.el10                           appstream        72 k
 perl-SelectSaver                              noarch       1.02-512.2.el10_0                         appstream        11 k
 perl-Socket                                   x86_64       4:2.038-511.el10                          appstream        54 k
 perl-Storable                                 x86_64       1:3.32-511.el10                           appstream        98 k
 perl-Symbol                                   noarch       1.09-512.2.el10_0                         appstream        14 k
 perl-Term-ANSIColor                           noarch       5.01-512.el10                             appstream        48 k
 perl-Term-Cap                                 noarch       1.18-511.el10                             appstream        22 k
 perl-Term-ReadLine                            noarch       1.17-512.2.el10_0                         appstream        19 k
 perl-Text-Diff                                noarch       1.45-24.el10                              appstream        40 k
 perl-Text-ParseWords                          noarch       3.31-511.el10                             appstream        16 k
 perl-Text-Tabs+Wrap                           noarch       2024.001-511.el10                         appstream        22 k
 perl-Tie                                      noarch       4.6-512.2.el10_0                          appstream        27 k
 perl-Time-Local                               noarch       2:1.350-511.el10                          appstream        34 k
 perl-URI                                      noarch       5.27-3.el10                               appstream       137 k
 perl-base                                     noarch       2.27-512.2.el10_0                         appstream        16 k
 perl-constant                                 noarch       1.33-512.el10                             appstream        23 k
 perl-debugger                                 noarch       1.60-512.2.el10_0                         appstream       133 k
 perl-if                                       noarch       0.61.000-512.2.el10_0                     appstream        14 k
 perl-interpreter                              x86_64       4:5.40.2-512.2.el10_0                     appstream        72 k
 perl-libnet                                   noarch       3.15-512.el10                             appstream       130 k
 perl-libs                                     x86_64       4:5.40.2-512.2.el10_0                     appstream       2.2 M
 perl-locale                                   noarch       1.12-512.2.el10_0                         appstream        13 k
 perl-meta-notation                            noarch       5.40.2-512.2.el10_0                       appstream        10 k
 perl-mro                                      x86_64       1.29-512.2.el10_0                         appstream        30 k
 perl-overload                                 noarch       1.37-512.2.el10_0                         appstream        45 k
 perl-overloading                              noarch       0.02-512.2.el10_0                         appstream        13 k
 perl-parent                                   noarch       1:0.241-512.el10                          appstream        15 k
 perl-podlators                                noarch       1:5.01-511.el10                           appstream       127 k
 perl-sigtrap                                  noarch       1.10-512.2.el10_0                         appstream        15 k
 perl-threads                                  x86_64       1:2.40-511.el10                           appstream        58 k
 perl-threads-shared                           x86_64       1.69-511.el10                             appstream        44 k
 perl-vars                                     noarch       1.05-512.2.el10_0                         appstream        13 k
 pipewire-jack-audio-connection-kit-libs       x86_64       1.4.6-1.el10                              appstream       144 k
 pipewire-libs                                 x86_64       1.4.6-1.el10                              appstream       2.4 M
 pixman                                        x86_64       0.43.4-2.el10                             appstream       285 k
 pkcs11-provider                               x86_64       1.0-3.el10_0                              baseos          142 k
 policycoreutils-python-utils                  noarch       3.9-1.el10                                appstream        45 k
 poppler                                       x86_64       24.02.0-7.el10_1                          appstream       1.2 M
 poppler-data                                  noarch       0.4.11-9.el10                             appstream       2.0 M
 poppler-glib                                  x86_64       24.02.0-7.el10_1                          appstream       190 k
 publicsuffix-list                             noarch       20240107-5.el10                           appstream        87 k
 pulseaudio-libs                               x86_64       17.0-6.el10                               appstream       703 k
 python3-argcomplete                           noarch       3.2.2-4.el10                              appstream        88 k
 python3-audit                                 x86_64       4.0.3-4.el10                              appstream        69 k
 python3-augeas                                noarch       1.1.0-14.el10                             appstream        39 k
 python3-cffi                                  x86_64       1.16.0-7.el10                             baseos          310 k
 python3-charset-normalizer                    noarch       3.4.2-1.el10                              baseos          114 k
 python3-cryptography                          x86_64       43.0.0-4.el10                             baseos          1.4 M
 python3-decorator                             noarch       5.1.1-12.el10                             baseos           31 k
 python3-distro                                noarch       1.9.0-5.el10                              appstream        51 k
 python3-dns                                   noarch       2.6.1-1.el10                              baseos          629 k
 python3-file-magic                            noarch       5.45-8.el10                               appstream        19 k
 python3-gssapi                                x86_64       1.7.3-10.el10                             appstream       657 k
 python3-idm-pki                               noarch       11.7.0-2.el10                             appstream       207 k
 python3-idna                                  noarch       3.7-4.el10                                baseos          121 k
 python3-ifaddr                                noarch       0.2.0-4.el10                              appstream        34 k
 python3-ipaclient                             noarch       4.12.2-24.el10_1.2                        appstream       598 k
 python3-ipalib                                noarch       4.12.2-24.el10_1.2                        appstream       748 k
 python3-ipaserver                             noarch       4.12.2-24.el10_1.2                        appstream       1.8 M
 python3-jinja2                                noarch       3.1.6-1.el10_0                            appstream       330 k
 python3-jwcrypto                              noarch       1.5.6-4.el10                              appstream       107 k
 python3-kdcproxy                              noarch       1.0.0-19.el10_1                           appstream        46 k
 python3-ldap                                  x86_64       3.4.4-9.el10                              appstream       290 k
 python3-lib389                                noarch       3.1.3-7.el10_1                            appstream       1.2 M
 python3-libipa_hbac                           x86_64       2.11.1-2.el10_1.1                         baseos           28 k
 python3-libsemanage                           x86_64       3.9-1.el10                                appstream        81 k
 python3-lxml                                  x86_64       5.2.1-4.el10                              appstream       1.4 M
 python3-markupsafe                            x86_64       2.1.3-6.el10                              appstream        35 k
 python3-mod_wsgi                              x86_64       5.0.0-4.el10                              appstream       954 k
 python3-netaddr                               noarch       1.3.0-2.el10                              appstream       1.7 M
 python3-ply                                   noarch       3.11-25.el10                              baseos          138 k
 python3-policycoreutils                       noarch       3.9-1.el10                                appstream       2.1 M
 python3-psutil                                x86_64       5.9.8-6.el10                              appstream       261 k
 python3-pyasn1                                noarch       0.6.2-1.el10_1                            appstream       174 k
 python3-pyasn1-modules                        noarch       0.6.2-1.el10_1                            appstream       312 k
 python3-pycparser                             noarch       2.20-16.el10                              baseos          160 k
 python3-pyusb                                 noarch       1.2.1-11.el10                             appstream       119 k
 python3-qrcode                                noarch       7.4.2-13.el10                             appstream       138 k
 python3-requests                              noarch       2.32.4-1.el10_0                           baseos          145 k
 python3-setools                               x86_64       4.5.1-5.el10                              baseos          691 k
 python3-setuptools                            noarch       69.0.3-12.el10_0                          baseos          1.4 M
 python3-sss                                   x86_64       2.11.1-2.el10_1.1                         baseos           27 k
 python3-sss-murmur                            x86_64       2.11.1-2.el10_1.1                         baseos           17 k
 python3-sssdconfig                            noarch       2.11.1-2.el10_1.1                         baseos           74 k
 python3-typing-extensions                     noarch       4.9.0-6.el10                              baseos           77 k
 python3-urllib3                               noarch       1.26.19-2.el10_1.1                        baseos          257 k
 python3-yubico                                noarch       1.3.3-17.el10                             appstream        82 k
 quota                                         x86_64       1:4.09-9.el10                             baseos          194 k
 quota-nls                                     noarch       1:4.09-9.el10                             baseos           76 k
 redhat-text-vf-fonts                          noarch       4.1.0-1.el10                              baseos          353 k
 rpcbind                                       x86_64       1.2.7-3.el10                              baseos           56 k
 rtkit                                         x86_64       0.11-68.el10                              appstream        59 k
 slapi-nis                                     x86_64       0.70.0-3.el10                             appstream        92 k
 slf4j                                         noarch       1.7.32-13.el10                            appstream        68 k
 slf4j-jdk14                                   noarch       1.7.32-13.el10                            appstream        17 k
 softhsm                                       x86_64       2.6.1-16.el10_0                           appstream       444 k
 sound-theme-freedesktop                       noarch       0.8-23.el10                               appstream       385 k
 spirv-tools-libs                              x86_64       2025.2-1.el10                             appstream       1.5 M
 sqlite                                        x86_64       3.46.1-5.el10_1                           appstream       890 k
 sscg                                          x86_64       3.0.5-12.el10                             appstream        46 k
 sssd-common-pac                               x86_64       2.11.1-2.el10_1.1                         baseos           88 k
 sssd-dbus                                     x86_64       2.11.1-2.el10_1.1                         baseos          124 k
 sssd-idp                                      x86_64       2.11.1-2.el10_1.1                         appstream        47 k
 sssd-ipa                                      x86_64       2.11.1-2.el10_1.1                         baseos          269 k
 sssd-krb5                                     x86_64       2.11.1-2.el10_1.1                         baseos           62 k
 sssd-nfs-idmap                                x86_64       2.11.1-2.el10_1.1                         baseos           35 k
 sssd-tools                                    x86_64       2.11.1-2.el10_1.1                         baseos          156 k
 tomcat9                                       noarch       1:9.0.87-8.el10_1.1                       appstream        90 k
 tomcat9-el-3.0-api                            noarch       1:9.0.87-8.el10_1.1                       appstream       105 k
 tomcat9-jsp-2.3-api                           noarch       1:9.0.87-8.el10_1.1                       appstream        72 k
 tomcat9-lib                                   noarch       1:9.0.87-8.el10_1.1                       appstream       6.0 M
 tomcat9-servlet-4.0-api                       noarch       1:9.0.87-8.el10_1.1                       appstream       283 k
 tracker                                       x86_64       3.7.3-4.el10                              appstream       642 k
 ttmkfdir                                      x86_64       3.0.9-72.el10                             appstream        57 k
 tzdata-java                                   noarch       2026a-1.el10                              appstream        45 k
 unbound                                       x86_64       1.20.0-15.el10_1                          appstream       980 k
 unbound-anchor                                x86_64       1.20.0-15.el10_1                          appstream        35 k
 unbound-libs                                  x86_64       1.20.0-15.el10_1                          appstream       545 k
 upower-libs                                   x86_64       1.90.9-1.el10                             appstream        58 k
 webrtc-audio-processing                       x86_64       1.3-5.el10                                appstream       525 k
 wireplumber                                   x86_64       0.5.10-1.el10                             appstream       102 k
 wireplumber-libs                              x86_64       0.5.10-1.el10                             appstream       386 k
 words                                         noarch       3.0-47.el10                               baseos          1.2 M
 xdg-desktop-portal                            x86_64       1.20.0-2.el10                             appstream       528 k
 xml-common                                    noarch       0.6.3-65.el10                             appstream        31 k
 xorg-x11-fonts-Type1                          noarch       7.5-40.el10                               appstream       506 k
 xprop                                         x86_64       1.2.7-3.el10                              appstream        35 k
 zlib-ng-compat-devel                          x86_64       2.2.3-3.el10_1                            appstream        36 k
弱い依存関係のインストール:
 apr-util-openssl                              x86_64       1.6.3-23.el10_1                           appstream        15 k
 bash-completion                               noarch       1:2.11-16.el10                            baseos          397 k
 dconf                                         x86_64       0.40.0-16.el10                            appstream       102 k
 exiv2                                         x86_64       0.28.3-5.el10                             appstream       2.1 M
 glib-networking                               x86_64       2.80.0-3.el10                             baseos          204 k
 gtk3                                          x86_64       3.24.43-4.el10                            appstream       5.6 M
 ipa-client-encrypted-dns                      x86_64       4.12.2-24.el10_1.2                        appstream        34 k
 ipa-server-encrypted-dns                      x86_64       4.12.2-24.el10_1.2                        appstream        34 k
 libcamera-ipa                                 x86_64       0.3.2-3.el10_0                            appstream       133 k
 libcanberra-gtk3                              x86_64       0.30-37.el10                              appstream        31 k
 low-memory-monitor                            x86_64       2.1-12.el10                               appstream        34 k
 mod_http2                                     x86_64       2.0.29-3.el10                             appstream       161 k
 mod_lua                                       x86_64       2.4.63-4.el10_1.3                         appstream        59 k
 perl-Devel-Peek                               x86_64       1.34-512.2.el10_0                         appstream        32 k
 perl-NDBM_File                                x86_64       1.17-512.2.el10_0                         appstream        22 k
 pipewire                                      x86_64       1.4.6-1.el10                              appstream       128 k
 pipewire-alsa                                 x86_64       1.4.6-1.el10                              appstream        60 k
 pipewire-jack-audio-connection-kit            x86_64       1.4.6-1.el10                              appstream        12 k
 pipewire-plugin-libcamera                     x86_64       1.4.6-1.el10                              appstream        75 k
 pipewire-pulseaudio                           x86_64       1.4.6-1.el10                              appstream       204 k
 redhat-mono-vf-fonts                          noarch       4.1.0-1.el10                              baseos          342 k
 rsvg-pixbuf-loader                            x86_64       2.57.1-9.el10                             appstream        15 k
 sssd-passkey                                  x86_64       2.11.1-2.el10_1.1                         baseos           46 k
 tracker-miners                                x86_64       3.7.3-4.el10                              appstream       962 k
 unbound-utils                                 x86_64       1.20.0-15.el10_1                          appstream        59 k
 upower                                        x86_64       1.90.9-1.el10                             appstream       144 k
 xdg-desktop-portal-gtk                        x86_64       1.15.3-1.el10                             appstream       136 k

トランザクションの概要
============================================================================================================================
インストール  397 パッケージ

ダウンロードサイズの合計: 218 M
インストール後のサイズ: 815 M
これでよろしいですか? [y/N]: y
<略>
インストール済み:
  389-ds-base-3.1.3-7.el10_1.x86_64                            389-ds-base-libs-3.1.3-7.el10_1.x86_64
  ModemManager-glib-1.22.0-7.el10.x86_64                       acl-2.3.2-4.el10.x86_64
  adwaita-cursor-theme-46.0-3.el10.noarch                      adwaita-icon-theme-46.0-3.el10.noarch
  almalinux-logos-httpd-100.3-3.el10_0.noarch                  almalinux-logos-ipa-100.3-3.el10_0.noarch
  alsa-lib-1.2.14-2.el10_1.x86_64                              apache-commons-cli-1.6.0-6.el10.noarch
  apache-commons-codec-1.17.1-1.el10.noarch                    apache-commons-io-1:2.16.1-1.el10.noarch
  apache-commons-lang3-3.14.0-6.el10.noarch                    apache-commons-logging-1.3.4-1.el10.noarch
  apache-commons-net-3.10.0-6.el10.noarch                      apr-1.7.5-2.el10.x86_64
  apr-util-1.6.3-23.el10_1.x86_64                              apr-util-lmdb-1.6.3-23.el10_1.x86_64
  apr-util-openssl-1.6.3-23.el10_1.x86_64                      at-spi2-atk-2.56.1-1.el10.x86_64
  at-spi2-core-2.56.1-1.el10.x86_64                            atk-2.56.1-1.el10.x86_64
  augeas-libs-1.14.2-0.3.20250224git6ee1282.el10.x86_64        autofs-1:5.1.9-13.el10.x86_64
  avahi-glib-0.9~rc2-2.el10.x86_64                             bash-completion-1:2.11-16.el10.noarch
  bind-32:9.18.33-10.el10_1.2.x86_64                           bind-dnssec-utils-32:9.18.33-10.el10_1.2.x86_64
  bind-dyndb-ldap-11.11-2.el10.x86_64                          bluez-libs-5.83-2.el10.x86_64
  cairo-1.18.2-2.el10.x86_64                                   cairo-gobject-1.18.2-2.el10.x86_64
  certmonger-0.79.20-3.el10.x86_64                             checkpolicy-3.9-1.el10.x86_64
  cmake-filesystem-3.30.5-3.el10_0.x86_64                      colord-libs-1.4.7-6.el10.x86_64
  cups-filesystem-1:2.4.10-12.el10_1.2.noarch                  cups-libs-1:2.4.10-12.el10_1.2.x86_64
  cyrus-sasl-md5-2.1.28-29.el10.x86_64                         cyrus-sasl-plain-2.1.28-29.el10.x86_64
  dconf-0.40.0-16.el10.x86_64                                  default-fonts-core-sans-4.1-3.el10.noarch
  ecj-1:4.23-11.el10.noarch                                    exempi-2.6.4-7.el10.x86_64
  exiv2-0.28.3-5.el10.x86_64                                   exiv2-libs-0.28.3-5.el10.x86_64
  fdk-aac-free-2.0.0-15.el10.x86_64                            fftw-libs-single-3.3.10-15.el10.x86_64
  flac-libs-1.4.3-6.el10.x86_64                                fontawesome4-fonts-1:4.7.0-23.el10.noarch
  fontconfig-2.15.0-7.el10.x86_64                              fribidi-1.0.14-4.el10.x86_64
  gdk-pixbuf2-2.42.12-4.el10_0.x86_64                          gdk-pixbuf2-modules-2.42.12-4.el10_0.x86_64
  geoclue2-2.7.2-1.el10.x86_64                                 giflib-5.2.1-22.el10.x86_64
  glib-networking-2.80.0-3.el10.x86_64                         google-noto-fonts-common-20240401-5.el10.noarch
  google-noto-sans-vf-fonts-20240401-5.el10.noarch             gpgmepp-1.23.2-6.el10.alma.1.x86_64
  graphene-1.10.6-10.el10.x86_64                               gsettings-desktop-schemas-47.1-3.el10_0.x86_64
  gsm-1.0.22-8.el10.x86_64                                     gssproxy-0.9.2-10.el10.x86_64
  gstreamer1-1.24.11-1.el10.x86_64                             gstreamer1-plugins-base-1.24.11-1.el10.x86_64
  gtk-update-icon-cache-3.24.43-4.el10.x86_64                  gtk3-3.24.43-4.el10.x86_64
  hicolor-icon-theme-0.17-20.el10.noarch                       httpcomponents-client-4.5.14-9.el10.noarch
  httpcomponents-core-4.4.16-9.el10.noarch                     httpd-2.4.63-4.el10_1.3.x86_64
  httpd-core-2.4.63-4.el10_1.3.x86_64                          httpd-filesystem-2.4.63-4.el10_1.3.noarch
  httpd-tools-2.4.63-4.el10_1.3.x86_64                         idm-jss-5.7.0-2.el10.x86_64
  idm-jss-tomcat-5.7.0-2.el10.x86_64                           idm-ldapjdk-5.6.0-1.el10.noarch
  idm-pki-acme-11.7.0-2.el10.noarch                            idm-pki-base-11.7.0-2.el10.noarch
  idm-pki-ca-11.7.0-2.el10.noarch                              idm-pki-java-11.7.0-2.el10.noarch
  idm-pki-kra-11.7.0-2.el10.noarch                             idm-pki-server-11.7.0-2.el10.noarch
  idm-pki-tools-11.7.0-2.el10.x86_64                           inih-cpp-58-3.el10.x86_64
  ipa-client-4.12.2-24.el10_1.2.x86_64                         ipa-client-common-4.12.2-24.el10_1.2.noarch
  ipa-client-encrypted-dns-4.12.2-24.el10_1.2.x86_64           ipa-common-4.12.2-24.el10_1.2.noarch
  ipa-healthcheck-core-0.16-11.el10.noarch                     ipa-selinux-4.12.2-24.el10_1.2.noarch
  ipa-server-4.12.2-24.el10_1.2.x86_64                         ipa-server-common-4.12.2-24.el10_1.2.noarch
  ipa-server-dns-4.12.2-24.el10_1.2.noarch                     ipa-server-encrypted-dns-4.12.2-24.el10_1.2.x86_64
  iso-codes-4.16.0-6.el10.noarch                               java-21-openjdk-1:21.0.10.0.7-1.el10.alma.1.x86_64
  java-21-openjdk-devel-1:21.0.10.0.7-1.el10.alma.1.x86_64     java-21-openjdk-headless-1:21.0.10.0.7-1.el10.alma.1.x86_64
  javapackages-filesystem-6.4.0-1.el10.noarch                  javapackages-tools-6.4.0-1.el10.noarch
  jbigkit-libs-2.1-31.el10.x86_64                              krb5-pkinit-1.21.3-8.el10_0.x86_64
  krb5-server-1.21.3-8.el10_0.x86_64                           krb5-workstation-1.21.3-8.el10_0.x86_64
  lame-libs-3.100-19.el10.x86_64                               lcms2-2.16-6.el10.x86_64
  ldns-1.8.3-18.el10.x86_64                                    libX11-1.8.10-1.el10.x86_64
  libX11-common-1.8.10-1.el10.noarch                           libX11-xcb-1.8.10-1.el10.x86_64
  libXau-1.0.11-8.el10.x86_64                                  libXcomposite-0.4.6-5.el10.x86_64
  libXcursor-1.2.1-9.el10.x86_64                               libXdamage-1.1.6-5.el10.x86_64
  libXext-1.3.6-3.el10.x86_64                                  libXfixes-6.0.1-5.el10.x86_64
  libXft-2.3.8-8.el10.x86_64                                   libXi-1.8.1-7.el10.x86_64
  libXinerama-1.1.5-8.el10.x86_64                              libXrandr-1.5.4-5.el10.x86_64
  libXrender-0.9.11-8.el10.x86_64                              libXtst-1.2.4-8.el10.x86_64
  libXv-1.0.12-5.el10.x86_64                                   libXxf86vm-1.1.5-8.el10.x86_64
  libasyncns-0.8-30.el10.x86_64                                libatomic-14.3.1-2.1.el10.alma.1.x86_64
  libcamera-0.3.2-3.el10_0.x86_64                              libcamera-ipa-0.3.2-3.el10_0.x86_64
  libcanberra-0.30-37.el10.x86_64                              libcanberra-gtk3-0.30-37.el10.x86_64
  libdatrie-0.2.13-11.el10.x86_64                              libdex-0.8.1-1.el10.x86_64
  libepoxy-1.5.10-9.el10.x86_64                                libev-4.33-14.el10.x86_64
  libexif-0.6.24-9.el10.x86_64                                 libfontenc-1.1.7-5.el10.x86_64
  libgexiv2-0.14.3-3.el10.x86_64                               libglvnd-1:1.7.0-7.el10.x86_64
  libglvnd-egl-1:1.7.0-7.el10.x86_64                           libglvnd-glx-1:1.7.0-7.el10.x86_64
  libgsf-1.14.53-2.el10.x86_64                                 libgxps-0.3.2-10.el10.x86_64
  libipa_hbac-2.11.1-2.el10_1.1.x86_64                         libiptcdata-1.0.5-20.el10.x86_64
  libjose-14-102.el10.x86_64                                   libjpeg-turbo-3.0.2-4.el10.x86_64
  libkadm5-1.21.3-8.el10_0.x86_64                              liblc3-1.0.4-7.el10.x86_64
  libldac-2.0.2.3-17.el10.x86_64                               liblerc-4.0.0-8.el10.x86_64
  libnfsidmap-1:2.8.3-0.el10_1.3.x86_64                        libnotify-0.8.6-1.el10.x86_64
  libogg-2:1.3.5-10.el10.x86_64                                libosinfo-1.11.0-8.el10.x86_64
  libportal-0.9.0-2.el10.x86_64                                libproxy-0.5.5-4.el10.x86_64
  librsvg2-2.57.1-9.el10.x86_64                                libsbc-2.0-6.el10.x86_64
  libsndfile-1.2.2-5.el10.x86_64                               libsoup3-3.6.5-3.el10_1.10.x86_64
  libsss_autofs-2.11.1-2.el10_1.1.x86_64                       libthai-0.1.29-10.el10.x86_64
  libtheora-1:1.1.1-39.el10.x86_64                             libtiff-4.6.0-6.el10_1.1.x86_64
  libtracker-sparql-3.7.3-4.el10.x86_64                        liburing-2.5-5.el10.x86_64
  libverto-libev-0.3.2-10.el10.x86_64                          libvorbis-1:1.3.7-12.el10.x86_64
  libwayland-client-1.23.1-1.el10.x86_64                       libwayland-cursor-1.23.1-1.el10.x86_64
  libwayland-egl-1.23.1-1.el10.x86_64                          libwayland-server-1.23.1-1.el10.x86_64
  libwebp-1.3.2-8.el10.x86_64                                  libxcb-1.17.0-3.el10.x86_64
  libxshmfence-1.3.2-5.el10.x86_64                             lksctp-tools-1.0.21-1.el10.x86_64
  llvm-filesystem-20.1.8-1.el10.alma.1.x86_64                  llvm-libs-20.1.8-1.el10.alma.1.x86_64
  low-memory-monitor-2.1-12.el10.x86_64                        mailcap-2.1.54-8.el10.noarch
  mesa-dri-drivers-25.0.7-6.el10_1.alma.1.x86_64               mesa-filesystem-25.0.7-6.el10_1.alma.1.x86_64
  mesa-libEGL-25.0.7-6.el10_1.alma.1.x86_64                    mesa-libGL-25.0.7-6.el10_1.alma.1.x86_64
  mesa-libgbm-25.0.7-6.el10_1.alma.1.x86_64                    mkfontscale-1.2.2-8.el10.x86_64
  mod_auth_gssapi-1.6.5-8.el10.x86_64                          mod_http2-2.0.29-3.el10.x86_64
  mod_lookup_identity-1.0.0-22.el10.x86_64                     mod_lua-2.4.63-4.el10_1.3.x86_64
  mod_session-2.4.63-4.el10_1.3.x86_64                         mod_ssl-1:2.4.63-4.el10_1.3.x86_64
  mpg123-libs-1.32.9-1.el10.x86_64                             nfs-utils-1:2.8.3-0.el10_1.3.x86_64
  nss-tools-3.112.0-8.el10_0.x86_64                            oddjob-0.34.7-14.el10.x86_64
  oddjob-mkhomedir-0.34.7-14.el10.x86_64                       open-sans-fonts-1.10-24.el10.noarch
  opencryptoki-3.25.0-5.el10_1.2.x86_64                        opencryptoki-ccatok-3.25.0-5.el10_1.2.x86_64
  opencryptoki-libs-3.25.0-5.el10_1.2.x86_64                   opendnssec-2.1.14-1.el10.x86_64
  openjpeg2-2.5.2-5.el10.x86_64                                openldap-clients-2.6.9-1.el10.x86_64
  openssl-1:3.5.1-7.el10_1.alma.1.x86_64                       openssl-perl-1:3.5.1-7.el10_1.alma.1.x86_64
  opus-1.4-6.el10.x86_64                                       orc-0.4.39-2.el10.x86_64
  osinfo-db-20250606-1.el10.alma.1.noarch                      osinfo-db-tools-1.11.0-8.el10.x86_64
  pango-1.54.0-3.el10.x86_64                                   perl-Algorithm-Diff-1.2010-14.el10.noarch
  perl-Archive-Tar-3.02-512.el10.noarch                        perl-AutoLoader-5.74-512.2.el10_0.noarch
  perl-B-1.89-512.2.el10_0.x86_64                              perl-Carp-1.54-511.el10.noarch
  perl-Class-Struct-0.68-512.2.el10_0.noarch                   perl-Compress-Raw-Bzip2-2.212-512.el10.x86_64
  perl-Compress-Raw-Lzma-2.212-3.el10.x86_64                   perl-Compress-Raw-Zlib-2.212-512.el10.x86_64
  perl-Data-Dumper-2.189-512.el10.x86_64                       perl-Devel-Peek-1.34-512.2.el10_0.x86_64
  perl-Digest-1.20-511.el10.noarch                             perl-Digest-MD5-2.59-6.el10.x86_64
  perl-DynaLoader-1.56-512.2.el10_0.x86_64                     perl-Encode-4:3.21-511.el10.x86_64
  perl-Errno-1.38-512.2.el10_0.x86_64                          perl-Exporter-5.78-511.el10.noarch
  perl-Fcntl-1.18-512.2.el10_0.x86_64                          perl-File-Basename-2.86-512.2.el10_0.noarch
  perl-File-Find-1.44-512.2.el10_0.noarch                      perl-File-Path-2.18-511.el10.noarch
  perl-File-Temp-1:0.231.100-512.el10.noarch                   perl-File-stat-1.14-512.2.el10_0.noarch
  perl-FileHandle-2.05-512.2.el10_0.noarch                     perl-Getopt-Long-1:2.58-3.el10.noarch
  perl-Getopt-Std-1.14-512.2.el10_0.noarch                     perl-HTTP-Tiny-0.088-512.el10.noarch
  perl-IO-1.55-512.2.el10_0.x86_64                             perl-IO-Compress-2.212-512.el10.noarch
  perl-IO-Compress-Lzma-2.206-7.el10.noarch                    perl-IO-Socket-IP-0.42-512.el10.noarch
  perl-IO-Socket-SSL-2.085-3.el10.noarch                       perl-IO-Zlib-1:1.15-511.el10.noarch
  perl-IPC-Open3-1.22-512.2.el10_0.noarch                      perl-MIME-Base64-3.16-511.el10.x86_64
  perl-Mozilla-CA-20231213-5.el10.noarch                       perl-NDBM_File-1.17-512.2.el10_0.x86_64
  perl-Net-SSLeay-1.94-8.el10.x86_64                           perl-POSIX-2.20-512.2.el10_0.x86_64
  perl-PathTools-3.91-512.el10.x86_64                          perl-Pod-Escapes-1:1.07-511.el10.noarch
  perl-Pod-Perldoc-3.28.01-512.el10.noarch                     perl-Pod-Simple-1:3.45-511.el10.noarch
  perl-Pod-Usage-4:2.03-511.el10.noarch                        perl-Scalar-List-Utils-5:1.63-511.el10.x86_64
  perl-SelectSaver-1.02-512.2.el10_0.noarch                    perl-Socket-4:2.038-511.el10.x86_64
  perl-Storable-1:3.32-511.el10.x86_64                         perl-Symbol-1.09-512.2.el10_0.noarch
  perl-Term-ANSIColor-5.01-512.el10.noarch                     perl-Term-Cap-1.18-511.el10.noarch
  perl-Term-ReadLine-1.17-512.2.el10_0.noarch                  perl-Text-Diff-1.45-24.el10.noarch
  perl-Text-ParseWords-3.31-511.el10.noarch                    perl-Text-Tabs+Wrap-2024.001-511.el10.noarch
  perl-Tie-4.6-512.2.el10_0.noarch                             perl-Time-Local-2:1.350-511.el10.noarch
  perl-URI-5.27-3.el10.noarch                                  perl-base-2.27-512.2.el10_0.noarch
  perl-constant-1.33-512.el10.noarch                           perl-debugger-1.60-512.2.el10_0.noarch
  perl-if-0.61.000-512.2.el10_0.noarch                         perl-interpreter-4:5.40.2-512.2.el10_0.x86_64
  perl-libnet-3.15-512.el10.noarch                             perl-libs-4:5.40.2-512.2.el10_0.x86_64
  perl-locale-1.12-512.2.el10_0.noarch                         perl-meta-notation-5.40.2-512.2.el10_0.noarch
  perl-mro-1.29-512.2.el10_0.x86_64                            perl-overload-1.37-512.2.el10_0.noarch
  perl-overloading-0.02-512.2.el10_0.noarch                    perl-parent-1:0.241-512.el10.noarch
  perl-podlators-1:5.01-511.el10.noarch                        perl-sigtrap-1.10-512.2.el10_0.noarch
  perl-threads-1:2.40-511.el10.x86_64                          perl-threads-shared-1.69-511.el10.x86_64
  perl-vars-1.05-512.2.el10_0.noarch                           pipewire-1.4.6-1.el10.x86_64
  pipewire-alsa-1.4.6-1.el10.x86_64                            pipewire-jack-audio-connection-kit-1.4.6-1.el10.x86_64
  pipewire-jack-audio-connection-kit-libs-1.4.6-1.el10.x86_64  pipewire-libs-1.4.6-1.el10.x86_64
  pipewire-plugin-libcamera-1.4.6-1.el10.x86_64                pipewire-pulseaudio-1.4.6-1.el10.x86_64
  pixman-0.43.4-2.el10.x86_64                                  pkcs11-provider-1.0-3.el10_0.x86_64
  policycoreutils-python-utils-3.9-1.el10.noarch               poppler-24.02.0-7.el10_1.x86_64
  poppler-data-0.4.11-9.el10.noarch                            poppler-glib-24.02.0-7.el10_1.x86_64
  publicsuffix-list-20240107-5.el10.noarch                     pulseaudio-libs-17.0-6.el10.x86_64
  python3-argcomplete-3.2.2-4.el10.noarch                      python3-audit-4.0.3-4.el10.x86_64
  python3-augeas-1.1.0-14.el10.noarch                          python3-cffi-1.16.0-7.el10.x86_64
  python3-charset-normalizer-3.4.2-1.el10.noarch               python3-cryptography-43.0.0-4.el10.x86_64
  python3-decorator-5.1.1-12.el10.noarch                       python3-distro-1.9.0-5.el10.noarch
  python3-dns-2.6.1-1.el10.noarch                              python3-file-magic-5.45-8.el10.noarch
  python3-gssapi-1.7.3-10.el10.x86_64                          python3-idm-pki-11.7.0-2.el10.noarch
  python3-idna-3.7-4.el10.noarch                               python3-ifaddr-0.2.0-4.el10.noarch
  python3-ipaclient-4.12.2-24.el10_1.2.noarch                  python3-ipalib-4.12.2-24.el10_1.2.noarch
  python3-ipaserver-4.12.2-24.el10_1.2.noarch                  python3-jinja2-3.1.6-1.el10_0.noarch
  python3-jwcrypto-1.5.6-4.el10.noarch                         python3-kdcproxy-1.0.0-19.el10_1.noarch
  python3-ldap-3.4.4-9.el10.x86_64                             python3-lib389-3.1.3-7.el10_1.noarch
  python3-libipa_hbac-2.11.1-2.el10_1.1.x86_64                 python3-libsemanage-3.9-1.el10.x86_64
  python3-lxml-5.2.1-4.el10.x86_64                             python3-markupsafe-2.1.3-6.el10.x86_64
  python3-mod_wsgi-5.0.0-4.el10.x86_64                         python3-netaddr-1.3.0-2.el10.noarch
  python3-ply-3.11-25.el10.noarch                              python3-policycoreutils-3.9-1.el10.noarch
  python3-psutil-5.9.8-6.el10.x86_64                           python3-pyasn1-0.6.2-1.el10_1.noarch
  python3-pyasn1-modules-0.6.2-1.el10_1.noarch                 python3-pycparser-2.20-16.el10.noarch
  python3-pyusb-1.2.1-11.el10.noarch                           python3-qrcode-7.4.2-13.el10.noarch
  python3-requests-2.32.4-1.el10_0.noarch                      python3-setools-4.5.1-5.el10.x86_64
  python3-setuptools-69.0.3-12.el10_0.noarch                   python3-sss-2.11.1-2.el10_1.1.x86_64
  python3-sss-murmur-2.11.1-2.el10_1.1.x86_64                  python3-sssdconfig-2.11.1-2.el10_1.1.noarch
  python3-typing-extensions-4.9.0-6.el10.noarch                python3-urllib3-1.26.19-2.el10_1.1.noarch
  python3-yubico-1.3.3-17.el10.noarch                          quota-1:4.09-9.el10.x86_64
  quota-nls-1:4.09-9.el10.noarch                               redhat-mono-vf-fonts-4.1.0-1.el10.noarch
  redhat-text-vf-fonts-4.1.0-1.el10.noarch                     rpcbind-1.2.7-3.el10.x86_64
  rsvg-pixbuf-loader-2.57.1-9.el10.x86_64                      rtkit-0.11-68.el10.x86_64
  slapi-nis-0.70.0-3.el10.x86_64                               slf4j-1.7.32-13.el10.noarch
  slf4j-jdk14-1.7.32-13.el10.noarch                            softhsm-2.6.1-16.el10_0.x86_64
  sound-theme-freedesktop-0.8-23.el10.noarch                   spirv-tools-libs-2025.2-1.el10.x86_64
  sqlite-3.46.1-5.el10_1.x86_64                                sscg-3.0.5-12.el10.x86_64
  sssd-common-pac-2.11.1-2.el10_1.1.x86_64                     sssd-dbus-2.11.1-2.el10_1.1.x86_64
  sssd-idp-2.11.1-2.el10_1.1.x86_64                            sssd-ipa-2.11.1-2.el10_1.1.x86_64
  sssd-krb5-2.11.1-2.el10_1.1.x86_64                           sssd-nfs-idmap-2.11.1-2.el10_1.1.x86_64
  sssd-passkey-2.11.1-2.el10_1.1.x86_64                        sssd-tools-2.11.1-2.el10_1.1.x86_64
  tomcat9-1:9.0.87-8.el10_1.1.noarch                           tomcat9-el-3.0-api-1:9.0.87-8.el10_1.1.noarch
  tomcat9-jsp-2.3-api-1:9.0.87-8.el10_1.1.noarch               tomcat9-lib-1:9.0.87-8.el10_1.1.noarch
  tomcat9-servlet-4.0-api-1:9.0.87-8.el10_1.1.noarch           tracker-3.7.3-4.el10.x86_64
  tracker-miners-3.7.3-4.el10.x86_64                           ttmkfdir-3.0.9-72.el10.x86_64
  tzdata-java-2026a-1.el10.noarch                              unbound-1.20.0-15.el10_1.x86_64
  unbound-anchor-1.20.0-15.el10_1.x86_64                       unbound-libs-1.20.0-15.el10_1.x86_64
  unbound-utils-1.20.0-15.el10_1.x86_64                        upower-1.90.9-1.el10.x86_64
  upower-libs-1.90.9-1.el10.x86_64                             webrtc-audio-processing-1.3-5.el10.x86_64
  wireplumber-0.5.10-1.el10.x86_64                             wireplumber-libs-0.5.10-1.el10.x86_64
  words-3.0-47.el10.noarch                                     xdg-desktop-portal-1.20.0-2.el10.x86_64
  xdg-desktop-portal-gtk-1.15.3-1.el10.x86_64                  xml-common-0.6.3-65.el10.noarch
  xorg-x11-fonts-Type1-7.5-40.el10.noarch                      xprop-1.2.7-3.el10.x86_64
  zlib-ng-compat-devel-2.2.3-3.el10_1.x86_64

完了しました!
[root@idm ~]#

作成されたユーザとグループを確認

[root@idm ~]# cat /etc/passwd
root:x:0:0:Super User:/root:/bin/bash
bin:x:1:1:bin:/bin:/usr/sbin/nologin
daemon:x:2:2:daemon:/sbin:/usr/sbin/nologin
adm:x:3:4:adm:/var/adm:/usr/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/usr/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/usr/sbin/nologin
operator:x:11:0:operator:/root:/usr/sbin/nologin
games:x:12:100:games:/usr/games:/usr/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/usr/sbin/nologin
nobody:x:65534:65534:Kernel Overflow User:/:/usr/sbin/nologin
tss:x:59:59:Account used for TPM access:/:/usr/sbin/nologin
systemd-oom:x:999:999:systemd Userspace OOM Killer:/:/sbin/nologin
dbus:x:81:81:System Message Bus:/:/usr/sbin/nologin
polkitd:x:114:114:User for polkitd:/:/sbin/nologin
sssd:x:998:997:User for sssd:/run/sssd:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/usr/share/empty.sshd:/usr/sbin/nologin
chrony:x:997:996:chrony system user:/var/lib/chrony:/sbin/nologin
systemd-coredump:x:995:995:systemd Core Dumper:/:/usr/sbin/nologin
pcuser:x:1000:1000:pcuser:/home/pcuser:/bin/bash
ods:x:994:994:opendnssec daemon account:/:/usr/sbin/nologin
unbound:x:993:993:Unbound DNS resolver:/var/lib/unbound:/sbin/nologin
pkcsslotd:x:992:992:Opencryptoki pkcsslotd user:/run/opencryptoki:/sbin/nologin
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin
named:x:25:25:Named:/var/named:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
geoclue:x:991:991:User for geoclue:/var/lib/geoclue:/sbin/nologin
tomcat:x:53:53:Apache Tomcat:/usr/share/tomcat:/sbin/nologin
rtkit:x:172:172:RealtimeKit:/:/sbin/nologin
kdcproxy:x:990:990:IPA KDC Proxy User:/:/sbin/nologin
ipaapi:x:989:989:IPA Framework User:/:/sbin/nologin
pkiuser:x:17:17:Certificate System:/home/pkiuser:/sbin/nologin
dirsrv:x:389:389:user for 389-ds-base:/usr/share/dirsrv/:/sbin/nologin
pipewire:x:988:988:PipeWire System Daemon:/run/pipewire:/usr/sbin/nologin
[root@idm ~]# cat /etc/group
root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:pcuser
cdrom:x:11:
mail:x:12:
man:x:15:
dialout:x:18:
floppy:x:19:
games:x:20:
tape:x:33:
video:x:39:
ftp:x:50:
lock:x:54:
audio:x:63:
users:x:100:
clock:x:103:
nobody:x:65534:
tss:x:59:
utmp:x:22:
utempter:x:35:
systemd-oom:x:999:
input:x:104:
kvm:x:36:
render:x:105:
sgx:x:106:
systemd-journal:x:190:
dbus:x:81:
polkitd:x:114:
printadmin:x:998:
sssd:x:997:
sshd:x:74:
chrony:x:996:
systemd-coredump:x:995:
pcuser:x:1000:
ods:x:994:
unbound:x:993:
pkcs11:x:992:
apache:x:48:
named:x:25:
rpc:x:32:
rpcuser:x:29:
geoclue:x:991:
tomcat:x:53:
rtkit:x:172:
kdcproxy:x:990:
ipaapi:x:989:apache
pkiuser:x:17:
dirsrv:x:389:
pipewire:x:988:
[root@idm ~]#

第2章 IdM サーバーのインストール: 統合 DNS と統合 CA をルート CA として使用する場合 に従い「ipa-server-install」を実効

[root@idm ~]# ipa-server-install

The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.
Version 4.12.2

This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * Configure the NTP client (chronyd)
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
  * Configure SID generation
  * Configure the KDC to enable PKINIT

To accept the default shown in brackets, press the Enter key.

Do you want to configure integrated DNS (BIND)? [no]: yes

今回はDNS統合するので標準値ではなく「yes」を指定

その後は標準値で実行

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 [idm.ipasample.local]:

Warning: skipping DNS resolution of host idm.ipasample.local
The domain name has been determined based on the host name.

Please confirm the domain name [ipasample.local]:

The kerberos protocol requires a Realm name to be defined.
This is typically the domain name converted to uppercase.

Please provide a realm name [IPASAMPLE.LOCAL]:

“Direcotry Manager”,”IPA admin”のパスワードを設定

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 (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):<パスワード>

DNSサーバの設定を開始。とりあえず現在上位のDNSサーバ設定を確認

Checking DNS domain ipasample.local., please wait ...
Invalid IP address fe80::20c:29ff:fe13:ded7 for idm.ipasample.local: cannot use link-local IP address fe80::20c:29ff:fe13:ded7
Do you want to configure DNS forwarders? [yes]:
Following DNS servers are configured in /etc/resolv.conf: 192.168.1.10, 2404:1a8:7f01:b::3, 2404:1a8:7f01:a::3
Do you want to configure these servers as DNS forwarders? [yes]:
All detected DNS servers were added. You can enter additional addresses now:
Enter an IP address for a DNS forwarder, or press Enter to skip:

うーん…失敗

DNS forwarders: 192.168.1.10, 2404:1a8:7f01:b::3, 2404:1a8:7f01:a::3
Checking DNS forwarders, please wait ...
DNS server 192.168.1.10: query '. SOA': All nameservers failed to answer the query . IN SOA: Server Do53:192.168.1.10@53 answered FORMERR
DNS server 192.168.1.10: query '. SOA': All nameservers failed to answer the query . IN SOA: Server Do53:192.168.1.10@53 answered FORMERR
The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
[root@idm ~]#

DNS フォワーダーの規格準拠の確認 (統合 DNS の場合のみ必要)」の問題なんだけど、samba adの場合どこを設定すればいいのか・・・

面倒なので、windows adに変更して再挑戦・・・

[root@idm ~]# ipa-server-install

The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.
Version 4.12.2

This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * Configure the NTP client (chronyd)
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
  * Configure SID generation
  * Configure the KDC to enable PKINIT

To accept the default shown in brackets, press the Enter key.

Do you want to configure integrated DNS (BIND)? [no]: yes

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 [idm.ipasample.local]:

Warning: skipping DNS resolution of host idm.ipasample.local
The domain name has been determined based on the host name.

Please confirm the domain name [ipasample.local]:

The kerberos protocol requires a Realm name to be defined.
This is typically the domain name converted to uppercase.

Please provide a realm name [IPASAMPLE.LOCAL]:
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 (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):

Checking DNS domain ipasample.local., please wait ...
Invalid IP address fe80::20c:29ff:fe13:ded7 for idm.ipasample.local: cannot use link-local IP address fe80::20c:29ff:fe13:ded7
Do you want to configure DNS forwarders? [yes]:
Following DNS servers are configured in /etc/resolv.conf: 192.168.1.40
Do you want to configure these servers as DNS forwarders? [yes]:
All detected DNS servers were added. You can enter additional addresses now:
Enter an IP address for a DNS forwarder, or press Enter to skip:
DNS forwarders: 192.168.1.40
Checking DNS forwarders, please wait ...
Do you want to search for missing reverse zones? [yes]:
Checking DNS domain 1.168.192.in-addr.arpa., please wait ...
DNS zone 1.168.192.in-addr.arpa. already exists in DNS and is handled by server(s): adserver.tmh-gw.jp.
The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
[root@idm ~]#

逆引きゾーンがあるとダメか・・・ということで、google dnsを上位DNSサーバに設定して再試行

[root@idm ~]# ipa-server-install

The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.
Version 4.12.2

This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * Configure the NTP client (chronyd)
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
  * Configure SID generation
  * Configure the KDC to enable PKINIT

To accept the default shown in brackets, press the Enter key.

Do you want to configure integrated DNS (BIND)? [no]: yes

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 [idm.ipasample.local]:

Warning: skipping DNS resolution of host idm.ipasample.local
The domain name has been determined based on the host name.

Please confirm the domain name [ipasample.local]:

The kerberos protocol requires a Realm name to be defined.
This is typically the domain name converted to uppercase.

Please provide a realm name [IPASAMPLE.LOCAL]:
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 (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):

Checking DNS domain ipasample.local., please wait ...
Invalid IP address fe80::20c:29ff:fe13:ded7 for idm.ipasample.local: cannot use link-local IP address fe80::20c:29ff:fe13:ded7
Do you want to configure DNS forwarders? [yes]:
Following DNS servers are configured in /etc/resolv.conf: 8.8.8.8
Do you want to configure these servers as DNS forwarders? [yes]:
All detected DNS servers were added. You can enter additional addresses now:
Enter an IP address for a DNS forwarder, or press Enter to skip:
DNS forwarders: 8.8.8.8
Checking DNS forwarders, please wait ...
Do you want to search for missing reverse zones? [yes]:
Checking DNS domain 1.168.192.in-addr.arpa., please wait ...
Checking DNS domain 0.0.e.6.0.2.a.a.0.1.0.0.b.0.4.2.ip6.arpa., please wait ...
Do you want to create reverse zone for IP 192.168.1.12 [yes]:
Please specify the reverse zone name [1.168.192.in-addr.arpa.]:
Checking DNS domain 1.168.192.in-addr.arpa., please wait ...
Do you want to create reverse zone for IP 240b:10:aa20:6e00:20c:29ff:fe13:ded7 [yes]:
Please specify the reverse zone name [0.0.e.6.0.2.a.a.0.1.0.0.b.0.4.2.ip6.arpa.]:
Checking DNS domain 0.0.e.6.0.2.a.a.0.1.0.0.b.0.4.2.ip6.arpa., please wait ...
Using reverse zone(s) 1.168.192.in-addr.arpa., 0.0.e.6.0.2.a.a.0.1.0.0.b.0.4.2.ip6.arpa.
Trust is configured but no NetBIOS domain name found, setting it now.

ようやく通過

NetBIOS名の設定などを設定して進む

NetBIOS domain name [IPASAMPLE]:

Do you want to configure chrony with NTP server or pool address? [no]:

The IPA Master Server will be configured with:
Hostname:       idm.ipasample.local
IP address(es): 192.168.1.12, 240b:10:aa20:6e00:20c:29ff:fe13:ded7
Domain name:    ipasample.local
Realm name:     IPASAMPLE.LOCAL

The CA will be configured with:
Subject DN:   CN=Certificate Authority,O=IPASAMPLE.LOCAL
Subject base: O=IPASAMPLE.LOCAL
Chaining:     self-signed

BIND DNS server will be configured to serve IPA domain with:
Forwarders:       8.8.8.8
Forward policy:   only
Reverse zone(s):  1.168.192.in-addr.arpa., 0.0.e.6.0.2.a.a.0.1.0.0.b.0.4.2.ip6.arpa.

Continue to configure the system with these values? [no]: 

ここから、作成を開始します

Continue to configure the system with these values? [no]: yes

The following operations may take some minutes to complete.
Please wait until the prompt is returned.

Adding [192.168.1.12 idm.ipasample.local] to your /etc/hosts file
Adding [240b:10:aa20:6e00:20c:29ff:fe13:ded7 idm.ipasample.local] to your /etc/hosts file
Disabled p11-kit-proxy
Synchronizing time
No SRV records of NTP servers found and no NTP server or pool address was provided.
Using default chrony configuration.
Attempting to sync time with chronyc.
Time synchronization was successful.
Configuring directory server (dirsrv). Estimated time: 30 seconds
  [1/42]: creating directory server instance
Validate installation settings ...
Create file system structures ...
Perform SELinux labeling ...
Create database backend: dc=ipasample,dc=local ...
Perform post-installation tasks ...
  [2/42]: adding default schema
  [3/42]: enabling memberof plugin
  [4/42]: enabling winsync plugin
  [5/42]: configure password logging
  [6/42]: configuring replication version plugin
  [7/42]: enabling IPA enrollment plugin
  [8/42]: configuring uniqueness plugin
  [9/42]: configuring uuid plugin
  [10/42]: configuring modrdn plugin
  [11/42]: configuring DNS plugin
  [12/42]: enabling entryUSN plugin
  [13/42]: configuring lockout plugin
  [14/42]: configuring graceperiod plugin
  [15/42]: configuring topology plugin
  [16/42]: creating indices
  [17/42]: enabling referential integrity plugin
  [18/42]: configuring certmap.conf
  [19/42]: configure new location for managed entries
  [20/42]: configure dirsrv ccache and keytab
  [21/42]: enabling SASL mapping fallback
  [22/42]: restarting directory server
  [23/42]: adding sasl mappings to the directory
  [24/42]: adding default layout
  [25/42]: adding delegation layout
  [26/42]: creating container for managed entries
  [27/42]: configuring user private groups
  [28/42]: configuring netgroups from hostgroups
  [29/42]: creating default Sudo bind user
  [30/42]: creating default Auto Member layout
  [31/42]: adding range check plugin
  [32/42]: creating default HBAC rule allow_all
  [33/42]: adding entries for topology management
  [34/42]: initializing group membership
  [35/42]: adding master entry
  [36/42]: initializing domain level
  [37/42]: configuring Posix uid/gid generation
  [38/42]: adding replication acis
  [39/42]: activating sidgen plugin
  [40/42]: activating extdom plugin
  [41/42]: configuring directory to start on boot
  [42/42]: restarting directory server
Done configuring directory server (dirsrv).
Configuring Kerberos KDC (krb5kdc)
  [1/11]: adding kerberos container to the directory
  [2/11]: configuring KDC
  [3/11]: initialize kerberos container
  [4/11]: adding default ACIs
  [5/11]: creating a keytab for the directory
  [6/11]: creating a keytab for the machine
  [7/11]: adding the password extension to the directory
  [8/11]: creating anonymous principal
  [9/11]: starting the KDC
  [10/11]: configuring KDC to start on boot
  [11/11]: enable PAC ticket signature support
Done configuring Kerberos KDC (krb5kdc).
Configuring kadmin
  [1/2]: starting kadmin
  [2/2]: configuring kadmin to start on boot
Done configuring kadmin.
Configuring ipa-custodia
  [1/5]: Making sure custodia container exists
  [2/5]: Generating ipa-custodia config file
  [3/5]: Generating ipa-custodia keys
  [4/5]: starting ipa-custodia
  [5/5]: configuring ipa-custodia to start on boot
Done configuring ipa-custodia.
Forcing random serial numbers to be enabled for the mdb backend
Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
  [1/33]: configuring certificate server instance
  [2/33]: stopping certificate server instance to update CS.cfg
  [3/33]: backing up CS.cfg
  [4/33]: Add ipa-pki-wait-running
Set start up timeout of pki-tomcatd service to 90 seconds
  [5/33]: secure AJP connector
  [6/33]: reindex attributes
  [7/33]: exporting Dogtag certificate store pin
  [8/33]: disabling nonces
  [9/33]: set up CRL publishing
  [10/33]: enable PKIX certificate path discovery and validation
  [11/33]: authorizing RA to modify profiles
  [12/33]: authorizing RA to manage lightweight CAs
  [13/33]: Ensure lightweight CAs container exists
  [14/33]: Enable lightweight CA monitor
  [15/33]: Ensuring backward compatibility
  [16/33]: enable certificate pruning
  [17/33]: updating IPA configuration
  [18/33]: starting certificate server instance
  [19/33]: configure certmonger for renewals
  [20/33]: requesting RA certificate from CA
  [21/33]: publishing the CA certificate
  [22/33]: adding RA agent as a trusted user
  [23/33]: configure certificate renewals
  [24/33]: Configure HTTP to proxy connections
  [25/33]: enabling CA instance
  [26/33]: importing IPA certificate profiles
  [27/33]: migrating certificate profiles to LDAP
  [28/33]: adding default CA ACL
  [29/33]: adding 'ipa' CA entry
  [30/33]: Recording random serial number state
  [31/33]: Recording HSM configuration state
  [32/33]: configuring certmonger renewal for lightweight CAs
  [33/33]: deploying ACME service
Done configuring certificate server (pki-tomcatd).
Configuring directory server (dirsrv)
  [1/3]: configuring TLS for DS instance
  [2/3]: adding CA certificate entry
  [3/3]: restarting directory server
Done configuring directory server (dirsrv).
Configuring ipa-otpd
  [1/2]: starting ipa-otpd
  [2/2]: configuring ipa-otpd to start on boot
Done configuring ipa-otpd.
Configuring the web interface (httpd)
  [1/22]: stopping httpd
  [2/22]: backing up ssl.conf
  [3/22]: disabling nss.conf
  [4/22]: configuring mod_ssl certificate paths
  [5/22]: setting mod_ssl protocol list
  [6/22]: configuring mod_ssl log directory
  [7/22]: disabling mod_ssl OCSP
  [8/22]: adding URL rewriting rules
  [9/22]: configuring httpd
Nothing to do for configure_httpd_wsgi_conf
  [10/22]: setting up httpd keytab
  [11/22]: configuring Gssproxy
  [12/22]: setting up ssl
  [13/22]: configure certmonger for renewals
  [14/22]: publish CA cert
  [15/22]: clean up any existing httpd ccaches
  [16/22]: enable ccache sweep
  [17/22]: configuring SELinux for httpd
  [18/22]: create KDC proxy config
  [19/22]: enable KDC proxy
  [20/22]: starting httpd
  [21/22]: configuring httpd to start on boot
  [22/22]: enabling oddjobd
Done configuring the web interface (httpd).
Configuring Kerberos KDC (krb5kdc)
  [1/1]: installing X509 Certificate for PKINIT
Done configuring Kerberos KDC (krb5kdc).
Applying LDAP updates
Upgrading IPA:. Estimated time: 1 minute 30 seconds
  [1/10]: stopping directory server
  [2/10]: saving configuration
  [3/10]: disabling listeners
  [4/10]: enabling DS global lock
  [5/10]: disabling Schema Compat
  [6/10]: starting directory server
  [7/10]: upgrading server
  [8/10]: stopping directory server
  [9/10]: restoring configuration
  [10/10]: starting directory server
Done.
Restarting the KDC
dnssec-validation yes
Configuring DNS (named)
  [1/13]: generating rndc key file
  [2/13]: adding DNS container
  [3/13]: setting up our zone
  [4/13]: setting up reverse zone
  [5/13]: setting up our own record
  [6/13]: setting up records for other masters
  [7/13]: adding NS record to the zones
  [8/13]: setting up kerberos principal
  [9/13]: setting up LDAPI autobind
  [10/13]: setting up named.conf
created new /etc/named.conf
created named user config '/etc/named/ipa-ext.conf'
created named user config '/etc/named/ipa-options-ext.conf'
created named user config '/etc/named/ipa-logging-ext.conf'
  [11/13]: setting up server configuration
  [12/13]: configuring named to start on boot
  [13/13]: changing resolv.conf to point to ourselves
Done configuring DNS (named).
Restarting the web server to pick up resolv.conf changes
Configuring DNS key synchronization service (ipa-dnskeysyncd)
  [1/7]: checking status
  [2/7]: setting up bind-dyndb-ldap working directory
  [3/7]: setting up kerberos principal
  [4/7]: setting up SoftHSM
  [5/7]: adding DNSSEC containers
  [6/7]: creating replica keys
  [7/7]: configuring ipa-dnskeysyncd to start on boot
Done configuring DNS key synchronization service (ipa-dnskeysyncd).
Restarting ipa-dnskeysyncd
Restarting named
Updating DNS system records
Configuring SID generation
  [1/8]: adding RID bases
  [2/8]: creating samba domain object
  [3/8]: adding admin(group) SIDs
  [4/8]: updating Kerberos config
'dns_lookup_kdc' already set to 'true', nothing to do.
  [5/8]: activating sidgen task
  [6/8]: restarting Directory Server to take MS PAC and LDAP plugins changes into account
  [7/8]: adding fallback group
  [8/8]: adding SIDs to existing users and groups
This step may take considerable amount of time, please wait..
Done.
Configuring client side components
This program will set up IPA client.
Version 4.12.2

Using existing certificate '/etc/ipa/ca.crt'.
Client hostname: idm.ipasample.local
Realm: IPASAMPLE.LOCAL
DNS Domain: ipasample.local
IPA Server: idm.ipasample.local
BaseDN: dc=ipasample,dc=local

Configured /etc/sssd/sssd.conf
Systemwide CA database updated.
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config.d/04-ipa.conf
Configuring ipasample.local as NIS domain.
Client configuration complete.
The ipa-client-install command was successful

==============================================================================
Setup complete

Next steps:
        1. You must make sure these network ports are open:
                TCP Ports:
                  * 80, 443: HTTP/HTTPS
                  * 389, 636: LDAP/LDAPS
                  * 88, 464: kerberos
                  * 53: bind
                UDP Ports:
                  * 88, 464: kerberos
                  * 53: bind
                  * 123: ntp

        2. You can now obtain a kerberos ticket using the command: 'kinit admin'
           This ticket will allow you to use the IPA tools (e.g., ipa user-add)
           and the web user interface.

Be sure to back up the CA certificates stored in /root/cacert.p12
These files are required to create replicas. The password for these
files is the Directory Manager password
The ipa-server-install command was successful
[root@idm ~]#

DNSへの登録状況を確認してみる

[root@idm ~]# dig +short _ldap._tcp.ipasample.local SRV
0 100 389 idm.ipasample.local.
[root@idm ~]# dig +short _kerberos._tcp.ipasample.local SRV
0 100 88 idm.ipasample.local.
[root@idm ~]# dig +short _kpasswd._tcp.ipasample.local SRV
0 100 464 idm.ipasample.local.
[root@idm ~]# dig +short ipa-ca.ipasample.local A
192.168.1.12
[root@idm ~]# dig +short ipa-ca.ipasample.local AAAA
240b:10:aa20:6e00:20c:29ff:fe13:ded7
[root@idm ~]# dig +short idm.ipasample.local A
192.168.1.12
[root@idm ~]# dig +short idm.ipasample.local AAAA
240b:10:aa20:6e00:20c:29ff:fe13:ded7
[root@idm ~]#

LDAPアクセス関連については登録されていることを確認

[root@idm ~]# dig +short -x 192.168.1.12
idm.ipasample.local.
[root@idm ~]# dig +short -x 240b:10:aa20:6e00:20c:29ff:fe13:ded7
idm.ipasample.local.
[root@idm ~]#

逆引き名も登録されていることを確認

ユーザ作成

[root@idm ~]# klist
klist: Credentials cache 'KCM:0' not found
[root@idm ~]# kinit
Password for root@IPASAMPLE.LOCAL:
[root@idm ~]# klist
Ticket cache: KCM:0
Default principal: admin@IPASAMPLE.LOCAL

Valid starting       Expires              Service principal
2026-03-23T19:16:16  2026-03-24T18:32:46  krbtgt/IPASAMPLE.LOCAL@IPASAMPLE.LOCAL
[root@idm ~]# ipa user-add --password
First name: test
Last name: user
User login [tuser]: ipauser1
Password:
確認のため再び Password を入力してください:
---------------------
Added user "ipauser1"
---------------------
  User login: ipauser1
  First name: test
  Last name: user
  Full name: test user
  Display name: test user
  Initials: tu
  Home directory: /home/ipauser1
  GECOS: test user
  Login shell: /bin/sh
  Principal name: ipauser1@IPASAMPLE.LOCAL
  Principal alias: ipauser1@IPASAMPLE.LOCAL
  User password expiration: 20260323101719Z
  Email address: ipauser1@ipasample.local
  UID: 1573600003
  GID: 1573600003
  Password: True
  Member of groups: ipausers
  Kerberos keys available: True
[root@idm ~]#

クライアント登録

GUIインストールしたRHEL10のDNSを今回設定したサーバに書き換えてから[設定]-[システム]-[ユーザ]から「エンタープライズログインを追加」を実施

うーん・・・

応答が返ってこない

「第14章 IdM クライアントのインストール」を見ると、「ipa-client-install」コマンドを使用している

[root@linux ~]# which ipa-client-install
/usr/bin/which: no ipa-client-install in (/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
[root@linux ~]#

GUIインストールしてたけど、該当のパッケージは入っていなかった

13.5. IdM クライアントに必要なパッケージのインストール」に従い「dnf install ipa-client」でインストール

[root@linux ~]# dnf install ipa-client
メタデータの期限切れの最終確認: 1:19:03 前の 2026年03月23日 18時22分00秒 に実施しました。
依存関係が解決しました。
============================================================================================================================
 パッケージ                         Arch            バージョン                                     リポジトリー       サイズ
============================================================================================================================
インストール:
 ipa-client                         x86_64          4.12.2-24.el10_1.2                             appstream          131 k
依存関係のインストール:
 augeas-libs                        x86_64          1.14.2-0.3.20250224git6ee1282.el10             appstream          428 k
 autofs                             x86_64          1:5.1.9-13.el10                                baseos             381 k
 certmonger                         x86_64          0.79.20-3.el10                                 appstream          608 k
 gssproxy                           x86_64          0.9.2-10.el10                                  baseos             120 k
 ipa-client-common                  noarch          4.12.2-24.el10_1.2                             appstream           42 k
 ipa-common                         noarch          4.12.2-24.el10_1.2                             appstream          683 k
 ipa-selinux                        noarch          4.12.2-24.el10_1.2                             appstream           37 k
 krb5-pkinit                        x86_64          1.21.3-8.el10_0                                baseos              60 k
 krb5-workstation                   x86_64          1.21.3-8.el10_0                                baseos             402 k
 libev                              x86_64          4.33-14.el10                                   baseos              50 k
 libkadm5                           x86_64          1.21.3-8.el10_0                                baseos              76 k
 libnfsidmap                        x86_64          1:2.8.3-0.el10_1.3                             baseos              60 k
 libsss_autofs                      x86_64          2.11.1-2.el10_1.1                              baseos              36 k
 libverto-libev                     x86_64          0.3.2-10.el10                                  baseos              13 k
 nfs-utils                          x86_64          1:2.8.3-0.el10_1.3                             baseos             457 k
 nss-tools                          x86_64          3.112.0-8.el10_0                               appstream          438 k
 python3-augeas                     noarch          1.1.0-14.el10                                  appstream           39 k
 python3-cffi                       x86_64          1.16.0-7.el10                                  baseos             310 k
 python3-cryptography               x86_64          43.0.0-4.el10                                  baseos             1.4 M
 python3-decorator                  noarch          5.1.1-12.el10                                  baseos              31 k
 python3-dns                        noarch          2.6.1-1.el10                                   baseos             629 k
 python3-gssapi                     x86_64          1.7.3-10.el10                                  appstream          657 k
 python3-ifaddr                     noarch          0.2.0-4.el10                                   appstream           34 k
 python3-ipaclient                  noarch          4.12.2-24.el10_1.2                             appstream          598 k
 python3-ipalib                     noarch          4.12.2-24.el10_1.2                             appstream          748 k
 python3-jinja2                     noarch          3.1.6-1.el10_0                                 appstream          330 k
 python3-jwcrypto                   noarch          1.5.6-4.el10                                   appstream          107 k
 python3-ldap                       x86_64          3.4.4-9.el10                                   appstream          290 k
 python3-libipa_hbac                x86_64          2.11.1-2.el10_1.1                              baseos              28 k
 python3-markupsafe                 x86_64          2.1.3-6.el10                                   appstream           35 k
 python3-netaddr                    noarch          1.3.0-2.el10                                   appstream          1.7 M
 python3-ply                        noarch          3.11-25.el10                                   baseos             138 k
 python3-pyasn1                     noarch          0.6.2-1.el10_1                                 appstream          174 k
 python3-pyasn1-modules             noarch          0.6.2-1.el10_1                                 appstream          312 k
 python3-pycparser                  noarch          2.20-16.el10                                   baseos             160 k
 python3-pyusb                      noarch          1.2.1-11.el10                                  appstream          119 k
 python3-qrcode                     noarch          7.4.2-13.el10                                  appstream          138 k
 python3-sss                        x86_64          2.11.1-2.el10_1.1                              baseos              27 k
 python3-sss-murmur                 x86_64          2.11.1-2.el10_1.1                              baseos              17 k
 python3-sssdconfig                 noarch          2.11.1-2.el10_1.1                              baseos              74 k
 python3-typing-extensions          noarch          4.9.0-6.el10                                   baseos              77 k
 python3-yubico                     noarch          1.3.3-17.el10                                  appstream           82 k
 rpcbind                            x86_64          1.2.7-3.el10                                   baseos              56 k
 sssd-dbus                          x86_64          2.11.1-2.el10_1.1                              baseos             124 k
 sssd-idp                           x86_64          2.11.1-2.el10_1.1                              appstream           47 k
 sssd-nfs-idmap                     x86_64          2.11.1-2.el10_1.1                              baseos              35 k
 sssd-tools                         x86_64          2.11.1-2.el10_1.1                              baseos             156 k
 unbound                            x86_64          1.20.0-15.el10_1                               appstream          980 k
 unbound-anchor                     x86_64          1.20.0-15.el10_1                               appstream           35 k
 unbound-libs                       x86_64          1.20.0-15.el10_1                               appstream          545 k
弱い依存関係のインストール:
 ipa-client-encrypted-dns           x86_64          4.12.2-24.el10_1.2                             appstream           34 k
 sssd-passkey                       x86_64          2.11.1-2.el10_1.1                              baseos              46 k
 unbound-utils                      x86_64          1.20.0-15.el10_1                               appstream           59 k

トランザクションの概要
============================================================================================================================
インストール  54 パッケージ

ダウンロードサイズの合計: 14 M
インストール後のサイズ: 63 M
これでよろしいですか? [y/N]: y
<略>
インストール済み:
  augeas-libs-1.14.2-0.3.20250224git6ee1282.el10.x86_64             autofs-1:5.1.9-13.el10.x86_64
  certmonger-0.79.20-3.el10.x86_64                                  gssproxy-0.9.2-10.el10.x86_64
  ipa-client-4.12.2-24.el10_1.2.x86_64                              ipa-client-common-4.12.2-24.el10_1.2.noarch
  ipa-client-encrypted-dns-4.12.2-24.el10_1.2.x86_64                ipa-common-4.12.2-24.el10_1.2.noarch
  ipa-selinux-4.12.2-24.el10_1.2.noarch                             krb5-pkinit-1.21.3-8.el10_0.x86_64
  krb5-workstation-1.21.3-8.el10_0.x86_64                           libev-4.33-14.el10.x86_64
  libkadm5-1.21.3-8.el10_0.x86_64                                   libnfsidmap-1:2.8.3-0.el10_1.3.x86_64
  libsss_autofs-2.11.1-2.el10_1.1.x86_64                            libverto-libev-0.3.2-10.el10.x86_64
  nfs-utils-1:2.8.3-0.el10_1.3.x86_64                               nss-tools-3.112.0-8.el10_0.x86_64
  python3-augeas-1.1.0-14.el10.noarch                               python3-cffi-1.16.0-7.el10.x86_64
  python3-cryptography-43.0.0-4.el10.x86_64                         python3-decorator-5.1.1-12.el10.noarch
  python3-dns-2.6.1-1.el10.noarch                                   python3-gssapi-1.7.3-10.el10.x86_64
  python3-ifaddr-0.2.0-4.el10.noarch                                python3-ipaclient-4.12.2-24.el10_1.2.noarch
  python3-ipalib-4.12.2-24.el10_1.2.noarch                          python3-jinja2-3.1.6-1.el10_0.noarch
  python3-jwcrypto-1.5.6-4.el10.noarch                              python3-ldap-3.4.4-9.el10.x86_64
  python3-libipa_hbac-2.11.1-2.el10_1.1.x86_64                      python3-markupsafe-2.1.3-6.el10.x86_64
  python3-netaddr-1.3.0-2.el10.noarch                               python3-ply-3.11-25.el10.noarch
  python3-pyasn1-0.6.2-1.el10_1.noarch                              python3-pyasn1-modules-0.6.2-1.el10_1.noarch
  python3-pycparser-2.20-16.el10.noarch                             python3-pyusb-1.2.1-11.el10.noarch
  python3-qrcode-7.4.2-13.el10.noarch                               python3-sss-2.11.1-2.el10_1.1.x86_64
  python3-sss-murmur-2.11.1-2.el10_1.1.x86_64                       python3-sssdconfig-2.11.1-2.el10_1.1.noarch
  python3-typing-extensions-4.9.0-6.el10.noarch                     python3-yubico-1.3.3-17.el10.noarch
  rpcbind-1.2.7-3.el10.x86_64                                       sssd-dbus-2.11.1-2.el10_1.1.x86_64
  sssd-idp-2.11.1-2.el10_1.1.x86_64                                 sssd-nfs-idmap-2.11.1-2.el10_1.1.x86_64
  sssd-passkey-2.11.1-2.el10_1.1.x86_64                             sssd-tools-2.11.1-2.el10_1.1.x86_64
  unbound-1.20.0-15.el10_1.x86_64                                   unbound-anchor-1.20.0-15.el10_1.x86_64
  unbound-libs-1.20.0-15.el10_1.x86_64                              unbound-utils-1.20.0-15.el10_1.x86_64

完了しました!
[root@linux ~]#

クライアント登録を実施するが、ユーザのホームディレクトリを作成するため「–mkhomedir」オプションをつけて実行する

[root@linux ~]# ipa-client-install --mkhomedir
This program will set up IPA client.
Version 4.12.2

invalid hostname: not fully qualified
The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information
[root@linux ~]# hostname
linux
[root@linux ~]#

おっと、ホスト名が不適切だった

設定しなおして、再実行

[root@linux ~]# ipa-client-install --mkhomedir
This program will set up IPA client.
Version 4.12.2

Discovery was successful!
Do you want to configure chrony with NTP server or pool address? [no]:
Client hostname: linux.ipasample.local
Realm: IPASAMPLE.LOCAL
DNS Domain: ipasample.local
IPA Server: idm.ipasample.local
BaseDN: dc=ipasample,dc=local

Continue to configure the system with these values? [no]: yes
Synchronizing time
No SRV records of NTP servers found and no NTP server or pool address was provided.
Using default chrony configuration.
Attempting to sync time with chronyc.
Time synchronization was successful.
User authorized to enroll computers:

続いてIdMドメインに登録出来る管理者アカウント名を入力

User authorized to enroll computers: admin
Password for admin@IPASAMPLE.LOCAL:<パスワード>
Successfully retrieved CA cert
    Subject:     CN=Certificate Authority,O=IPASAMPLE.LOCAL
    Issuer:      CN=Certificate Authority,O=IPASAMPLE.LOCAL
    Valid From:  2026-03-23 09:40:42+00:00
    Valid Until: 2046-03-23 09:40:42+00:00

Enrolled in IPA realm IPASAMPLE.LOCAL
Created /etc/ipa/default.conf
Configured /etc/sssd/sssd.conf
Systemwide CA database updated.
Hostname (linux.ipasample.local) does not have A/AAAA record.
Missing reverse record(s) for address(es): 192.168.1.76.
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config.d/04-ipa.conf
Configuring ipasample.local as NIS domain.
Configured /etc/krb5.conf for IPA realm IPASAMPLE.LOCAL
Client configuration complete.
The ipa-client-install command was successful
[root@linux ~]#

一般ユーザでのログイン試験

あら・・・初回ログイン時にパスワード変更が要求されていました

ん??処理が終わらない

sshでログインを試してみる

[root@idm ~]# ssh ipauser1@192.168.1.76
(ipauser1@192.168.1.76) Password:
(ipauser1@192.168.1.76) Password:
Last failed login: Mon Mar 23 19:52:37 JST 2026 from 192.168.1.12 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Mon Mar 23 19:51:57 2026
-sh-5.2$ who
ipauser1 pts/0        2026-03-23 19:52 (192.168.1.12)
-sh-5.2$ whoami
ipauser1
-sh-5.2$ id
uid=1573600003(ipauser1) gid=1573600003(ipauser1) groups=1573600003(ipauser1) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
-sh-5.2$ pwd
/home/ipauser1
-sh-5.2$

今度はユーザ名のみで入力

パスワード入力してログイン完了

(あ、スクショにwindows atokが映り込んでる)


最小限インストールからのLinuxクライアントの設定例

最小限インストールのAlmaLinux 10から、ipa-client をインストールして、CLIで参加するまでを実行

[root@linux2 ~]# hostname
linux2.ipasample.local
[root@linux2 ~]#

ホスト名ヨシ

「dnf install ipa-client」を実行してインストール

[root@linux2 ~]# dnf install ipa-client
AlmaLinux 10 - AppStream                        2.3 MB/s | 2.3 MB     00:00
AlmaLinux 10 - BaseOS                           6.4 MB/s |  18 MB     00:02
AlmaLinux 10 - CRB                              763 kB/s | 523 kB     00:00
AlmaLinux 10 - Extras                            20 kB/s |  12 kB     00:00
Dependencies resolved.
================================================================================
 Package                      Arch   Version                    Repo       Size
================================================================================
Installing:
 ipa-client                   x86_64 4.12.2-24.el10_1.2         appstream 131 k
Installing dependencies:
 acl                          x86_64 2.3.2-4.el10               baseos     79 k
 augeas-libs                  x86_64 1.14.2-0.3.20250224git6ee1282.el10
                                                                appstream 428 k
 autofs                       x86_64 1:5.1.9-13.el10            baseos    381 k
 bind-libs                    x86_64 32:9.18.33-10.el10_1.2     appstream 1.3 M
 bind-license                 noarch 32:9.18.33-10.el10_1.2     appstream  13 k
 bind-utils                   x86_64 32:9.18.33-10.el10_1.2     appstream 217 k
 certmonger                   x86_64 0.79.20-3.el10             appstream 608 k
 checkpolicy                  x86_64 3.9-1.el10                 appstream 366 k
 dbus-tools                   x86_64 1:1.14.10-5.el10           baseos     53 k
 fstrm                        x86_64 0.6.1-12.el10              appstream  28 k
 gssproxy                     x86_64 0.9.2-10.el10              baseos    120 k
 ipa-client-common            noarch 4.12.2-24.el10_1.2         appstream  42 k
 ipa-common                   noarch 4.12.2-24.el10_1.2         appstream 683 k
 ipa-selinux                  noarch 4.12.2-24.el10_1.2         appstream  37 k
 krb5-pkinit                  x86_64 1.21.3-8.el10_0            baseos     60 k
 krb5-workstation             x86_64 1.21.3-8.el10_0            baseos    402 k
 libev                        x86_64 4.33-14.el10               baseos     50 k
 libipa_hbac                  x86_64 2.11.1-2.el10              baseos     34 k
 libjose                      x86_64 14-102.el10                appstream  64 k
 libkadm5                     x86_64 1.21.3-8.el10_0            baseos     76 k
 libmaxminddb                 x86_64 1.9.1-4.el10               appstream  42 k
 libnfsidmap                  x86_64 1:2.8.3-0.el10_1.3         baseos     60 k
 libsss_autofs                x86_64 2.11.1-2.el10              baseos     36 k
 libuv                        x86_64 1:1.51.0-1.el10_0          appstream 262 k
 libverto-libev               x86_64 0.3.2-10.el10              baseos     13 k
 nfsv4-client-utils           x86_64 1:2.8.3-0.el10_1.3         appstream 151 k
 nspr                         x86_64 4.36.0-8.el10_0            appstream 135 k
 nss                          x86_64 3.112.0-8.el10_0           appstream 737 k
 nss-softokn                  x86_64 3.112.0-8.el10_0           appstream 402 k
 nss-softokn-freebl           x86_64 3.112.0-8.el10_0           appstream 416 k
 nss-sysinit                  x86_64 3.112.0-8.el10_0           appstream  19 k
 nss-tools                    x86_64 3.112.0-8.el10_0           appstream 438 k
 nss-util                     x86_64 3.112.0-8.el10_0           appstream  85 k
 oddjob                       x86_64 0.34.7-14.el10             appstream  71 k
 oddjob-mkhomedir             x86_64 0.34.7-14.el10             appstream  27 k
 openssl                      x86_64 1:3.5.1-3.el10.alma.1      baseos    1.2 M
 policycoreutils-python-utils noarch 3.9-1.el10                 appstream  45 k
 protobuf-c                   x86_64 1.5.0-6.el10               baseos     32 k
 python3-argcomplete          noarch 3.2.2-4.el10               appstream  88 k
 python3-audit                x86_64 4.0.3-4.el10               appstream  69 k
 python3-augeas               noarch 1.1.0-14.el10              appstream  39 k
 python3-cffi                 x86_64 1.16.0-7.el10              baseos    310 k
 python3-charset-normalizer   noarch 3.4.2-1.el10               baseos    114 k
 python3-cryptography         x86_64 43.0.0-4.el10              baseos    1.4 M
 python3-decorator            noarch 5.1.1-12.el10              baseos     31 k
 python3-distro               noarch 1.9.0-5.el10               appstream  51 k
 python3-dns                  noarch 2.6.1-1.el10               baseos    629 k
 python3-gssapi               x86_64 1.7.3-10.el10              appstream 657 k
 python3-idna                 noarch 3.7-4.el10                 baseos    121 k
 python3-ifaddr               noarch 0.2.0-4.el10               appstream  34 k
 python3-ipaclient            noarch 4.12.2-24.el10_1.2         appstream 598 k
 python3-ipalib               noarch 4.12.2-24.el10_1.2         appstream 748 k
 python3-jinja2               noarch 3.1.6-1.el10_0             appstream 330 k
 python3-jwcrypto             noarch 1.5.6-4.el10               appstream 107 k
 python3-ldap                 x86_64 3.4.4-9.el10               appstream 290 k
 python3-libipa_hbac          x86_64 2.11.1-2.el10              baseos     28 k
 python3-libsemanage          x86_64 3.9-1.el10                 appstream  81 k
 python3-markupsafe           x86_64 2.1.3-6.el10               appstream  35 k
 python3-netaddr              noarch 1.3.0-2.el10               appstream 1.7 M
 python3-ply                  noarch 3.11-25.el10               baseos    138 k
 python3-policycoreutils      noarch 3.9-1.el10                 appstream 2.1 M
 python3-pyasn1               noarch 0.6.2-1.el10_1             appstream 174 k
 python3-pyasn1-modules       noarch 0.6.2-1.el10_1             appstream 312 k
 python3-pycparser            noarch 2.20-16.el10               baseos    160 k
 python3-pyusb                noarch 1.2.1-11.el10              appstream 119 k
 python3-qrcode               noarch 7.4.2-13.el10              appstream 138 k
 python3-requests             noarch 2.32.4-1.el10_0            baseos    145 k
 python3-setools              x86_64 4.5.1-5.el10               baseos    691 k
 python3-setuptools           noarch 69.0.3-12.el10_0           baseos    1.4 M
 python3-sss                  x86_64 2.11.1-2.el10              baseos     27 k
 python3-sss-murmur           x86_64 2.11.1-2.el10_1.1          baseos     17 k
 python3-sssdconfig           noarch 2.11.1-2.el10              baseos     74 k
 python3-typing-extensions    noarch 4.9.0-6.el10               baseos     77 k
 python3-urllib3              noarch 1.26.19-2.el10_1.1         baseos    257 k
 python3-yubico               noarch 1.3.3-17.el10              appstream  82 k
 sssd-common-pac              x86_64 2.11.1-2.el10              baseos     88 k
 sssd-dbus                    x86_64 2.11.1-2.el10              baseos    124 k
 sssd-idp                     x86_64 2.11.1-2.el10              appstream  47 k
 sssd-ipa                     x86_64 2.11.1-2.el10              baseos    269 k
 sssd-krb5                    x86_64 2.11.1-2.el10              baseos     62 k
 sssd-nfs-idmap               x86_64 2.11.1-2.el10              baseos     35 k
 sssd-tools                   x86_64 2.11.1-2.el10              baseos    156 k
 unbound                      x86_64 1.20.0-15.el10_1           appstream 980 k
 unbound-anchor               x86_64 1.20.0-15.el10_1           appstream  35 k
 unbound-libs                 x86_64 1.20.0-15.el10_1           appstream 545 k
Installing weak dependencies:
 ipa-client-encrypted-dns     x86_64 4.12.2-24.el10_1.2         appstream  34 k
 sssd-passkey                 x86_64 2.11.1-2.el10              baseos     46 k
 unbound-utils                x86_64 1.20.0-15.el10_1           appstream  59 k

Transaction Summary
================================================================================
Install  89 Packages

Total download size: 25 M
Installed size: 96 M
Is this ok [y/N]: y
<略>
Complete!
[root@linux2 ~]#

「ipa-client-install –mkhomedir」で登録

[root@linux2 ~]# ipa-client-install --mkhomedir
This program will set up IPA client.
Version 4.12.2

Discovery was successful!
Do you want to configure chrony with NTP server or pool address? [no]:
Client hostname: linux2.ipasample.local
Realm: IPASAMPLE.LOCAL
DNS Domain: ipasample.local
IPA Server: idm.ipasample.local
BaseDN: dc=ipasample,dc=local

Continue to configure the system with these values? [no]: yes
Synchronizing time
No SRV records of NTP servers found and no NTP server or pool address was provided.
Using default chrony configuration.
Attempting to sync time with chronyc.
Time synchronization was successful.
User authorized to enroll computers: admin
Password for admin@IPASAMPLE.LOCAL:
Successfully retrieved CA cert
    Subject:     CN=Certificate Authority,O=IPASAMPLE.LOCAL
    Issuer:      CN=Certificate Authority,O=IPASAMPLE.LOCAL
    Valid From:  2026-03-23 09:40:42+00:00
    Valid Until: 2046-03-23 09:40:42+00:00

Enrolled in IPA realm IPASAMPLE.LOCAL
Created /etc/ipa/default.conf
Configured /etc/sssd/sssd.conf
Systemwide CA database updated.
Hostname (linux2.ipasample.local) does not have A/AAAA record.
Missing reverse record(s) for address(es): 192.168.1.77, 240b:10:aa20:6e00:20c:29ff:fe4c:b3e0.
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
SSSD enabled
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config.d/04-ipa.conf
Configuring ipasample.local as NIS domain.
Configured /etc/krb5.conf for IPA realm IPASAMPLE.LOCAL
Client configuration complete.
The ipa-client-install command was successful
[root@linux2 ~]#

IdMユーザの情報を持ってこれるか「id ユーザ名」を実行して確認

[root@linux2 ~]# id ipauser1
uid=1573600003(ipauser1) gid=1573600003(ipauser1) groups=1573600003(ipauser1)
[root@linux2 ~]#

情報がひけていることを確認

[root@idm ~]# ssh ipauser1@192.168.1.77
The authenticity of host '192.168.1.77 (192.168.1.77)' can't be established.
ED25519 key fingerprint is SHA256:iZZU51dTabKk0vwoKfKfxd1o+nLkxIHDXc2yMAw+SW4.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.1.77' (ED25519) to the list of known hosts.
(ipauser1@192.168.1.77) Password:
(ipauser1@192.168.1.77) Password:
Last failed login: Mon Mar 23 20:12:51 JST 2026 from 192.168.1.12 on ssh:notty
There was 1 failed login attempt since the last successful login.
-sh-5.2$ pwd
/home/ipauser1
-sh-5.2$ whoami
ipauser1
-sh-5.2$ id
uid=1573600003(ipauser1) gid=1573600003(ipauser1) groups=1573600003(ipauser1) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
-sh-5.2$

ログイン成功

ということで、問題なさそうです


設定変更に関する手順

ホームディレクトリ自動作成の設定

クライアント参加時に誤って「ipa-client-install」だけで、–mkhomedirオプションを付けなかったため、ユーザログイン時に/home以下にディレクトリが作成されない状態となってしまった

この状態から、自動作成されるように設定するための手順

認証に関する設定確認は「authconfig current」で行う

まず、最小限でインストールした直後の状態

[root@rhel10 ~]# authselect current
プロファイル ID: local
有効な機能: なし
[root@rhel10 ~]#

「ipa-client-install」で登録したあとの設定確認

[root@rhel10 ~]# authselect current
プロファイル ID: sssd
有効な機能:
- with-sudo
[root@rhel10 ~]# 

いまは「with-sudo」オプションがついた状態となっている

ここに「with-mkhomedir」オプションを追加する

[root@rhel10 ~]# authselect select sssd with-mkhomedir with-sudo
プロファイル "sssd" が設定されました。

Make sure that SSSD service is configured and enabled. See SSSD documentation for more information.

- with-mkhomedir is selected, make sure pam_oddjob_mkhomedir module
  is present and oddjobd service is enabled and active
  - systemctl enable --now oddjobd.service

[root@rhel10 ~]# authselect current
プロファイル ID: sssd
有効な機能:
- with-mkhomedir
- with-sudo
[root@rhel10 ~]#

変更を行ったあと、値を反映するための「authselect apply-changes」を実行

[root@rhel10 ~]# authselect apply-changes
変更は正常に適用されました。
[root@rhel10 ~]#

ただ、authselectによる設定の変更だけでは、ホームディレクトリに自動作成はできない

設定時の出力内容にもあるように、ホームディレクトリの自動作成はoddjobd による動作となっているため、これを常時自動する必要がある

標準状態ではoddjobdは停止している

[root@rhel10 ~]# systemctl status oddjobd
○ oddjobd.service - privileged operations for unprivileged applications
     Loaded: loaded (/usr/lib/systemd/system/oddjobd.service; disabled; preset:>
     Active: inactive (dead)
[root@rhel10 ~]#

これを有効化する

[root@rhel10 ~]# systemctl status oddjobd|cat
● oddjobd.service - privileged operations for unprivileged applications
     Loaded: loaded (/usr/lib/systemd/system/oddjobd.service; enabled; preset: disabled)
     Active: active (running) since Tue 2026-04-07 13:30:32 JST; 2s ago
 Invocation: a161941e5c024e30b5d8509d54dbe7fa
   Main PID: 1751 (oddjobd)
      Tasks: 1 (limit: 22915)
     Memory: 592K (peak: 1.2M)
        CPU: 9ms
     CGroup: /system.slice/oddjobd.service
             mq1751 /usr/sbin/oddjobd -n -p /run/oddjobd.pid -t 300

 4月 07 13:30:32 rhel10.ipasample.local systemd[1]: Started oddjobd.service - privileged operations for unprivileged applications.
[root@rhel10 ~]#

DNSレコードに関する操作

IdMがDNSサーバとして動作している場合、そのDNSエントリをコマンドで操作する

FreeIPAドメインにある DNS_Interface_Design

ipaコマンドによる操作を行う場合、まずは「kinit」を実行してkerberosの処理を行っておくこと

IdMで管理しているDNSゾーン一覧

IdMで管理しているDNSゾーンがなんなのかを確認するには「ipa dnszone-find」を実行


[root@netvault ~]# ipa dnszone-find
  Zone name: 1.168.192.in-addr.arpa.
  Active zone: True
  Authoritative nameserver: idm.ipasample.local.
  Administrator e-mail address: hostmaster.ipasample.local.
  SOA serial: 1776401733
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209600
  SOA minimum: 3600
  BIND update policy: grant IPASAMPLE.LOCAL krb5-subdomain 1.168.192.in-
                      addr.arpa. PTR;
  Dynamic update: True
  Allow query: any;
  Allow transfer: none;

  Zone name: 0.0.e.6.0.2.a.a.0.1.0.0.b.0.4.2.ip6.arpa.
  Active zone: True
  Authoritative nameserver: idm.ipasample.local.
  Administrator e-mail address: hostmaster.ipasample.local.
  SOA serial: 1776401733
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209600
  SOA minimum: 3600
  BIND update policy: grant IPASAMPLE.LOCAL krb5-subdomain
                      0.0.e.6.0.2.a.a.0.1.0.0.b.0.4.2.ip6.arpa. PTR;
  Dynamic update: True
  Allow query: any;
  Allow transfer: none;

  Zone name: ipasample.local.
  Active zone: True
  Authoritative nameserver: idm.ipasample.local.
  Administrator e-mail address: hostmaster.ipasample.local.
  SOA serial: 1776413263
  SOA refresh: 3600
  SOA retry: 900
  SOA expire: 1209600
  SOA minimum: 3600
  BIND update policy: grant IPASAMPLE.LOCAL krb5-self * A; grant IPASAMPLE.LOCAL
                      krb5-self * AAAA; grant IPASAMPLE.LOCAL krb5-self * SSHFP;
  Dynamic update: True
  Allow query: any;
  Allow transfer: none;
----------------------------
Number of entries returned 3
----------------------------
[root@netvault ~]#

ipasample.local と、IPv4アドレスの逆引き、IPv6アドレスの逆引きの3種類のゾーンがあった

指定ドメイン内のエントリ一覧出力

「ipa dnsrecord-find ドメイン名」で出力される

[root@netvault ~]# ipa dnsrecord-find ipasample.local
  Record name: @
  NS record: idm.ipasample.local.

  Record name: _kerberos
  TXT record: "IPASAMPLE.LOCAL"
  URI record: 0 100 "krb5srv:m:tcp:idm.ipasample.local.", 0 100
              "krb5srv:m:udp:idm.ipasample.local."

  Record name: _kpasswd
  URI record: 0 100 "krb5srv:m:tcp:idm.ipasample.local.", 0 100
              "krb5srv:m:udp:idm.ipasample.local."

  Record name: _kerberos._tcp
  SRV record: 0 100 88 idm.ipasample.local.

  Record name: _kerberos-master._tcp
  SRV record: 0 100 88 idm.ipasample.local.

  Record name: _kpasswd._tcp
  SRV record: 0 100 464 idm.ipasample.local.

  Record name: _ldap._tcp
  SRV record: 0 100 389 idm.ipasample.local.

  Record name: _kerberos._udp
  SRV record: 0 100 88 idm.ipasample.local.

  Record name: _kerberos-master._udp
  SRV record: 0 100 88 idm.ipasample.local.

  Record name: _kpasswd._udp
  SRV record: 0 100 464 idm.ipasample.local.

  Record name: idm
  A record: 192.168.1.12
  AAAA record: 240b:10:aa20:6e00:20c:29ff:fe13:ded7
  SSHFP record: 3 1 9BF8797C2D87D4B4286982126771155363B46ADA, 3 2
                FEEF675DF0A18F4DBF0E551390C421C7FDE42F70109D4FFA865A5596
                349C85E1, 4 1 23EB6A6565695AEA92377E9C3409D65F28108CE8, 4 2
                9096FAD47CF18AC30BE1AF8DC1ADEB92C006D650FB4BD250B952F588
                71D3C23B, 1 1 839E445A59FC6EF18C2C21CE5E9B527352D345F5, 1 2
                97350244818151969A9E81362B8E957550CEE2EA9280C7FF77FF642F
                65E50EA0

  Record name: ipa-ca
  A record: 192.168.1.12
  AAAA record: 240b:10:aa20:6e00:20c:29ff:fe13:ded7

  Record name: linux
  A record: 192.168.1.76
  SSHFP record: 3 1 A0221F7B412B14C1BD5356CFD9F472052F555000, 3 2
                CC496354FE3548810111F7555EC32800CF236E42BB3793C19567C19A
                A6A13F19, 4 1 643D7C23BB20CD5C142A24AEDD3FEB021EBF0AD1, 4 2
                F10B8F5A1B147E78D8D8F1D49E1AB7A5EB736601444BC00645C4B9CE
                C7CA670E, 1 1 5AFE08D03EB87ECC56A9934E8D845AA895010444, 1 2
                045EC38DEC3E2C7A20D8365AA648C8E008C6DAC776209C5F51700E6E
                1B0DE536

  Record name: linux2
  A record: 192.168.1.77
  AAAA record: 240b:10:aa20:6e00:20c:29ff:fe4c:b3e0
  SSHFP record: 3 1 07E11A56F9A1B3215EE8A8F64CB47C289304832F, 3 2
                F56009A09611B7DF43522556AEA16DE45E49A541E329351AC29D543C
                812C7DB4, 4 1 A50A628C1B1F686678C2B292E1CE071D953C6084, 4 2
                899654E7575369B2A4D2FC2829F29FC5DD68FA72E4C481C35DCDB230
                0C3E496E, 1 1 8AA8CDD03DF40FE02A4EE626F084D65D0B5DE84B, 1 2
                053507EB6939DA916AD9D082E909B46233C0AE1219AA678B70F1D882
                A0FEA427

  Record name: netvault
  A record: 192.168.1.74
  SSHFP record: 3 1 371161BD4C52B73035A0B0500298CAA4551C228D, 3 2
                D175C1F508E1751B1D144776453C7E1075FDB645B7868C89DC0332C8
                3839C24A, 4 1 DF3C395DB53CADCC7DA50446FF12FA009FC60464, 4 2
                1E67F2F59AE88773523A405A1F05BFF3B4C847AA4536514D337AFAF2
                AB780ACD, 1 1 EA6740F891628CFC47566FA230C76819F1E2F2D6, 1 2
                DC7E3ED59D5156D32FD9263CE2AB15FBBDCD682BE0A359AC094DB097
                73BE1EB8

  Record name: nvclient
  A record: 192.168.1.75

  Record name: rhel10
  A record: 192.168.1.76
  SSHFP record: 3 1 E049511774A4DEC5F7A8CCA78FD2913BBABCE18A, 3 2
                1B5A9B818E92E86461087FCCD3588DD8407375AD362EA6D94B0A9C8A
                20C3CD2C, 4 1 AF6E07C5D2D4ABE36C2EA4A95B57449441959F55, 4 2
                03FB27C27B69C493D138401988D318AF7D22868EAC76F63440A4D3E0
                34752773, 1 1 34E9AB84FE2ED1DBBA147E3FCC318D2F5B68AFBC, 1 2
                F685CB7A2C57E7252A6881EBBA9D0524F6EEB6E9F80D2BE136FA7BCD
                14E0FAEC
-----------------------------
Number of entries returned 17
-----------------------------
[root@netvault ~]#

上記に表示されているホスト登録のうち「SSHFP record」があるものは、IdMに参加したホストに関するエントリ

DNSに登録されているレコードの個別確認

エントリがわかっている場合は個別に「ipa dnsrecord-show」コマンドで確認出来る

「–all」オプションを付けると情報が増える(ipa dnsrecord-findでも同じ)

[root@netvault ~]# ipa dnsrecord-show ipasample.local nvclient
  Record name: nvclient
  A record: 192.168.1.75
[root@netvault ~]# ipa dnsrecord-show ipasample.local nvclient --all
  dn: idnsname=nvclient,idnsname=ipasample.local.,cn=dns,dc=ipasample,dc=local
  Record name: nvclient
  A record: 192.168.1.75
  objectclass: top, idnsrecord
[root@netvault ~]#

DNSにレコードを登録する

DNSにレコードを登録する場合、「ipa dnsrecord-add ドメイン名」で対話式で登録ができる

[root@netvault ~]# ipa dnsrecord-add ipasample.local
Record name: nvclient
Please choose a type of DNS resource record to be added
The most common types for this type of zone are: A, AAAA

DNS resource record type: A
A IP Address: 192.168.1.75
  Record name: nvclient
  A record: 192.168.1.75
[root@netvault ~]#

上記のAレコードを作成する相当する操作は「–a-rec=IPアドレス」でも「–a-ip-address=IPアドレス」のどちらでもAレコードは作成される。

ただし、–a-ip-addressの場合は”–a-create-reverse”オプションも追加することでPTRレコードも同時に作成できる、という違いがある

ipa-client-installコマンドおよびGUI操作でIdMに登録した場合は、オプションを何も指定しない場合はPTRレコードを登録してくれない模様でPTRレコードはidmサーバ自身の登録しかなかった

[root@netvault ~]# ipa dnsrecord-add ipasample.local test  --a-ip-address=192.168.1.75
  Record name: test
  A record: 192.168.1.75
[root@netvault ~]# ipa dnsrecord-show ipasample.local test
  Record name: test
  A record: 192.168.1.75
[root@netvault ~]#
[root@netvault ~]# ipa dnsrecord-add ipasample.local test2 --a-rec=192.168.1.75
  Record name: test2
  A record: 192.168.1.75
[root@netvault ~]# ipa dnsrecord-show ipasample.local test2
  Record name: test2
  A record: 192.168.1.75
[root@netvault ~]#

とりあえず使うオプション

「A」レコード: –a-rec=IPアドレス か –a-ip-address=IPアドレス
「AAAA」レコード: –aaaa-rec=IPv6アドレス か –aaaa-ip-address=IPv6アドレス
「CNAME」レコード: –cname-rec=文字列 か –cname-hostname=文字列
「TXT」レコード: –txt-rec=文字列 か –txt-data=文字列

DNSレコードの削除

DNSレコードはipa dnsrecord-delで行える

対話式のパターンがある

[root@netvault ~]# ipa dnsrecord-del ipasample.local test
No option to delete specific record provided.
Delete all? Yes/No (default No): yes
---------------------
Deleted record "test"
---------------------
[root@netvault ~]# ipa dnsrecord-show ipasample.local test
ipa: ERROR: test: DNS resource record not found
[root@netvault ~]#

オプションを指定して削除することもできる

削除の場合は「–a-rec=IPアドレス」のみ

[root@netvault ~]# ipa dnsrecord-del ipasample.local test2 --a-rec=192.168.1.75
----------------------
Deleted record "test2"
----------------------
[root@netvault ~]# ipa dnsrecord-show ipasample.local test2
ipa: ERROR: test2: DNS resource record not found
[root@netvault ~]#

DNSレコードの修正

登録済みレコードの修正は「ipa dnsrecord-mod」で行える

オプションの作りはaddの時と同様

LinuxでのUI日本語文字化け時のパッケージメモ

RHEL系

OSの言語対応「sudo dnf install glibc-langpack-ja」

RHEL7ぐらいまでフォント対応「yum install vlgothic-fonts vlgothic-p-fonts」

RHEL8以降のフォント対応「sudo dnf install google-noto-cjk-fonts-common google-noto-sans-cjk-ttc-fonts google-noto-serif-cjk-ttc-fonts」

Debian/Ubuntu系

OSの言語対応「sudo apt install language-pack-ja firefox-locale-ja」

フォント対応「sudo apt install fonts-arphic-uming fonts-takao-gothic」

古めのフォント対応「sudo apt install fonts-arphic-uming fonts-takao-pgothic」(パッケージ名が変わった)

このblogでの関連記事

Zentyalを日本語で使う場合の設定手順

armbianで起動したchromiumが文字化けする

最小インストールのRHEL7環境で文字化けせずにNetBackup管理画面を表示するために必要なパッケージ

Windows 11 Insider Preview環境でWSLg経由で起動したUbuntu 20.04のfirefoxが日本語文字化けする

samba 4.23.3 で立てたActive Directoryサーバの機能レベルが2008R2から動かせない件を修正する

ESXi8 Free環境上に Active Directoryサーバを立てるか、と、AlmaLinux 9 で samba 4.23.3 をソースからコンパイルして構築した

# /usr/local/samba/bin/samba-tool domain provision --use-rfc2307 --interactive
Realm [ADSAMPLE.LOCAL]:
Domain [ADSAMPLE]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write 'none' to disable forwarding) [8.8.8.8]:  8.8.8.8
Administrator password:
Retype password:
INFO 2025-11-10 14:24:37,370 pid:1551 /usr/local/samba/lib64/python3.9/site-packages/samba/provision/__init__.py #2112: Looking up IPv4 addresses
<略>
INFO 2025-11-10 14:24:49,826 pid:1551 /usr/local/samba/lib64/python3.9/site-packages/samba/provision/__init__.py #501: DOMAIN SID:            S-1-5-21-1830428519-1651848948-1698044471
#

これで起動したActive Directoryサーバのフォレストレベル / ドメインレベル は下記の様にWindows 2008 R2 となっていた。

# samba-tool domain level show
Domain and forest function level for domain 'DC=adsample,DC=local'

Forest function level: (Windows) 2008 R2
Domain function level: (Windows) 2008 R2
Lowest function level of a DC: (Windows) 2008 R2
#

これをアップグレードしようと samba-tool domain level raiseコマンドを実行してみてもエラーとなる。

# samba-tool domain level raise --forest-level=2012_R2
ERROR: Forest function level can't be higher than the domain function level(s). Please raise it/them first!
# samba-tool domain level raise --domain-level=2012_R2
ERROR: Domain function level can't be higher than the lowest function level of a DC!
#

これはデフォルトのsamba設定で”ad dc functional level”が2008R2までとなっているからそういうことになっているのだという(参考:Samba domain controller: raising (all kinds of) level)

testparamコマンドを実行して現在の設定値を確認する

# /usr/local/samba/bin/testparm -s --section-name=global --parameter-name="ad dc functional level"
Load smb config files from /usr/local/samba/etc/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

2008_R2
#

現状の /usr/local/samba/etc/smb.conf に記載はないが、 samba設定としては 2008_R2 として認識されている、ということを確認出来た

この結果を受けて/usr/local/samba/etc/smb.conf のglobalセクションに「ad dc functional level = 2016」という記述を追加する

# cat /usr/local/samba/etc/smb.conf
# Global parameters
[global]
        dns forwarder = 8.8.8.8
        netbios name = ADSERVER
        realm = ADSAMPLE.LOCAL
        server role = active directory domain controller
        workgroup = ADSAMPLE
        idmap_ldb:use rfc2307 = yes
        ad dc functional level = 2016

[sysvol]
        path = /usr/local/samba/var/locks/sysvol
        read only = No

[netlogon]
        path = /usr/local/samba/var/locks/sysvol/adsample.local/scripts
        read only = No
#

testparamで記述が反映されているかを確認

# /usr/local/samba/bin/testparm -s --section-name=global --parameter-name="ad dc functional level"
Load smb config files from /usr/local/samba/etc/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

2016
#

sambaを再起動して、機能レベルがどうなったのかを確認

# systemctl restart samba-ad-dc
# samba-tool domain level show
Domain and forest function level for domain 'DC=adsample,DC=local'

Forest function level: (Windows) 2008 R2
Domain function level: (Windows) 2008 R2
Lowest function level of a DC: (Windows) 2016
#

Lowest function level of a DC が変更されたので、上2つも変更できるようになった

まずはドメインの機能レベルを変更

# samba-tool domain level raise --domain-level=2012_R2
Domain function level changed!
All changes applied successfully!
# samba-tool domain level show
Domain and forest function level for domain 'DC=adsample,DC=local'

Forest function level: (Windows) 2008 R2
Domain function level: (Windows) 2012 R2
Lowest function level of a DC: (Windows) 2016
#

続いてフォレストの機能レベルを変更

# samba-tool domain level raise --forest-level=2012_R2
Forest function level changed!
All changes applied successfully!
# samba-tool domain level show
Domain and forest function level for domain 'DC=adsample,DC=local'

Forest function level: (Windows) 2012 R2
Domain function level: (Windows) 2012 R2
Lowest function level of a DC: (Windows) 2016
#

これで問題なくなった。

iscsiadmコマンドのメモ

HPE VM Essentails に iSCSIストレージをつないだ場合の動作がわからない点が多かった、Web UIからではなく、CLIでいろいろ調べる羽目になったのでメモ書き

Linux汎用で使える話ではある

接続の確認

iscsiが接続できているかを「iscsiadm -m session」で確認

pcuser@hpevme6:~$ sudo iscsiadm -m session
tcp: [1] 192.168.3.34:3260,1029 iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3 (non-flash)
tcp: [2] 192.168.2.34:3260,1028 iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3 (non-flash)
pcuser@hpevme6:~$

何もつながっていない場合は下記

pcuser@hpevme6:~$ sudo iscsiadm -m session
iscsiadm: No active sessions.
pcuser@hpevme6:~$

詳細を確認したい場合は「-P 数字」というオプションを付ける。0,1,2,3が指定できるが「-P 0」は付けない場合と同じ

0~2は、接続先IPアドレスとログイン情報などの範囲
3になると、デバイスが認識されているかがわかるようになるので「sudo iscsiadm -m session -P 3」はトラブル時に必須

pcuser@hpevme6:~$ sudo iscsiadm -m session --print=3
iSCSI Transport Class version 2.0-870
version 2.1.9
Target: iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3 (non-flash)
        Current Portal: 192.168.3.34:3260,1029
        Persistent Portal: 192.168.3.34:3260,1029
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2024-12.com.hpe:hpevme6:59012
                Iface IPaddress: 192.168.3.60
                Iface HWaddress: default
                Iface Netdev: default
                SID: 1
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 5
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 65536
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 33 State: running
                scsi33 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdb          State: running
                scsi33 Channel 00 Id 0 Lun: 1
                        Attached scsi disk sdd          State: running
        Current Portal: 192.168.2.34:3260,1028
        Persistent Portal: 192.168.2.34:3260,1028
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2024-12.com.hpe:hpevme6:59012
                Iface IPaddress: 192.168.2.60
                Iface HWaddress: default
                Iface Netdev: default
                SID: 2
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 5
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 65536
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 34 State: running
                scsi34 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdc          State: running
                scsi34 Channel 00 Id 0 Lun: 1
                        Attached scsi disk sde          State: running
pcuser@hpevme6:~$

“Attached SCSI devices:” のあとに scsi~ という表記があるかどうか

ない場合は、iSCSIストレージ側で、アクセス許可されてない可能性があるので、設定を確認

まず、Linux側のInitiatorNameを確認。Linuxの場合 /etc/iscsi/initiatorname.iscsi に記載されいて、OSインストール直後などは「InitiatorName=iqn.2004-10.com.ubuntu:01:<ランダム>」といった値で設定されていることが多い

HPE VMEの場合、hpe-vmセットアップ直後は ubuntuランダムなのだが、Web UIからiSCSI接続をするとホスト名 ランダムといった下記のような設定に切り替わる

pcuser@hpevme6:~$ sudo cat /etc/iscsi/initiatorname.iscsi
## DO NOT EDIT OR REMOVE THIS FILE!
## If you remove this file, the iSCSI daemon will not start.
## If you change the InitiatorName, existing access control lists
## may reject this initiator.  The InitiatorName must be unique
## for each iSCSI initiator.  Do NOT duplicate iSCSI InitiatorNames.
InitiatorName=iqn.2024-12.com.hpe:hpevme6:59012
pcuser@hpevme6:~$

この「InitiatorName」の値をiSCSIストレージ側の「イニシエータ」の登録に追加する必要がある

NetAppの場合の設定例

HPE VMEの場合、iSCSI設定を行う際に、Manager仮想マシンが各サーバの /etc/iscsi/initiatorname.iscsi の値を書き換えるので、設定したはずなのにつながらない場合は、最新の名前がiSCSIストレージ側に登録されているかを確認すること

設定変更した後、「sudo iscsiadm -m session –rescan」を実行して再スキャンを行う

認識していない状態から–rescanを実行して認識した、という実行ログ

pcuser@hpevme6:~$ sudo iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 2.1.9
Target: iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3 (non-flash)
        Current Portal: 192.168.3.34:3260,1029
        Persistent Portal: 192.168.3.34:3260,1029
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2024-12.com.hpe:hpevme6:59012
                Iface IPaddress: 192.168.3.60
                Iface HWaddress: default
                Iface Netdev: default
                SID: 1
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 120
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 65536
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 33 State: running
        Current Portal: 192.168.2.34:3260,1028
        Persistent Portal: 192.168.2.34:3260,1028
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2024-12.com.hpe:hpevme6:59012
                Iface IPaddress: 192.168.2.60
                Iface HWaddress: default
                Iface Netdev: default
                SID: 2
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 120
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 65536
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 34 State: running
pcuser@hpevme6:~$ sudo iscsiadm -m session --rescan
Rescanning session [sid: 1, target: iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3, portal: 192.168.3.34,3260]
Rescanning session [sid: 2, target: iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3, portal: 192.168.2.34,3260]
pcuser@hpevme6:~$ sudo iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 2.1.9
Target: iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3 (non-flash)
        Current Portal: 192.168.3.34:3260,1029
        Persistent Portal: 192.168.3.34:3260,1029
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2024-12.com.hpe:hpevme6:59012
                Iface IPaddress: 192.168.3.60
                Iface HWaddress: default
                Iface Netdev: default
                SID: 1
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 5
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 65536
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 33 State: running
                scsi33 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdb          State: running
                scsi33 Channel 00 Id 0 Lun: 1
                        Attached scsi disk sdd          State: running
        Current Portal: 192.168.2.34:3260,1028
        Persistent Portal: 192.168.2.34:3260,1028
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2024-12.com.hpe:hpevme6:59012
                Iface IPaddress: 192.168.2.60
                Iface HWaddress: default
                Iface Netdev: default
                SID: 2
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 5
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 65536
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 34 State: running
                scsi34 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdc          State: running
                scsi34 Channel 00 Id 0 Lun: 1
                        Attached scsi disk sde          State: running
pcuser@hpevme6:~$

マルチパスの認識

iSCSIストレージは複数のセッション=マルチパスで接続されるので、下の例では、scsi33とscsi34 の2つで見えている

pcuser@hpevme6:~$ sudo iscsiadm -m session -P 3
iSCSI Transport Class version 2.0-870
version 2.1.9
Target: iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3 (non-flash)
        Current Portal: 192.168.3.34:3260,1029
        Persistent Portal: 192.168.3.34:3260,1029
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2024-12.com.hpe:hpevme6:59012
                Iface IPaddress: 192.168.3.60
                Iface HWaddress: default
                Iface Netdev: default
                SID: 1
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 5
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 65536
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 33 State: running
                scsi33 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdb          State: running
                scsi33 Channel 00 Id 0 Lun: 1
                        Attached scsi disk sdd          State: running
        Current Portal: 192.168.2.34:3260,1028
        Persistent Portal: 192.168.2.34:3260,1028
                **********
                Interface:
                **********
                Iface Name: default
                Iface Transport: tcp
                Iface Initiatorname: iqn.2024-12.com.hpe:hpevme6:59012
                Iface IPaddress: 192.168.2.60
                Iface HWaddress: default
                Iface Netdev: default
                SID: 2
                iSCSI Connection State: LOGGED IN
                iSCSI Session State: LOGGED_IN
                Internal iscsid Session State: NO CHANGE
                *********
                Timeouts:
                *********
                Recovery Timeout: 5
                Target Reset Timeout: 30
                LUN Reset Timeout: 30
                Abort Timeout: 15
                *****
                CHAP:
                *****
                username: <empty>
                password: ********
                username_in: <empty>
                password_in: ********
                ************************
                Negotiated iSCSI params:
                ************************
                HeaderDigest: None
                DataDigest: None
                MaxRecvDataSegmentLength: 262144
                MaxXmitDataSegmentLength: 65536
                FirstBurstLength: 65536
                MaxBurstLength: 1048576
                ImmediateData: Yes
                InitialR2T: Yes
                MaxOutstandingR2T: 1
                ************************
                Attached SCSI devices:
                ************************
                Host Number: 34 State: running
                scsi34 Channel 00 Id 0 Lun: 0
                        Attached scsi disk sdc          State: running
                scsi34 Channel 00 Id 0 Lun: 1
                        Attached scsi disk sde          State: running
pcuser@hpevme6:~$

2パスで見えているものを1つにまとめるのが multipathd の役割

「sudo multipath -ll」を実行して認識状況を確認

pcuser@hpevme6:~$ sudo multipath -ll
3600a09807770457a795d5a4159416c34 dm-2 NETAPP,LUN C-Mode
size=70G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=50 status=active
  |- 34:0:0:0 sdc 8:32 active ready running
  `- 33:0:0:0 sdb 8:16 active ready running
3600a09807770457a795d5a4159416c35 dm-1 NETAPP,LUN C-Mode
size=5.0G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
`-+- policy='service-time 0' prio=50 status=active
  |- 33:0:0:1 sdd 8:48 active ready running
  `- 34:0:0:1 sde 8:64 active ready running
pcuser@hpevme6:~$

multipathdでまとめられたデバイスは /dev/mapper の下にデバイスファイルがある

pcuser@hpevme6:~$ ls /dev/mapper/*
/dev/mapper/3600a09807770457a795d5a4159416c34  /dev/mapper/control
/dev/mapper/3600a09807770457a795d5a4159416c35  /dev/mapper/ubuntu--vg-ubuntu--lv
pcuser@hpevme6:~$

「sudo multipath -ll」で何も表示されていない場合は、手動でデバイスを登録する

まず、認識している /dev/sd? に対応するWWIDを調べるため「/lib/udev/scsi_id -g -u -d /dev/sd?」を実行する

/lib/udev/scsi_id -g -u -d /dev/sdX

このWWIDをmutlipathに登録するため「multipath -a WWID」を実行する

multipath -a WWID

登録した後は「multipath -r」で再読み込みして、「multipath -ll」で追加されたかを確認する

ターゲットログインなどの初期設定

「iscsiadm -m discovery -t sendtargets -p IPアドレス」で接続

接続パラメータの変更

現在のパラメータ確認は「sudo iscsiadm -m node」でポータル名を確認

pcuser@hpevme6:~$ sudo iscsiadm -m node
192.168.2.34:3260,1028 iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3
192.168.3.34:3260,1029 iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3
pcuser@hpevme6:~$

各ポータルに設定されているパラメータを「sudo iscsiadm -m node -p <ポータル名>」で確認

pcuser@hpevme6:~$ sudo iscsiadm -m node -p 192.168.2.34:3260,1028
# BEGIN RECORD 2.1.9
node.name = iqn.1992-08.com.netapp:sn.e56cfbb6bab111f09b2a000c2980b7f5:vs.3
node.tpgt = 1028
node.startup = automatic
node.leading_login = No
iface.iscsi_ifacename = default
iface.net_ifacename = <empty>
iface.ipaddress = <empty>
iface.prefix_len = 0
iface.hwaddress = <empty>
iface.transport_name = tcp
iface.initiatorname = <empty>
iface.state = <empty>
iface.vlan_id = 0
iface.vlan_priority = 0
iface.vlan_state = <empty>
iface.iface_num = 0
iface.mtu = 0
iface.port = 0
iface.bootproto = <empty>
iface.subnet_mask = <empty>
iface.gateway = <empty>
iface.dhcp_alt_client_id_state = <empty>
iface.dhcp_alt_client_id = <empty>
iface.dhcp_dns = <empty>
iface.dhcp_learn_iqn = <empty>
iface.dhcp_req_vendor_id_state = <empty>
iface.dhcp_vendor_id_state = <empty>
iface.dhcp_vendor_id = <empty>
iface.dhcp_slp_da = <empty>
iface.fragmentation = <empty>
iface.gratuitous_arp = <empty>
iface.incoming_forwarding = <empty>
iface.tos_state = <empty>
iface.tos = 0
iface.ttl = 0
iface.delayed_ack = <empty>
iface.tcp_nagle = <empty>
iface.tcp_wsf_state = <empty>
iface.tcp_wsf = 0
iface.tcp_timer_scale = 0
iface.tcp_timestamp = <empty>
iface.redirect = <empty>
iface.def_task_mgmt_timeout = 0
iface.header_digest = <empty>
iface.data_digest = <empty>
iface.immediate_data = <empty>
iface.initial_r2t = <empty>
iface.data_seq_inorder = <empty>
iface.data_pdu_inorder = <empty>
iface.erl = 0
iface.max_receive_data_len = 0
iface.first_burst_len = 0
iface.max_outstanding_r2t = 0
iface.max_burst_len = 0
iface.chap_auth = <empty>
iface.bidi_chap = <empty>
iface.strict_login_compliance = <empty>
iface.discovery_auth = <empty>
iface.discovery_logout = <empty>
node.discovery_address = 192.168.2.34
node.discovery_port = 3260
node.discovery_type = send_targets
node.session.initial_cmdsn = 0
node.session.initial_login_retry_max = 8
node.session.xmit_thread_priority = 0
node.session.cmds_max = 128
node.session.queue_depth = 32
node.session.nr_sessions = 1
node.session.auth.authmethod = None
node.session.auth.username = <empty>
node.session.auth.password = <empty>
node.session.auth.username_in = <empty>
node.session.auth.password_in = <empty>
node.session.auth.chap_algs = MD5
node.session.timeo.replacement_timeout = 120
node.session.err_timeo.abort_timeout = 15
node.session.err_timeo.lu_reset_timeout = 30
node.session.err_timeo.tgt_reset_timeout = 30
node.session.err_timeo.host_reset_timeout = 60
node.session.iscsi.FastAbort = Yes
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.session.iscsi.DefaultTime2Retain = 0
node.session.iscsi.DefaultTime2Wait = 2
node.session.iscsi.MaxConnections = 1
node.session.iscsi.MaxOutstandingR2T = 1
node.session.iscsi.ERL = 0
node.session.scan = auto
node.session.reopen_max = 0
node.conn[0].address = 192.168.2.34
node.conn[0].port = 3260
node.conn[0].startup = automatic
node.conn[0].tcp.window_size = 524288
node.conn[0].tcp.type_of_service = 0
node.conn[0].timeo.logout_timeout = 15
node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.auth_timeout = 45
node.conn[0].timeo.noop_out_interval = 5
node.conn[0].timeo.noop_out_timeout = 5
node.conn[0].iscsi.MaxXmitDataSegmentLength = 0
node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
node.conn[0].iscsi.HeaderDigest = None
node.conn[0].iscsi.DataDigest = None
node.conn[0].iscsi.IFMarker = No
node.conn[0].iscsi.OFMarker = No
# END RECORD
pcuser@hpevme6:~$

マルチパスで一部のセッションが切れた時の再接続にかかる時間がnode.session.timeo.replacement_timeout で設定されていれ標準は120秒となっている

これだと長いので、例えばHPEの「HPE Primera Red Hat Enterprise Linux実装ガイド」では 10秒 としている

今すぐ変更したい場合はiscsiadmを実行

pcuser@hpevme6:~$ sudo iscsiadm -m node -p 192.168.2.34:3260,1028 |grep node.session.timeo.replacem
ent_timeout
node.session.timeo.replacement_timeout = 120
pcuser@hpevme6:~$ sudo iscsiadm -m node -p 192.168.2.34:3260,1028 -o update -n node.session.timeo.replacement_timeout -v 10
pcuser@hpevme6:~$ sudo iscsiadm -m node -p 192.168.2.34:3260,1028 |grep node.session.timeo.replacement_timeout
node.session.timeo.replacement_timeout = 10
pcuser@hpevme6:~$

恒久的に変更するには /etc/iscsi/iscsid.conf にて該当する行を修正する。

OCI上でローカルユーザベースのメールサーバ構築

postfix/dovecotを使ったIMAPメールサーバをOracle Linux 9.6上でOracle Cloud上のFree Tierで構築してみた

2025/10/30時点の状況としては、以下の問題が出て常用には難しい状態で、限定された用途にしか使えない、という感じとなった。

・OCIのFree TierではIPv4/IPv6アドレスに対する逆引き(PTR)が設定できないため gmailにメールが拒否される
・OCI上の仮想マシンから、外部のIPv4アドレスのポート25に対して通信が通らない。IPv6アドレスのポート25なら通る。(OCIの仕様)

準備1: 一般的な前準備

準備1-1: 日本時間にする

日本に住んでいる場合、日本時間表記の方が使いやすいので、OSも日本時間表示に設定する。

$ sudo timedatectl set-timezone Japan
$ 

手順1-2: swap追加

EPELレポジトリを追加した場合、メモリ1GB構成の場合、swapは5GB程度ないとdnfコマンドが正常に動作しないので、swapを増量する

/var/oled パーテーションに ファイルスワップを作成

$ sudo fallocate -l 4G /var/oled/swapfile
$ ls -l /var/oled/swapfile 
-rw-r--r--. 1 root root 4294967296 Sep  9 13:35 /var/oled/swapfile
$ sudo chmod 600 /var/oled/swapfile 
$ ls -l /var/oled/swapfile 
-rw-------. 1 root root 4294967296 Sep  9 13:35 /var/oled/swapfile
$ sudo mkswap /var/oled/swapfile 
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=bdd4f7a6-1dcc-43c8-bb2d-8f42ac2faf3f
$ 

作成したファイルをスワップとして登録

$ sudo swapon /var/oled/swapfile 
$ swapon --show
NAME               TYPE SIZE   USED PRIO
/.swapfile         file 951M 161.6M   -2
/var/oled/swapfile file   4G   8.2M   -3
$ cat /proc/swaps 
Filename                                Type            Size            Used            Priority
/.swapfile                              file            973820          165524          -2
/var/oled/swapfile                      file            4194300         8412            -3
$ 

/etc/fstab にスワップファイルの記述「/var/oled/swapfile none swap sw 0 0」を追加

$ sudo vi /etc/fstab
$ cat /etc/fstab 
#
# /etc/fstab
# Created by anaconda on Thu Jun 12 01:18:32 2025
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/ocivolume-root /                       xfs     defaults        0 0
UUID=dd88872e-0527-4193-8282-b8281f1ae6fd /boot                   xfs     defaults        0 0
UUID=AE3C-806E          /boot/efi               vfat    defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2
/dev/mapper/ocivolume-oled /var/oled               xfs     defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults,nodev,nosuid,noexec      0 0
######################################
## ORACLE CLOUD INFRASTRUCTURE CUSTOMERS
##
## If you are adding an iSCSI remote block volume to this file you MUST
## include the '_netdev' mount option or your instance will become
## unavailable after the next reboot.
## SCSI device names are not stable across reboots; please use the device UUID instead of /dev path.
##
## Example:
## UUID="94c5aade-8bb1-4d55-ad0c-388bb8aa716a"   /data1    xfs       defaults,noatime,_netdev      0      2
##
## More information:
## https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Tasks/connectingtoavolume.htm
/.swapfile      none    swap    sw      0       0
/var/oled/swapfile      none    swap    sw      0       0
$

準備2-3: パッケージを最新へアップデート

現時点での最新へアップデートする

$ sudo dnf update -y
<略>
$ sudo reboot

手順1-4: 日本語Locale対応

ja_JP.UTF-8など日本語Localeで設定した際、「Failed to set locale, defaulting to C.UTF-8」というメッセージが出力される場合があります。

その場合は日本語Localeを追加インストールします。

$ sudo dnf install langpacks-ja
<略>
$

手順1-5: kdump無効化

どうせ使わないのでkdumpを無効化

$ sudo systemctl disable kdump.service
Removed '/etc/systemd/system/multi-user.target.wants/kdump.service'.
$

手順2: EPELレポジトリの追加

EPELレポジトリを登録

$ sudo dnf config-manager --set-enabled ol10_u0_developer_EPEL
$  dnf repolist --all
repo id                                                                       repo name                                                                                                       status
ol9_MODRHCK                                                                   Latest RHCK with fixes from Oracle for Oracle Linux 9 (x86_64)                                                  disabled
ol9_RDMA                                                                      Oracle Linux 9 (x86_64) RDMA                                                                                    disabled
ol9_UEKR7                                                                     Oracle Linux 9 UEK Release 7 (x86_64)                                                                           disabled
ol9_UEKR8                                                                     Oracle Linux 9 UEK Release 8 (x86_64)                                                                           enabled
ol9_addons                                                                    Oracle Linux 9 Addons (x86_64)                                                                                  enabled
ol9_appstream                                                                 Oracle Linux 9 Application Stream Packages (x86_64)                                                             enabled
ol9_baseos_latest                                                             Oracle Linux 9 BaseOS Latest (x86_64)                                                                           enabled
ol9_codeready_builder                                                         Oracle Linux 9 CodeReady Builder (x86_64) - (Unsupported)                                                       disabled
ol9_developer                                                                 Oracle Linux 9 Development Packages (x86_64)                                                                    disabled
ol9_developer_EPEL                                                            Oracle Linux 9 EPEL Packages for Development (x86_64)                                                           enabled
ol9_developer_UEKR7                                                           Developer Preview of UEK Release 7 (x86_64)                                                                     disabled
ol9_developer_kvm_utils                                                       Oracle Linux 9 KVM Utilities for Development and test (x86_64)                                                  disabled
ol9_distro_builder                                                            Oracle Linux 9 Distro Builder (x86_64) - (Unsupported)                                                          disabled
ol9_ksplice                                                                   Ksplice for Oracle Linux 9 (x86_64)                                                                             enabled
ol9_kvm_utils                                                                 Oracle Linux 9 KVM Utilities (x86_64)                                                                           disabled
ol9_oci_included                                                              Oracle Linux 9 OCI Included Packages (x86_64)                                                                   enabled
ol9_u0_baseos_base                                                            Oracle Linux 9 BaseOS GA (x86_64)                                                                               disabled
ol9_u1_baseos_base                                                            Oracle Linux 9.1 BaseOS (x86_64)                                                                                disabled
ol9_u2_baseos_base                                                            Oracle Linux 9.2 BaseOS (x86_64)                                                                                disabled
ol9_u3_baseos_base                                                            Oracle Linux 9.3 BaseOS (x86_64)                                                                                disabled
ol9_u3_security_validation                                                    Oracle Linux 9 Update 3 (x86_64) Security Validations                                                           disabled
ol9_u4_baseos_base                                                            Oracle Linux 9.4 BaseOS (x86_64)                                                                                disabled
ol9_u5_baseos_base                                                            Oracle Linux 9.5 BaseOS (x86_64)                                                                                disabled
ol9_u6_baseos_base                                                            Oracle Linux 9.6 BaseOS (x86_64)                                                                                disabled
ol9_x86_64_userspace_ksplice                                                  Ksplice aware userspace packages for Oracle Linux 9 (x86_64)                                                    disabled
$

手順3: インターネット公開用設定

手順3-1: fail2ban導入

公開サーバは各種のアタックにさらされます。管理用sshポートにもやってきます。

多少なりとも軽減するためにEPELレポジトリ収録のfail2banを使用します。

$ sudo dnf install fail2ban -y
<略>
$

カスタム設定は/etc/fail2ban/jail.local に対して行います。

$ sudo vi /etc/fail2ban/jail.local 
$ cat /etc/fail2ban/jail.local 
[DEFAULT]
# 86400秒=24時間以内に5回不審なアクセスがあったら24時間BAN
bantime  = 86400
findtime  = 86400
maxretry = 5
# 259200秒=3日以内に5回不審なアクセスがあったら3日間BAN
#bantime  = 259200
#findtime  = 259200
#maxretry = 5
# 除外IP
ignoreip = 127.0.0.1 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
[sshd]
enabled = true
banaction = firewallcmd-ipset
$ 

上記設定では24時間BANにしていますが、まぁ、3日BANでもかまわないとは思います。(本当に間違えた場合に困るのでほどほどにしておくとよい)

fail2banをOS起動時に実行する設定と、今すぐfail2banを起動するコマンドを実行します。

$ sudo systemctl enable --now fail2ban
Created symlink '/etc/systemd/system/multi-user.target.wants/fail2ban.service' → '/usr/lib/systemd/system/fail2ban.service'.
$

以降、アタックがあると /var/log/fail2ban.log にログが出ます。

手順3-2: メールサーバ用ポート公開設定

初期設定では dhcpv6-client と ssh が許可されています。

$ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: ens3
  sources: 
  services: dhcpv6-client ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
$

とりあえずは smtp port 25, smtp-submission 587, imap 143 を開けます

[opc@ocimail ~]$ sudo firewall-cmd --permanent --add-service=smtp
success
[opc@ocimail ~]$ sudo firewall-cmd --permanent --add-service=smtp-submission
success
[opc@ocimail ~]$ sudo firewall-cmd --permanent --add-service=imap
success
[opc@ocimail ~]$ sudo firewall-cmd --reload
success
[opc@ocimail ~]$ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: ens3
  sources: 
  services: dhcpv6-client imap smtp smtp-submission ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
[opc@ocimail ~]$ 

手順3-3: SSL更新用ポート

後述するのだが、SSLはLet’s Encryptを使う。

その際に、http ポート80と、https ポート 443が必要となるため、設定する

[opc@ocimail ~]$ sudo firewall-cmd --permanent --add-service=http
success
[opc@ocimail ~]$ sudo firewall-cmd --permanent --add-service=https
success
[opc@ocimail ~]$ sudo firewall-cmd --reload
success
[opc@ocimail ~]$ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: ens3
  sources: 
  services: dhcpv6-client http https imap smtp smtp-submission ssh
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
[opc@ocimail ~]$ 

手順4: ソフトウェアインストール

postfixとdovecotをインストールします。

[opc@ocimail ~]$ sudo dnf install postfix dovecot -y
Last metadata expiration check: 2:15:42 ago on Wed 29 Oct 2025 03:42:39 AM GMT.
Dependencies resolved.
======================================================================================================================================================================================================
 Package                                     Architecture                         Version                                                           Repository                                   Size
======================================================================================================================================================================================================
Installing:
 dovecot                                     x86_64                               1:2.3.16-15.el9                                                   ol9_appstream                               5.2 M
 postfix                                     x86_64                               2:3.5.25-1.el9                                                    ol9_appstream                               1.7 M
Installing dependencies:
 clucene-core                                x86_64                               2.3.3.4-42.20130812.e8e3d20git.el9                                ol9_appstream                               594 k
 libexttextcat                               x86_64                               3.4.5-11.el9                                                      ol9_appstream                               382 k

Transaction Summary
======================================================================================================================================================================================================
Install  4 Packages

Total download size: 7.8 M
Installed size: 24 M
Downloading Packages:
(1/4): libexttextcat-3.4.5-11.el9.x86_64.rpm                                                                                                                          1.9 MB/s | 382 kB     00:00    
(2/4): clucene-core-2.3.3.4-42.20130812.e8e3d20git.el9.x86_64.rpm                                                                                                     1.8 MB/s | 594 kB     00:00    
(3/4): dovecot-2.3.16-15.el9.x86_64.rpm                                                                                                                                12 MB/s | 5.2 MB     00:00    
(4/4): postfix-3.5.25-1.el9.x86_64.rpm                                                                                                                                6.0 MB/s | 1.7 MB     00:00    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                  16 MB/s | 7.8 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                              1/1 
  Installing       : libexttextcat-3.4.5-11.el9.x86_64                                                                                                                                            1/4 
  Installing       : clucene-core-2.3.3.4-42.20130812.e8e3d20git.el9.x86_64                                                                                                                       2/4 
  Running scriptlet: dovecot-1:2.3.16-15.el9.x86_64                                                                                                                                               3/4 
  Installing       : dovecot-1:2.3.16-15.el9.x86_64                                                                                                                                               3/4 
  Running scriptlet: dovecot-1:2.3.16-15.el9.x86_64                                                                                                                                               3/4 
  Running scriptlet: postfix-2:3.5.25-1.el9.x86_64                                                                                                                                                4/4 
  Installing       : postfix-2:3.5.25-1.el9.x86_64                                                                                                                                                4/4 
  Running scriptlet: postfix-2:3.5.25-1.el9.x86_64                                                                                                                                                4/4 
  Running scriptlet: dovecot-1:2.3.16-15.el9.x86_64                                                                                                                                               4/4 
  Running scriptlet: postfix-2:3.5.25-1.el9.x86_64                                                                                                                                                4/4 
  Verifying        : clucene-core-2.3.3.4-42.20130812.e8e3d20git.el9.x86_64                                                                                                                       1/4 
  Verifying        : dovecot-1:2.3.16-15.el9.x86_64                                                                                                                                               2/4 
  Verifying        : libexttextcat-3.4.5-11.el9.x86_64                                                                                                                                            3/4 
  Verifying        : postfix-2:3.5.25-1.el9.x86_64                                                                                                                                                4/4 

Installed:
  clucene-core-2.3.3.4-42.20130812.e8e3d20git.el9.x86_64            dovecot-1:2.3.16-15.el9.x86_64            libexttextcat-3.4.5-11.el9.x86_64            postfix-2:3.5.25-1.el9.x86_64           

Complete!
[opc@ocimail ~]$ 

手順5: SSL証明書関連

手順5-1: dhパラメータファイルの作成

diffie-hellman パラメータファイル を /etc/dovecot/conf.d/10-ssl.conf にあるパス /etc/dovecot/dh.pem に作成。なお、30分以上かかる。

[opc@ocimail ~]$ sudo openssl dhparam -out /etc/dovecot/dh.pem 4096
Generating DH parameters, 4096 bit long safe prime
..............................................................................................................+......................................+................................................
<略>

手順5-2: dehydratedによるLet’s Encrypt導入

Let’s EncryptによるSSL証明書導入はcertbotを使うのが一般的ではあるのだが、python環境とあわせてパッケージサイズが大きいので、コンパクトでEPELにも収録されているdehydratedを使用する。

[opc@ocimail ~]$ sudo dnf install dehydrated -y
Last metadata expiration check: 3:29:19 ago on Wed 29 Oct 2025 03:42:39 AM GMT.
Dependencies resolved.
======================================================================================================================================================================================================
 Package                                       Architecture                              Version                                          Repository                                             Size
======================================================================================================================================================================================================
Installing:
 dehydrated                                    noarch                                    0.7.1-6.el9                                      ol9_developer_EPEL                                    154 k
Installing dependencies:
 s-nail                                        x86_64                                    14.9.22-6.el9                                    ol9_appstream                                         626 k

Transaction Summary
======================================================================================================================================================================================================
Install  2 Packages

Total download size: 780 k
Installed size: 1.4 M
<略>
Installed:
  dehydrated-0.7.1-6.el9.noarch                                                                      s-nail-14.9.22-6.el9.x86_64                                                                     

Complete!
[opc@ocimail ~]$

dehydratedによるSSL証明書取得処理にはhttp port80アクセスと /var/www/dehydrated が使用されるためhttpdのインストールとディレクトリを作成します。

[opc@ocimail ~]$ sudo dnf install httpd -y
Last metadata expiration check: 3:31:07 ago on Wed 29 Oct 2025 03:42:39 AM GMT.
Dependencies resolved.
======================================================================================================================================================================================================
 Package                                           Architecture                          Version                                               Repository                                        Size
======================================================================================================================================================================================================
Installing:
 httpd                                             x86_64                                2.4.62-4.0.1.el9_6.4                                  ol9_appstream                                     64 k
Installing dependencies:
 apr                                               x86_64                                1.7.0-12.el9_3                                        ol9_appstream                                    131 k
 apr-util                                          x86_64                                1.6.1-23.el9                                          ol9_appstream                                     99 k
 apr-util-bdb                                      x86_64                                1.6.1-23.el9                                          ol9_appstream                                     12 k
 httpd-core                                        x86_64                                2.4.62-4.0.1.el9_6.4                                  ol9_appstream                                    1.8 M
 httpd-filesystem                                  noarch                                2.4.62-4.0.1.el9_6.4                                  ol9_appstream                                     11 k
 httpd-tools                                       x86_64                                2.4.62-4.0.1.el9_6.4                                  ol9_appstream                                     93 k
 oracle-logos-httpd                                noarch                                90.4-1.0.1.el9                                        ol9_baseos_latest                                 37 k
Installing weak dependencies:
 apr-util-openssl                                  x86_64                                1.6.1-23.el9                                          ol9_appstream                                     14 k
 mod_http2                                         x86_64                                2.0.26-4.el9_6.1                                      ol9_appstream                                    171 k
 mod_lua                                           x86_64                                2.4.62-4.0.1.el9_6.4                                  ol9_appstream                                     58 k

Transaction Summary
======================================================================================================================================================================================================
Install  11 Packages

Total download size: 2.5 M
Installed size: 6.1 M
Downloading Packages:
<略>
Installed:
  apr-1.7.0-12.el9_3.x86_64                  apr-util-1.6.1-23.el9.x86_64                    apr-util-bdb-1.6.1-23.el9.x86_64                      apr-util-openssl-1.6.1-23.el9.x86_64            
  httpd-2.4.62-4.0.1.el9_6.4.x86_64          httpd-core-2.4.62-4.0.1.el9_6.4.x86_64          httpd-filesystem-2.4.62-4.0.1.el9_6.4.noarch          httpd-tools-2.4.62-4.0.1.el9_6.4.x86_64         
  mod_http2-2.0.26-4.el9_6.1.x86_64          mod_lua-2.4.62-4.0.1.el9_6.4.x86_64             oracle-logos-httpd-90.4-1.0.1.el9.noarch             

Complete!
[opc@ocimail ~]$ sudo mkdir /var/www/dehydrated
[opc@ocimail ~]$ 

http://~/.well-known/acme-challenge でアクセスした時に上記ディレクトリが開くようApacheの設定を /etc/httpd/conf.d/dehydrated.conf として作成します。(sudo vi /etc/httpd/conf.d/dehydrated.conf )

[opc@ocimail ~]$ sudo vi /etc/httpd/conf.d/dehydrated.conf 
[opc@ocimail ~]$ cat /etc/httpd/conf.d/dehydrated.conf 
Alias /.well-known/acme-challenge /var/www/dehydrated
<Directory /var/www/dehydrated/>
</Directory>
[opc@ocimail ~]$ 

httpdを起動します

[opc@ocimail ~]$ sudo systemctl enable --now httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
[opc@ocimail ~]$ 

SSL証明書を発行するホスト名を /etc/dehydrated/domains.txt に記載する。(sudo vi /etc/dehydrated/domains.txt)

$ sudo vi /etc/dehydrated/domains.txt
$ sudo cat /etc/dehydrated/domains.txt
ホスト1名.ドメイン名 ホスト2名.ドメイン名
$

登録操作を開始します。

[opc@ocimail ~]$ sudo dehydrated --register
# INFO: Using main config file /etc/dehydrated/config
# INFO: Using additional config file /etc/dehydrated/conf.d/local.sh

To use dehydrated with this certificate authority you have to agree to their terms of service which you can find here: https://letsencrypt.org/documents/LE-SA-v1.5-February-24-2025.pdf

To accept these terms of service run "/bin/dehydrated --register --accept-terms".
[opc@ocimail ~]$ sudo dehydrated --register --accept-terms
# INFO: Using main config file /etc/dehydrated/config
# INFO: Using additional config file /etc/dehydrated/conf.d/local.sh
+ Generating account key...
+ Registering account key with ACME server...
+ Fetching account URL...
+ Done!
[opc@ocimail ~]$ 

初回のSSL証明書発行処理を実行します。

[opc@ocimail ~]$ sudo dehydrated --cron
# INFO: Using main config file /etc/dehydrated/config
# INFO: Using additional config file /etc/dehydrated/conf.d/local.sh
Processing ocimail.websa.jp
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting new certificate order from CA...
 + Received 1 authorizations URLs from the CA
 + Handling authorization for ホスト名
 + 1 pending challenge(s)
 + Deploying challenge tokens...
 + Responding to challenge for ocimail.websa.jp authorization...
 + Challenge is valid!
 + Cleaning challenge tokens...
 + Requesting certificate...
Warning: Will read cert request from stdin since no -in option is given
 + Checking certificate...
 + Done!
 + Creating fullchain.pem...
 + Done!
 + Running automatic cleanup
Moving unused file to archive directory: ホスト名/cert-1761722366.csr
Moving unused file to archive directory: ホスト名/cert-1761722366.pem
Moving unused file to archive directory: ホスト名/privkey-1761722366.pem
[opc@ocimail ~]$ 

これで/etc/dehydrated/certs/ホスト名/ にSSL証明書が作成される

[opc@ocimail ~]$ sudo ls -l /etc/dehydrated/certs/ホスト名/
total 20
-rw-------. 1 root root 1655 Oct 29 07:26 cert-1761722787.csr
-rw-------. 1 root root 2134 Oct 29 07:26 cert-1761722787.pem
lrwxrwxrwx. 1 root root   19 Oct 29 07:26 cert.csr -> cert-1761722787.csr
lrwxrwxrwx. 1 root root   19 Oct 29 07:26 cert.pem -> cert-1761722787.pem
-rw-------. 1 root root 1802 Oct 29 07:26 chain-1761722787.pem
lrwxrwxrwx. 1 root root   20 Oct 29 07:26 chain.pem -> chain-1761722787.pem
-rw-------. 1 root root 3936 Oct 29 07:26 fullchain-1761722787.pem
lrwxrwxrwx. 1 root root   24 Oct 29 07:26 fullchain.pem -> fullchain-1761722787.pem
-rw-------. 1 root root 3272 Oct 29 07:26 privkey-1761722787.pem
lrwxrwxrwx. 1 root root   22 Oct 29 07:26 privkey.pem -> privkey-1761722787.pem
[opc@ocimail ~]$ 

dovecot設定

dovecot ssl設定

/etc/dovecot/conf.d/10-ssl.conf にて

「ssl = required」を「ssl = yes」に変更

# SSL/TLS support: yes, no, required. &lt;doc/wiki/SSL.txt>
# disable plain pop3 and imap, allowed are only pop3+TLS, pop3s, imap+TLS and imaps
# plain imap and pop3 are still allowed for local connections
ssl = yes

ssl_certとssl_keyをdehydratedが出力したファイルに置き換え

# PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
# dropping root privileges, so keep the key file unreadable by anyone but
# root. Included doc/mkcert.sh can be used to easily generate self-signed
# certificate, just make sure to update the domains in dovecot-openssl.cnf
ssl_cert = &lt;/etc/dehydrated/certs/ホスト名/fullchain.pem
ssl_key = &lt;/etc/dehydrated/certs/ホスト名/privkey.pem

dhパラメータのコメントを取る

# SSL DH parameters
# Generate new params with `openssl dhparam -out /etc/dovecot/dh.pem 4096`
# Or migrate from old ssl-parameters.dat file with the command dovecot
# gives on startup when ssl_dh is unset.
ssl_dh = &lt;/etc/dovecot/dh.pem

dovecotのメイン設定ファイル

/etc/dovecot/dovecot.conf に以下の変更

標準だと「imap pop3 lmtp submission」となっているものから、imapとsubmissionとする

# Protocols we want to be serving.
#protocols = imap pop3 lmtp submission
protocols = imap submission

dovecotのメール保存に関するファイル

/etc/dovecot/conf.d/10-mail.conf に以下の変更

maildir形式で各ユーザのホームディレクトリに保存する設定

#   mail_location = maildir:~/Maildir
#   mail_location = mbox:~/mail:INBOX=/var/mail/%u
#   mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
#
# &lt;doc/wiki/MailLocation.txt>
#
mail_location = maildir:~/Maildir

quotaを有効化するため、mail_plugins に「$mail_plugins quota」を追加

# Space separated list of plugins to load for all services. Plugins specific to
# IMAP, LDA, etc. are added to this list in their own .conf files.
mail_plugins = $mail_plugins quota

mailboxのindexを有効にする設定「mailbox_list_index = yes」を入れる

##
## Mailbox handling optimizations
##

# Mailbox list indexes can be used to optimize IMAP STATUS commands. They are
# also required for IMAP NOTIFY extension to be enabled.
mailbox_list_index = yes

IMAPログイン時のパスワード取り扱い設定

IMAPログイン時のパスワードを暗号化して送信する、というのが現代の設定となる。

古い仕様のメールクラインとがいたとすると、平文パスワードを許可する設定を /etc/dovecot/conf.d/10-auth.conf に追加する必要がある。

その場合は下記を「disable_plaintext_auth = no」に変更する

# Disable LOGIN command and all other plaintext authentications unless
# SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP
# matches the local IP (ie. you're connecting from the same computer), the
# connection is considered secure and plaintext authentication is allowed.
# See also ssl=required setting.
#disable_plaintext_auth = yes

また、下記を「auth_mechanism = plain login」に変更する

# Space separated list of wanted authentication mechanisms:
#   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi otp
#   gss-spnego
# NOTE: See also disable_plaintext_auth setting.
auth_mechanisms = plain

dovecotのSMTP-auth動作時の設定

/etc/dovecot/conf.d/10-master.conf でコメントアウトされている smtp-authに関する設定を少し修正して設定する

  # Postfix smtp-auth
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = postfix
    group = postfix
  }

dovecotのIMAP設定

/etc/dovecot/conf.d/20-imap.conf にて mail_plugin として「imap_quota」を追加

protocol imap {
  # Space separated list of plugins to load (default is global mail_plugins).
  mail_plugins = $mail_plugins imap_quota

  # Maximum number of IMAP connections allowed for a user from each IP address.
  # NOTE: The username is compared case-sensitively.
  #mail_max_userip_connections = 10
}

dovecotのメールボックス取り扱い設定

/etc/dovecot/conf.d/15-mailboxes.conf を修正することで、メールソフトによってフォルダ名に微妙な違いがあるのをある程度吸収できる。

##
## Mailbox definitions
##

# Each mailbox is specified in a separate mailbox section. The section name
# specifies the mailbox name. If it has spaces, you can put the name
# "in quotes". These sections can contain the following mailbox settings:
#
# auto:
#   Indicates whether the mailbox with this name is automatically created
#   implicitly when it is first accessed. The user can also be automatically
#   subscribed to the mailbox after creation. The following values are
#   defined for this setting:
# 
#     no        - Never created automatically.
#     create    - Automatically created, but no automatic subscription.
#     subscribe - Automatically created and subscribed.
#  
# special_use:
#   A space-separated list of SPECIAL-USE flags (RFC 6154) to use for the
#   mailbox. There are no validity checks, so you could specify anything
#   you want in here, but it's not a good idea to use flags other than the
#   standard ones specified in the RFC:
#
#     \All       - This (virtual) mailbox presents all messages in the
#                  user's message store.
#     \Archive   - This mailbox is used to archive messages.
#     \Drafts    - This mailbox is used to hold draft messages.
#     \Flagged   - This (virtual) mailbox presents all messages in the
#                  user's message store marked with the IMAP \Flagged flag.
#     \Important - This (virtual) mailbox presents all messages in the
#                  user's message store deemed important to user.
#     \Junk      - This mailbox is where messages deemed to be junk mail
#                  are held.
#     \Sent      - This mailbox is used to hold copies of messages that
#                  have been sent.
#     \Trash     - This mailbox is used to hold messages that have been
#                  deleted.
#
# comment:
#   Defines a default comment or note associated with the mailbox. This
#   value is accessible through the IMAP METADATA mailbox entries
#   "/shared/comment" and "/private/comment". Users with sufficient
#   privileges can override the default value for entries with a custom
#   value.

# NOTE: Assumes "namespace inbox" has been defined in 10-mail.conf.
namespace inbox {
  # These mailboxes are widely used and could perhaps be created automatically:
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox "下書き" {
    special_use = \Drafts
  }
  mailbox INBOX.Drafts {
    special_use = \Drafts
  }

  mailbox Junk {
    special_use = \Junk
  }
  mailbox "迷惑メール" {
    special_use = \Junk
  }
  mailbox "Junk Email" {
    special_use = \Junk
  }
  mailbox "INBOX.Junk Email" {
    special_use = \Junk
  }

  mailbox Trash {
    special_use = \Trash
  }
  mailbox "削除済みアイテム" {
    special_use = \Trash
  }
  mailbox "Deleted Items" {
    special_use = \Trash
  }
  mailbox "INBOX.Deleted Items" {
    special_use = \Trash
  }

  # For \Sent mailboxes there are two widely used names. We'll mark both of
  # them as \Sent. User typically deletes one of them if duplicates are created.
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox "送信済みアイテム" {
    special_use = \Sent
  }
  mailbox "Sent Items" {
    special_use = \Sent
  }
  mailbox "INBOX.Sent Items" {
    special_use = \Sent
  }

  # If you have a virtual "All messages" mailbox:
  #mailbox virtual/All {
  #  special_use = \All
  #  comment = All my messages
  #}

  # If you have a virtual "Flagged" mailbox:
  #mailbox virtual/Flagged {
  #  special_use = \Flagged
  #  comment = All my flagged messages
  #}

  # If you have a virtual "Important" mailbox:
  #mailbox virtual/Important {
  #  special_use = \Important
  #  comment = All my important messages
  #}
}

dovecotのquota設定

既存の /etc/dovecot/conf.d/90-quota.conf の最後に下記を追加する

これは100MBで制限する例

mailbox_list_index = yes

# Avoid spending excessive time waiting for the quota calculation to finish
# when mails' vsizes aren't already cached. If this many mails are opened,
# finish the quota calculation on background in indexer-worker process. Mail
# deliveries will be assumed to succeed, and explicit quota lookups will
# return internal error. (v2.2.28+)
protocol !indexer-worker {
  mail_vsize_bg_after_count = 100
}

plugin {
  quota = count:User quota
  quota_rule = *:storage=100M
  #quota_rule2 = Trash:storage=+100M

  # This is required - it uses "virtual sizes" rather than "physical sizes"
  # for quota counting:
  quota_vsizes = yes
}

dovecotのsmtp submission設定

/etc/dovecot/conf.d/20-submission.conf にて設定する

dovecot自体ではメール配送を行わないので、postfix側に引き渡すのだが、同じホスト上にあったとしてもlocalhost指定ではなく、外部から見えるホスト名で指定する。

# Relay server configuration:
#
# The Dovecot SMTP submission service directly proxies the mail transaction
# to the SMTP relay configured here.

# Host name for the relay server (required)
submission_relay_host = ホスト名.ドメン名

postfix側設定

postfix側は /etc/postfix/main.cf へ設定を行う

Oracle Cloud上だとホスト名が内部のみの ホスト名.subnet<数字>.vcn<数字>.oraclevcn.comといったものとなっているので、DNS上のホスト名をmyhostnameで設定する

# INTERNET HOST AND DOMAIN NAMES
# 
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
#
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld
myhostname = ホスト名.ドメイン名

続いてmydomain も 外部で認識させたいドメイン名を入れる

# The mydomain parameter specifies the local internet domain name.
# The default is to use $myhostname minus the first component.
# $mydomain is used as a default value for many other configuration
# parameters.
#
#mydomain = domain.tld
mydomain = ドメイン名

外部に送信するメールの@以降の部分はドメイン名としたいので「myorigin = $mydomain」の方を有効にします。

# SENDING MAIL
# 
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites.  If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# user@that.users.mailhost.
#
# For the sake of consistency between sender and recipient addresses,
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.
#
#myorigin = $myhostname
myorigin = $mydomain

外部からpostfixにアクセスする必要があるので「inet_interfaces = all」を有効にします

# The inet_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on.  By default,
# the software claims all active interfaces on the machine. The
# parameter also controls delivery of mail to user@[ip.address].
#
# See also the proxy_interfaces parameter, for network addresses that
# are forwarded to us via a proxy or network address translator.
#
# Note: you need to stop/start Postfix when this parameter changes.
#
inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#inet_interfaces = localhost

# Enable IPv4, and IPv6 if supported
inet_protocols = all

自サーバで受信するメールドメインの設定は2番目のドメイン宛ても受け取るやつにします

# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
#mydestination = $myhostname, localhost.$mydomain, localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
#       mail.$mydomain, www.$mydomain, ftp.$mydomain

ローカルユーザとしてメールを受け取りたいので、local_recipient_mapsを明示的に有効にします。

# The right-hand side of the lookup tables is conveniently ignored.
# In the left-hand side, specify a bare username, an @domain.tld
# wild-card, or specify a user@domain.tld address.
# 
local_recipient_maps = unix:passwd.byname $alias_maps
#local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#local_recipient_maps =

postfixでメールを送信できるようにする設定

メール送信を許可するネットワークを mynetworks で行う

#mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table

また、以下を追加

# With Postfix version before 2.10, use smtpd_recipient_restrictions
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

postfixのssl証明書設定

/etc/postfix/main.cf の最後の方にSSL関連の設定がある

# The full pathname of a file with the Postfix SMTP server RSA certificate
# in PEM format. Intermediate certificates should be included in general,
# the server certificate first, then the issuing CA(s) (bottom-up order).
#
smtpd_tls_cert_file = /etc/dehydrated/certs/ocimail.websa.jp/fullchain.pem
# The full pathname of a file with the Postfix SMTP server RSA private key
# in PEM format. The private key must be accessible without a pass-phrase,
# i.e. it must not be encrypted.
#
smtpd_tls_key_file = /etc/dehydrated/certs/ocimail.websa.jp/privkey.pem

postfix側からdovecotを起動する設定

/etc/postfix/master.cf の最終行に以下を追加

dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${recipient}

postfixからSASLを使ってdovecot連携する手法は使わない

今回はsmtp submissionはdovecot側で行うので、SASLを使ってdovecotと連携するための下記設定は行わない。

smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
# dovecot sasl configuration
smtpd_sasl_type = dovecot
# Can be an absolute path, or relative to $queue_directory
# Debian/Ubuntu users: Postfix is setup by default to run chrooted, so it is best to leave it as-is below
smtpd_sasl_path = private/auth
# and the common settings to enable SASL:
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous 

トラブル対応

gmail宛てがgmail側で受け取り拒否

gmailに送ったところ、メールがなかなか届かないので/var/log/maillogを確認

Oct 30 10:15:28 ocimail postfix/smtp[5898]: AA57A309E87E: to=&lt;アドレス@gmail.com>, relay=gmail-smtp-in.l.google.com[2404:6800:4008:c15::1b]:25, delay=2.6, delays=0.29/0.19/1.2/0.9, dsn=5.7.1, status=bounced (host gmail-
smtp-in.l.google.com[2404:6800:4008:c15::1b] said: 550-5.7.1 [2603:c023:f:9000:0:7a41:2e84:f27f] Gmail has detected that this 550-5.7.1 message does not meet IPv6 sending guidelines regarding PTR records 550-5.7.1 and auth
entication. For more information, go to 550 5.7.1  https://support.google.com/mail/?p=IPv6AuthError 41be03b00d2f7-b71f4ba78c7si7488417a12.1056 - gsmtp (in reply to end of DATA command))

「Gmail has detected that this 550-5.7.1 message does not meet IPv6 sending guidelines regarding PTR records 550-5.7.1 and authentication. For more information, go to 550 5.7.1 https://support.google.com/mail/?p=IPv6AuthError」という形で拒否されていた。

リンク先はGoogleの「メール送信者のガイドライン」の最後のあたりで下記の様に書かれている

IPv6 認証エラーを修正する
送信元サーバーの PTR レコードで IPv6 が使用されていない場合、IPv6 認証エラーが返される場合があります。メールサービス プロバイダを利用している場合は、プロバイダが IPv6 の PTR レコードを使用していることを確認してください。

IPv6 認証エラーの例を次に示します。
550-5.7.1: Message does not meet IPv6 sending guidelines regarding PTR records and authentication.(メールが PTR レコードと認証に関する IPv6 の送信ガイドラインに準拠していません。)

あと、最初の方に書かれているIPアドレスに対する要件も関係している

インフラストラクチャ設定の要件とガイドライン
IP アドレス
重要: 送信元 IP アドレスは、ポインタ(PTR)レコードで指定されたホスト名の IP アドレスと一致している必要があります。

送信元 SMTP サーバーのパブリック IP アドレスには、対応するホスト名を参照する PTR レコードが必要です。これは、リバース DNS ルックアップと呼ばれます。このホスト名には、送信元サーバーと同じパブリック IP アドレスを参照する A レコード(IPv4 の場合)または AAAA レコード(IPv6 の場合)も必要です。これは、フォワード DNS ルックアップと呼ばれます。
送信元サーバーの IP アドレスとドメインを対応付ける有効なリバース DNS レコードを設定します。Google 管理者ツールボックスの Dig ツールを使用して PTR レコードを確認します。
重要: 送信元 IP アドレスは、ポインタ(PTR)レコードで指定されたホスト名の IP アドレスと一致している必要があります。

つまり、IPv6アドレスのPTRレコードに対してちゃんとホスト名を設定する必要があるようだ。

じゃあ、Oracle Cloudの場合、それを設定できるのか?を確認

Oracle Cloud Infrastructureドキュメント:逆引きDNS (PTR)

クラウドIPアドレスに対してPTRレコードを確立するようにリクエストできます:
1. リクエストをオープンする前の完全修飾ドメイン名をIPに示したA (IPv4)またはAAAA (IPv6)フォワード・レコードを作成します。レコードは、Oracle Cloud Infrastructure DNSサービスまたはサードパーティDNSプロバイダを使用して作成できます。
2. サービス・リクエストをオープンして、次の情報を含めます:
a. PTRに必要なIPアドレスおよび完全修飾ドメイン名(FQDN)。
b. ステップ1で作成したフォワード・レコードのFQDN。

サービス・リクエストの受信後、フォワード(AまたはAAAA)レコード情報は、正常に解決できることが検証され、OracleによってPTRレコードが作成されます。

Web UIでは設定できないのでサービスリクエストから申請する必要がある、とのこと。

サービスリクエストのリンクを飛ぶと「サポート・リクエスト」になったが、読むと・・・

サポート・リクエストは有料アカウントでのみ利用可能です。Always Freeリソースのみを使用する顧客およびFree Tierアカウントを使用する顧客はOracle Supportの対象ではありません。サポートが必要な場合は、サポート・チャットおよびCloud Customer Connectを使用します。

とある、サポートチャットで、対応してもらえるんだろうか?

OCI CLIコマンドのdnsオプションで操作できないのか?

パッケージ oci-utils ではなく、パッケージ python39-oci-cli の方だった

[root@ocimail ~]# dnf install python39-oci-cli
Last metadata expiration check: 2:19:30 ago on Thu 30 Oct 2025 08:47:09 AM JST.
Dependencies resolved.
==============================================================================================================================================================================================================================
 Package                                                        Architecture                               Version                                               Repository                                              Size
==============================================================================================================================================================================================================================
Installing:
 python39-oci-cli                                               noarch                                     3.69.0-1.el9                                          ol9_oci_included                                        46 M
Upgrading:
 python39-oci-sdk                                               x86_64                                     2.162.0-1.el9                                         ol9_oci_included                                        91 M
Installing dependencies:
 python3-arrow                                                  noarch                                     1.2.3-5.el9                                           ol9_developer_EPEL                                     166 k
 python3-importlib-metadata                                     noarch                                     4.12.0-2.el9                                          ol9_oci_included                                        75 k
 python3-jmespath                                               noarch                                     0.10.0-4.el9                                          ol9_oci_included                                        78 k
 python3-prompt-toolkit                                         noarch                                     3.0.38-4.el9                                          ol9_oci_included                                       1.0 M
 python3-terminaltables                                         noarch                                     3.1.10-8.0.1.el9                                      ol9_oci_included                                        60 k
 python3-wcwidth                                                noarch                                     0.2.5-8.el9                                           ol9_appstream                                           65 k
 python3-zipp                                                   noarch                                     3.20.1-2.el9                                          ol9_oci_included                                        48 k

Transaction Summary
==============================================================================================================================================================================================================================
Install  8 Packages
Upgrade  1 Package

Total download size: 138 M
Is this ok [y/N]: y
<略>
Upgraded:
  python39-oci-sdk-2.162.0-1.el9.x86_64                                                                                                                                                                                       
Installed:
  python3-arrow-1.2.3-5.el9.noarch     python3-importlib-metadata-4.12.0-2.el9.noarch   python3-jmespath-0.10.0-4.el9.noarch   python3-prompt-toolkit-3.0.38-4.el9.noarch   python3-terminaltables-3.1.10-8.0.1.el9.noarch  
  python3-wcwidth-0.2.5-8.el9.noarch   python3-zipp-3.20.1-2.el9.noarch                 python39-oci-cli-3.69.0-1.el9.noarch  

Complete!
[root@ocimail ~]# 

いれたものの、DNSの逆引き設定ができそうな感じはなかった・・・

とりあえず、IPv6を使わないようにすればごまかせる、という話が「How I Fixed Gmail Rejecting Emails by Disabling IPv6 in Postfix」にあったので /etc/postfix/main.cfの「inet_protocols = all」を「inet_protocols = ipv4」に変更

# Enable IPv4, and IPv6 if supported
inet_protocols = ipv4

ただ、これをやったところ、dovecot submissionで受け取ったメールがpostfixに引き渡されてくれないという問題が発生・・・

how to set smtp-client -> submission_relay_host for IPv4 only?」で似たような感じで、IPv4だけでつなげたい場合設定はあるのか?という話があるが、/etc/hosts に書くぐらいの対処方法しかないようだ

で・・・さらに原因を調査してみて判明したこと

どうやら、Oracle Cloud内部の仮想マシン上から外部のIPv4アドレスに対してのポート25アクセスができない模様

IPv6アドレスであればいける

[root@ocimail ~]# telnet 外部メールサーバ 25
Trying <IPv6アドレス>...
Connected to 外部メールサーバ.
Escape character is '^]'.
220 外部メールサーバ ESMTP Postfix
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@ocimail ~]# telnet -4 外部メールサーバ 25
Trying <IPv4アドレス>...
^C
[root@ocimail ~]# 

ポート80だったらIPv4でも問題無いので、IPv4 ポート25に関してだけ規制されている模様

[root@ocimail ~]# telnet -4 外部メールサーバ 80
Trying <IPv4アドレス>...
Connected to 外部メールサーバ.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Thu, 30 Oct 2025 06:02:36 GMT
Content-Type: text/html
Content-Length: 162
Connection: close
Location: https://_/
X-Frame-Options: sameorigin
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Content-Security-Policy: default-src https: data: 'unsafe-inline' 'unsafe-eval'
Referrer-Policy: strict-origin

<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
Connection closed by foreign host.
[root@ocimail ~]# 

試しにOCIのセキュリティリストのセキュリティルールにて、エグレスルールとして、ポート25を追加してみたものの状況は変わりませんでした。(ステートフルのチェックを入れた場合も変化無し)

・・・Oracle Cloudドキュメントにポート25はブロックしてると記載されていました。

アウトバウンドSMTPがブロックされます