source: web/old/remctl-2.14/portable/gssapi-mech.c @ f6f3e91

web
Last change on this file since f6f3e91 was f6f3e91, checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago

Preserve directory hierarchy (not sure what happened to it)

  • Property mode set to 100644
File size: 683 bytes
Line 
1/*
2 * Define the Kerberos v5 GSS-API mechanism OID.
3 *
4 * This short bit of code exposes the Kerberos v5 GSS-API mechanism OID has
5 * gss_mech_krb5 on platforms that don't have GSS_KRB5_MECHANISM or
6 * gss_mech_krb5, such as Solaris 10.
7 *
8 * On Solaris 10, we could call gss_str_to_oid to convert "kerberos_v5" to an
9 * OID or to parse the numeric form of an OID, but this doesn't rely on
10 * configuration files and is just as portable in practice.
11 */
12
13#include <portable/gssapi.h>
14
15#if !HAVE_DECL_GSS_MECH_KRB5
16static const gss_OID_desc gss_mech_krb5_desc
17    = { 9, "\052\206\110\206\367\022\001\002\002" };
18const gss_OID_desc * const gss_mech_krb5 = &gss_mech_krb5_desc;
19#endif
Note: See TracBrowser for help on using the repository browser.