From ea3d7030c0c6118b636ea8909a5583b94d819e3a Mon Sep 17 00:00:00 2001 From: dfr Date: Wed, 6 Aug 2008 14:02:05 +0000 Subject: Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This is based on an old implementation from the University of Michigan with lots of changes and fixes by me and the addition of a Solaris-compatible API. Sponsored by: Isilon Systems Reviewed by: alfred --- include/gssapi/gssapi.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/gssapi') diff --git a/include/gssapi/gssapi.h b/include/gssapi/gssapi.h index 30f6876..16a588e 100644 --- a/include/gssapi/gssapi.h +++ b/include/gssapi/gssapi.h @@ -837,6 +837,15 @@ OM_uint32 gss_pseudo_random gss_buffer_t /* buffer for result */ ); +#ifdef _UID_T_DECLARED +OM_uint32 gss_pname_to_uid + (OM_uint32 *, /* minor status */ + const gss_name_t pname, /* principal name */ + const gss_OID mech, /* mechanism to query */ + uid_t *uidp /* pointer to UID for result */ + ); +#endif + __END_DECLS #endif /* _GSSAPI_GSSAPI_H_ */ -- cgit v1.1