HP-UX Reference (11i v3 07/02) - 3 Library Functions A-M (vol 6)
g
gss_accept_sec_context(3) gss_accept_sec_context(3)
False The security context is not transferable.
time_rec Returns the number of seconds for which the context remains valid. This is optional
information. If the time is not required, specify NULL.
delegated_cred_handle Returns the credential handle for credentials received from the context initiator.
The credential handle is valid only if delegated credentials are available. If the
ret_flags parameter is true, the flag
GSS_C_DELEG_FLAG
s set, indicating that
delegated credentials are available.
minor_status Returns a status code from the security mechanism.
STATUS CODES
The following status codes can be returned:
GSS_S_COMPLETE
The routine was completed successfully.
GSS_S_BAD_BINDINGS
The input_token parameter contains different channel bindings from those
specified with the input_chan_bindings parameter.
GSS_S_BAD_SIG The input_token parameter contains an invalid signature.
GSS_S_CONTINUE_NEEDED
To complete the context, the gss_accept_sec_context()
routine must be
called again with a token required from the context acceptor.
GSS_S_CREDENTIALS_EXPIRED
The referenced credentials have expired.
GSS_S_DEFECTIVE_CREDENTIAL
Consistency checks performed on the credential failed.
GSS_S_DEFECTIVE_TOKEN
Consistency checks performed on the input_token parameter failed.
GSS_S_DUPLICATE_TOKEN
The input_token parameter was already processed. This is a fatal error that
occurs during context establishment.
GSS_S_FAILURE The routine failed. See the minor_status parameter return value for more infor-
mation.
GSS_S_NO_CONTEXT
The supplied context handle did not refer to a valid context.
GSS_S_NO_CRED Indicates either the supplied credentials were not valid for context acceptance or
the credential handle did not reference any credentials.
GSS_S_OLD_TOKEN The input_token parameter was too old. This is a fatal error that occurs during
context establishment.
GSS_S_BAD_MECH The received token specified a mechanism that is not supported
AUTHOR
gss_accept_sec_context() was developed by Sun Microsystems, Inc.
SEE ALSO
gss_acquire_cred(3), gss_delete_sec_context(3), gss_init_sec_context(3).
The manpages for DCE-GSSAPI are included with the DCE-CoreTools product. To see those manpages add
/opt/dce/share/man to MANPATH.
598 Hewlett-Packard Company − 3 − HP-UX 11i Version 3: February 2007