IPv6 architecture an IP address length of 64 bytes. Adaptive Server version 12.5.4 introduces a new function to return information from the process status structure (pss):
pssinfo(<spid | 0>, '<pss field>')
where:
spid – process ID. When you enter 0, the current process is used.
pss 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.