gssdce_extract_creds_from_sec_context(3sec)Extracts a DCE credential from a GSSAPI security context Synopsis
#include <dce/gssapi.h> Parameters Input
context_handle Output
output_cred
minor_status
Description The context acceptor calls the gssdce_extract_creds_from_sec_context( ) routine to get the DCE credential containing the privilege attributes of the context initiator. DCE Credentials are used by DCE ACL managers to determine whether the initiator has the right to access the object to which an ACL refers. The principal contained in the DCE credential may not be the same as the src_name parameter value from the gss_accept_sec_context( ) routine. The principal in the DCE credential may be a compound principal. If the context was established by calling the gss_init_set_context( ) routine and specifying GSSDCE_C_OID_KRBV5_DES to use Kerberos (instead of DCE security), the gssdce_extract_creds_from_sec_context( ) routine returns a major status of GSS_S_FAILURE and a minor status of gssdce_s_no_PAC_available.
Status Codes
Functions: gss_init_sec_context(3sec)
|