Internet protocol version 6 (IPv6) architecture uses an IP address length of 64 bytes. Use passinfo to return information from the process status structure (pss):
pssinfo(<spid | 0>, '<pss field>')
is the process ID. When you enter 0, the current process is used.
is the process status structure field. Valid values are:
ipaddr – client IP address.
extusername – when using external authentication like (PAM, LDAP), extusername returns the external PAM or LDAP user name used.
dn – distinguished name when using LDAP authentication.
The pssinfo function also includes the option to display the external user name and the distinguish name.