kadmin.local binary might exist, even though Kerberos is not configured
and /etc/krb5.conf does not exist.
This commit is contained in:
pyllyukko 2024-12-18 17:09:23 +02:00
parent f08cde63d6
commit d8844925e3
No known key found for this signature in database
GPG Key ID: 6D64E828379852AC
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ InsertSection "${SECTION_KERBEROS}"
PREQS_MET="YES"
# Make sure krb5 debugging doesn't mess up the output
unset KRB5_TRACE
PRINCS="$(${KADMINLOCALBINARY} listprincs | ${TRBINARY:-tr} '\n' ' ')"
PRINCS="$(${KADMINLOCALBINARY} listprincs 2>/dev/null | ${TRBINARY:-tr} '\n' ' ')"
if [ -z "${PRINCS}" ]
then
PREQS_MET="NO"