rpc_gss_oid_to_mech3
Convert a mechanism name to a gss-api oid
Usage
#include <rpc/rpcsec_gss.h>
bool_t
rpc_gss_oid_to_mech(gss_OID oid, const char **mech_ret);
Library
library “librpcsec_gss”
Overview
This function looks up a mechanism by oid by reading the file /etc/gss/mech.
Parameters
- oid
-
The mechanism oid to search for
- mech_ret
-
If the mechanism is found, the corresponding mechanism name is returned in *mech_ret
Return values
If the mechanism is found, TRUE is returned, otherwise FALSE.
Releases
39 releases since FreeBSD 8.0-RELEASE; the text changed 26 times.