RPC_GSS_SET_CALLBACK - Online Linux Manual PageSection : 3
Updated : January 26, 2010
NAME rpc_gss_set_callback —Register a security context creation callback
SYNOPSIS #include <rpc/rpcsec_gss.h>
bool_t (* callback) ( struct svc_req *req , gss_cred_id_t deleg , gss_ctx_id_t gss_context , rpc_gss_lock_t *lock , void **cookie );
bool_t rpc_gss_set_callback(rpc_gss_callback_t *cb);
DESCRIPTIONRegister a function which will be called when new security contexts are created on a server. This function will be called on the first RPC request which uses that context and has the opportunity of rejecting the request (for instance after matching the request credentials to an access control list). To accept the new security context, the callback should return TRUE, otherwise FALSE. If the callback accepts a context, it becomes responsible for the lifetime of the delegated client credentials (if any). It is also possible to 'lock' the values of service and quality of protection used by the context. If a context is locked, any subsequent requests which use different values for service and quality of protection will be rejected.
PARAMETERScb A structure containing the RPC program and version for this callback and a function which will be called when new contexts are created for the given RPC program and version req The RPC request using the new context deleg GSS-API delegated credentials (if any) gss_context The GSS-API context lock A structure used to enforce a particular QOP and service. Set lock->locked to TRUE to lock the service and QOP values cookie The callback function may set *cookie to any pointer sized value. This value can be accessed during the lifetime of the context via rpc_gss_getcred().
RETURN VALUESReturns TRUE if the callback was registered successfully or FALSE otherwise
AVAILABILITYThe rpc_gss_set_callback() function is part of libtirpc.
SEE ALSOrpc(3), gssapi(3), rpc_gss_getcred(3) rpcsec_gss(3)
AUTHORSThis manual page was written by Doug Rabson ⟨dfr@FreeBSD.org⟩.
BUGSThere is no mechanism for informing a server when a security context has been deleted. This makes it difficult to allocate resources (e.g. to return via the callback's cookie argument). 0
Johanes Gumabo
Data Size : 8,017 byte
man-rpc_gss_set_callback.3tBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 199,570
Visitor ID : :
Visitor IP : 52.15.111.109 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.