Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
kadmin.local binary might exist, even though Kerberos is not configured
and /etc/krb5.conf does not exist.
  • Loading branch information
pyllyukko committed Dec 18, 2024
1 parent f08cde6 commit d884492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tests_kerberos
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d884492

Please sign in to comment.