krb5_set_config_files()--Set Files to be Processed for Kerberos Configuration Requests
Syntax
#include <krb5.h> krb5_error_code krb5_set_config_files( krb5_context context, krb5_const char ** names);Service Program Name: QSYS/QKRBGSS
Default Public Authority: *USE
Threadsafe: Yes
The krb5_set_config_files() function specifies the names of the files to be processed to obtain the Kerberos configuration. These files replace the configuration files that were used to create the Kerberos context. Changing the configuration files does not affect context values that have already been set from the old configuration files.
Authorities
Object Referred to | Authority Required |
---|---|
Each directory in the path names preceding each of the configuration files specified | *X |
Configuration files | *R |
Parameters
- context (Input)
- The Kerberos context.
- names (Input)
- An array of file names. The last entry in the array must be a NULL pointer.
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 ]