|
OpenVAS Scanner 23.23.1
|
#include "nasl_krb5.h"#include "../misc/openvas-krb5.h"#include "nasl_debug.h"#include "nasl_func.h"#include "nasl_global_ctxt.h"#include "nasl_lex_ctxt.h"#include "nasl_tree.h"#include "nasl_var.h"#include <stdio.h>Macros | |
| #define | NASL_PRINT_KRB_ERROR(lexic, credential, result) |
| #define | SET_SLICE_FROM_LEX_OR_ENV(lexic, slice, name, env_name) |
| #define | PERROR_SET_SLICE_FROM_LEX_OR_ENV(lexic, slice, name, env_name) |
Variables | |
| static OKrb5ErrorCode | last_okrb5_result |
| static struct OKrb5GSSContext * | cached_gss_context = NULL |
| static struct OKrb5Slice * | to_application = NULL |
| static bool | gss_update_context_more = false |
| #define NASL_PRINT_KRB_ERROR | ( | lexic, | |
| credential, | |||
| result ) |
| #define PERROR_SET_SLICE_FROM_LEX_OR_ENV | ( | lexic, | |
| slice, | |||
| name, | |||
| env_name ) |
| #define SET_SLICE_FROM_LEX_OR_ENV | ( | lexic, | |
| slice, | |||
| name, | |||
| env_name ) |
|
static |
Adds the given KDC to the given Realm.
This function returns 0 on success. To retrieve a human readable error message, the function okrb5_result can be used.
The nasl function has three optional parameter:
This function should only be used for debug purposes.
| [in] | lexic | NASL lexer. |
| void nasl_okrb5_clean | ( | void | ) |
Returns the defined KDC of a given Realm.
This function returns the KDC of a given Realm. The Realm is defined in the krb5.conf file. If there is no KDC for the given Realm, the function returns NULL within the tree_cell to the script.
The nasl function has two optional parameter:
This function should only be used for debug purposes.
| [in] | lexic | NASL lexer. |
Returns 0 if the krb5 function was successful and 1 if it failed.
The nasl function has one optional parameter:
| [in] | lexic | NASL lexer. |
Returns 1 if the krb5 function was successful 0 otherwise.
The nasl function has one optional parameter:
| [in] | lexic | NASL lexer. |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |