logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpc_gss_mech_to_oid — Convert a mechanism name to a GSS-API oid

Authors

       This manual page was written by Doug Rabson <dfr@FreeBSD.org>.

Debian                                          January 26, 2010                          RPC_GSS_MECH_TO_OID(3)

Availability

       The rpc_gss_mech_to_oid() function is part of libtirpc.

Description

       This function returns the GSS OID associated with the GSS_API mechanism "mech".

Name

       rpc_gss_mech_to_oid — Convert a mechanism name to a GSS-API oid

Parameters

       mech     The name of a GSS_API mechanism.  "kerberos_v5" is currently the only supported mechanism.

       oid_ret  Buffer in which to place the returned OID

Return Values

       If the GSS_API mechanism name is recognized, TRUE is returned.  The corresponding GSS-API oid is returned
       in *oid_ret.  Otherwise FALSE is returned and *oid_ret is left untouched.

See Also

rpc(3), gssapi(3), rpcsec_gss(3)

Synopsis

#include<rpc/rpcsec_gss.h>bool_trpc_gss_mech_to_oid(constchar*mech, gss_OID*oid_ret);

See Also