Fix id -A when the subject has an extended subject token associated with
them (for example when they have logged in from an ip6 source).
- Stick with the initial call to getaudit(2), if it returns E2BIG, use getaudit_addr(2) instead and set the "extended" flag to indicate that we the calling credential has an extended subject state.
- Additionally, add the printing of the machine/at_addr (the ip/ip6 addresses)
MFC after: 1 week
Obtained from: TrustedBSD Project