1.5. authconfig から authselect へのスクリプトの変換

ipa-client-install または realm join を使用してドメインに参加する場合は、スクリプトの authconfig 呼び出しを削除しても問題はありません。これができない場合は、各 authconfig コールを、同等の authselect コールに置き換えてください。その場合は、正しいプロファイルと適切なオプションを選択します。さらに、必要な設定ファイルを編集します。

  • /etc/krb5.conf
  • /etc/sssd/sssd.conf (sssd プロファイルの場合) または /etc/samba/smb.conf (winbind プロファイルの場合)

authconfig オプションと同等の authselect プロファイルオプションauthconfig オプションと authselect プロファイルの関係 では、authconfig オプションと同等の authselect を示しています。

表1.1 authconfig オプションと authselect プロファイルの関係

authconfig オプションauthselect プロファイル

--enableldap --enableldapauth

sssd

--enablesssd --enablesssdauth

sssd

--enablekrb5

sssd

--enablewinbind --enablewinbindauth

winbind

--enablenis

nis

表1.2 authconfig オプションと同等の authselect プロファイルオプション

authconfig オプションauthselect プロファイル機能

--enablesmartcard

with-smartcard

--enablefingerprint

with-fingerprint

--enableecryptfs

with-ecryptfs

--enablemkhomedir

with-mkhomedir

--enablefaillock

with-faillock

--enablepamaccess

with-pamaccess

--enablewinbindkrb5

with-krb5

authconfig コマンドと同等の authselect コマンドの例 では、authconfig へのキックスタートの呼び出しを authselect へのキックスタートの呼び出しに変換する事例を紹介します。

表1.3 authconfig コマンドと同等の authselect コマンドの例

authconfig コマンド同等の authselect コマンド

authconfig --enableldap --enableldapauth --enablefaillock --updateall

authselect select sssd with-faillock

authconfig --enablesssd --enablesssdauth --enablesmartcard --smartcardmodule=sssd --updateall

authselect select sssd with-smartcard

authconfig --enableecryptfs --enablepamaccess --updateall

authselect select sssd with-ecryptfs with-pamaccess

authconfig --enablewinbind --enablewinbindauth --winbindjoin=Administrator --updateall

realm join -U Administrator --client-software=winbind WINBINDDOMAIN