The krb5_auth_con_setaddrs() function sets the local and
remote network address values in the authentication context. These values are
used when obtaining tickets and constructing authenticators.
Authorities
No authorities are required.
Parameters
context (Input)
The Kerberos context.
auth_context (Input)
The authentication context.
local_addr (Input)
The local network address. Specify NULL for this parameter
if the local network address is not to be changed.
remote_addr (Input)
The remote network address. Specify NULL for this
parameter if the remote network address is not to be changed.
Return Value
If no errors occur, the return value is 0. Otherwise, a Kerberos error code
is returned.
The Kerberos protocol runtime provides no concurrency control for the
authentication context. If the application wants to use the same authentication
context in multiple threads, it is the responsibility of the application to
serialize access to the authentication context so that only a single thread is
accessing the authentication context at any time.