#include <gssapi.h>
#include "lcas_types.h"
Go to the source code of this file.
Functions | |
int | lcas_init (FILE *fp) |
Initialize the LCAS module. | |
int | lcas_init_and_log (FILE *fp, unsigned short logtype) |
Initialize the LCAS module. | |
int | lcas_init_and_logfile (char *logfile, FILE *fp, unsigned short logtype) |
Initialize the LCAS module. | |
int | lcas_term () |
Terminate the LCAS module. | |
int | lcas_get_fabric_authorization (char *user_dn_tmp, gss_cred_id_t user_cred, lcas_request_t request) |
submit authorization request to the LCAS |
Definition in file lcas.h.
|
submit authorization request to the LCAS This function calls the plugins for authorization. As a back-up for empty credentials the user DN may be specified as well. For this ALLOW_EMPTY_CREDENTIALS should be defined.
Definition at line 971 of file lcas.c. References AUTHPROC, FAILED_LCAS_OTHER, FAILED_LCAS_PLUGIN, lcas_fill_cred(), lcas_get_dn(), lcas_log(), lcas_log_debug(), lcas_log_time(), LCAS_MOD_SUCCESS, lcas_plugindl_t, lcas_release_cred(), lcas_request_t, lcas_plugindl_s::next, lcas_plugindl_s::pluginname, and lcas_plugindl_s::procs. |
|
Initialize the LCAS module. The function does the following:
Definition at line 465 of file lcas.c. References DO_SYSLOG, DO_USRLOG, and lcas_init_and_log(). |
|
Initialize the LCAS module. The function does the following:
Definition at line 443 of file lcas.c. References lcas_init_and_logfile(). Referenced by lcas_init(). |
|
Initialize the LCAS module. The function does the following:
Definition at line 222 of file lcas.c. References clean_plugin_list(), lcas_db_clean(), lcas_db_clean_list(), lcas_db_entry_t, lcas_db_fill_entry(), lcas_db_read(), LCAS_ETC_HOME, lcas_genfilename(), lcas_log(), lcas_log_debug(), lcas_log_open(), lcas_log_time(), LCAS_MAXARGSTRING, LCAS_MAXPATHLEN, lcas_plugindl_t, MAXAUTHMODS, lcas_db_entry_s::next, lcas_plugindl_s::next, NUL, lcas_db_entry_s::pluginargs, PluginInit(), lcas_db_entry_s::pluginname, lcas_plugindl_s::pluginname, and print_lcas_plugin(). Referenced by lcas_init_and_log(). |
|
Terminate the LCAS module. The function does the following:
Definition at line 1106 of file lcas.c. References lcas_plugindl_s::argc, lcas_plugindl_s::argv, lcas_log(), lcas_log_close(), lcas_log_debug(), lcas_log_time(), LCAS_MOD_SUCCESS, lcas_plugindl_t, lcas_plugindl_s::next, lcas_plugindl_s::pluginname, lcas_plugindl_s::procs, and TERMPROC. |