freeipa/daemons
Julien Rische 835929353d ipa-kdb: Rework ipadb_reinit_mspac()
Modify ipadb_reinit_mspac() to allocate and initialize ipactx->mspac
only if all its attributes can be set. If not, ipactx->mspac is set to
NULL. This makes easier to determine if the KDC is able to generate PACs
or not.

Also ipadb_reinit_mspac() is now able to return a status message
explaining why initialization of the PAC generator failed. This message
is printed in KDC logs.

Fixes: https://pagure.io/freeipa/issue/9535

Signed-off-by: Julien Rische <jrische@redhat.com>
Reviewed-By: Alexander Bokovoy <abbra@users.noreply.github.com>
2024-02-16 09:38:02 +01:00
..
dnssec pylint: remove useless suppression 2023-01-10 08:30:58 +01:00
ipa-kdb ipa-kdb: Rework ipadb_reinit_mspac() 2024-02-16 09:38:02 +01:00
ipa-otpd ipa-otpd: add passkey_child_debug_level option 2023-06-01 08:20:37 +02:00
ipa-sam ipasam: make krbtgt TDO principal canonical 2024-01-23 13:19:37 +01:00
ipa-slapi-plugins sidgen: fix missing prototypes 2024-01-30 16:25:29 +01:00
ipa-version.h.in Build: move version handling from Makefile to configure 2016-11-09 13:08:32 +01:00
Makefile.am build: Unify compiler warning flags used 2021-01-15 14:11:56 +01:00