This function is obtained from the FreeBSD base libgssapi code. Whith this function added to the port, it is possible to buildworld FreeBSD fully against the port. FYI: Patches for CURRENT and 8-STABLE src/ are here: ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/patches/CURRENT_use_kerberos_port.patch ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/patches/8-STABLE_use_kerberos_port.patch PR: ports/152030 Submitted by: maintainer
17 lines
526 B
C
17 lines
526 B
C
--- lib/gssapi/gssapi/gssapi.h.orig 2010-11-05 10:44:14.000000000 +0100
|
|
+++ lib/gssapi/gssapi/gssapi.h 2010-11-05 10:51:26.000000000 +0100
|
|
@@ -929,6 +929,14 @@
|
|
gss_buffer_t /* cred_token */,
|
|
gss_cred_id_t * /* cred_handle */);
|
|
|
|
+#ifdef _UID_T_DECLARED
|
|
+GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
|
+gss_pname_to_uid
|
|
+ (OM_uint32 * /* minor status */,
|
|
+ const gss_name_t /* principal name */,
|
|
+ const gss_OID mech /* mechanism to query */,
|
|
+ uid_t * /* pointer to UID for result */);
|
|
+#endif
|
|
|
|
GSSAPI_CPP_END
|
|
|