krb5_auth_con_genaddrs - Generate auth context addresses from a connected socket. — MIT Kerberos Documentation MIT Kerberos Documentation Contents | previous | next | index | Search | feedback krb5_auth_con_genaddrs - Generate auth context addresses from a connected socket.¶ krb5_error_code krb5_auth_con_genaddrs(krb5_context context, krb5_auth_context auth_context, int infd, int flags)¶ param: [in] context - Library context [in] auth_context - Authentication context [in] infd - Connected socket descriptor [in] flags - Flags retval: 0 Success; otherwise - Kerberos error codes This function sets the local and/or remote addresses in auth_context based on the local and remote endpoints of the socket infd . The following flags determine the operations performed: KRB5_AUTH_CONTEXT_GENERATE_LOCAL_ADDR Generate local address. KRB5_AUTH_CONTEXT_GENERATE_REMOTE_ADDR Generate remote address. KRB5_AUTH_CONTEXT_GENERATE_LOCAL_FULL_ADDR Generate local address and port. KRB5_AUTH_CONTEXT_GENERATE_REMOTE_FULL_ADDR Generate remote address and port. On this page krb5_auth_con_genaddrs - Generate auth context addresses from a connected socket. Table of contents For users For administrators For application developers Developing with GSSAPI Year 2038 considerations for uses of krb5_timestamp Differences between Heimdal and MIT Kerberos API Initial credentials Principal manipulation and parsing Complete reference - API and datatypes krb5 API krb5 types and structures krb5 simple macros For plugin module developers Building Kerberos V5 Kerberos V5 concepts Protocols and file formats MIT Kerberos features How to build this documentation from the source Contributing to the MIT Kerberos Documentation Resources Full Table of Contents Search Release: 1.20 © Copyright 1985-2022, MIT. Contents | previous | next | index | Search | feedback