kdc: Improve warn_ticket_addresses feature
- Don't log "Request from wrong address (ignoring)". - Add "wrongaddr=yes" kv to final log message. - Add request and ticket addresses (up to 3) to final log message.
This commit is contained in:
@@ -589,7 +589,7 @@ ${kgetcred} -H HTTP/${server}@${R} ||
|
||||
KRB5CCNAME=$cache $gsstoken HTTP@$server | KRB5_KTNAME="$keytab" $gsstoken -r ||
|
||||
{ echo "Trivial offline CA test failed (gss-token)"; exit 2; }
|
||||
|
||||
grep 'Request from wrong address .ignoring' ${objdir}/messages.log ||
|
||||
grep 'REQ.*wrongaddr' ${objdir}/messages.log ||
|
||||
{ echo "KDC not warning about requests from wrong address"; exit 2; }
|
||||
|
||||
echo "Fetching a Negotiate token"
|
||||
|
Reference in New Issue
Block a user