krb5_cc_end_seq_get()--End Sequential Reading From a Credentials Cache


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_cc_end_seq_get(  
     krb5_context     context,
     krb5_ccache      ccache,
     krb5_cc_cursor *     cursor);  
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_cc_end_seq_get() routine unlocks the credentials cache and releases the cursor, thus ending the sequential reading of the credentials cache. The cursor may not be used once krb5_cc_end_seq_get() has completed.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

ccache  (Input)
The credentials cache handle.

cursor  (Input/Output)
The cursor created by the krb5_cc_start_seq_get() routine.

Return Value

If no errors occur, the return value is 0. Otherwise, a Kerberos error code is returned.


Error Messages

Message ID Error Message Text
CPE3418 E Possible APAR condition or hardware failure.



API introduced: V5R1

[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]