skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_kt_start_seq_get  Start a sequential retrieve of key table entries krb5_kt_start_seq_get Start a sequential retrieve of key table...
go to next page: krb5_mk_1cred  Encode a KRB_CRED message for krb5_rd_credkrb5_mk_1cred Encode a KRB_CRED message for krb5_rd_cred
end of book navigation links

krb5_kuserok -- Determine whether the local user is authorized to log in 



C Prototype 

krb5_boolean krb5_kuserok(
         krb5_context      context,
         krb5_principal    principal,
         const char        *luser );

Arguments 

context
(input)
 The context structure.
principal (input)  A Kerberos principal name.
luser (input) A local username.

Description 

This routine determines whether user is authorized to log in to the account luser, given a Kerberos principal principal and a local username luser.

Return Values 

This routine returns one of the following KRB5 status codes:

TRUE
User is authorized to log in.
FALSE
User is not authorized to log in.


go to previous page: krb5_kt_start_seq_get  Start a sequential retrieve of key table entries krb5_kt_start_seq_get Start a sequential retrieve of key table...
go to next page: krb5_mk_1cred  Encode a KRB_CRED message for krb5_rd_credkrb5_mk_1cred Encode a KRB_CRED message for krb5_rd_cred