All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
krb5.h File Reference

Context management functions for rlm_krb5. More...

#include <krb5.h>
#include <com_err.h>
+ Include dependency graph for krb5.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rlm_krb5_handle
 
struct  rlm_krb5_t
 Instance configuration for rlm_krb5. More...
 

Macros

#define rlm_krb5_error(_x, _y)   error_message(_y)
 

Typedefs

typedef
USES_APPLE_DEPRECATED_API
struct rlm_krb5_handle 
rlm_krb5_handle_t
 
typedef struct rlm_krb5_t rlm_krb5_t
 Instance configuration for rlm_krb5. More...
 

Functions

void * mod_conn_create (TALLOC_CTX *ctx, void *instance, struct timeval const *timeout)
 Create a new connection pool handle. More...
 

Detailed Description

Context management functions for rlm_krb5.

types and function signatures for rlm_krb5.

Id:
2b1d9f7ac1f057c59c86b707916877d234004a66
Id:
668e0a52e1ebc76c91af16a6ef99fd90a09d7324

Definition in file krb5.h.


Data Structure Documentation

struct rlm_krb5_handle

Definition at line 35 of file krb5.h.

Data Fields
krb5_context context
krb5_keytab keytab
struct rlm_krb5_t

Instance configuration for rlm_krb5.

Holds the configuration and preparsed data for a instance of rlm_krb5.

Definition at line 49 of file krb5.h.

Data Fields
rlm_krb5_handle_t * conn
krb5_context context The kerberos context (cloned once per request).
krb5_get_init_creds_opt * gic_options Options to pass to the get_initial_credentials function.
char * hostname The hostname component of service_princ, or NULL.
char const * keytabname The keytab to resolve the service in.
krb5_principal server A structure representing the parsed service_princ.
char * service The service component of service_princ, or NULL.
char const * service_princ The service name provided by the config parser.
krb5_verify_init_creds_opt * vic_options Options to pass to the validate_initial_creds function.
char const * xlat_name This module's instance name.

Macro Definition Documentation

#define rlm_krb5_error (   _x,
  _y 
)    error_message(_y)

Definition at line 88 of file krb5.h.

Typedef Documentation

typedef struct rlm_krb5_t rlm_krb5_t

Instance configuration for rlm_krb5.

Holds the configuration and preparsed data for a instance of rlm_krb5.

Function Documentation

void* mod_conn_create ( TALLOC_CTX *  ctx,
void *  instance,
struct timeval const *  timeout 
)

Create a new connection pool handle.

Create a new connection to Couchbase within the pool and initialize information associated with the connection instance.

Parameters
ctxThe connection parent context.
instanceThe module instance.
timeoutMaximum time to establish the connection.
Returns
  • New connection handle.
  • NULL on error.

Create a new connection pool handle.

Create a new ldap connection and allocate memory for a new rlm_handle_t

Create a new connection pool handle.

Matches the fr_connection_create_t function prototype, is passed to fr_connection_pool_init, and called when a new connection is required by the connection pool API.

Creates an instances of rlm_rest_handle_t, and rlm_rest_curl_context_t which hold the context data required for generating requests and parsing responses.

If instance->connect_uri is not NULL libcurl will attempt to open a TCP socket to the server specified in the URI. This is done so that when the socket is first used, there will already be a cached TCP connection to the REST server associated with the curl handle.

See Also
fr_connection_pool_init
fr_connection_create_t
connection.c

Create a new connection to Couchbase within the pool and initialize information associated with the connection instance.

Parameters
ctxThe connection parent context.
instanceThe module instance.
timeoutMaximum time to establish the connection.
Returns
  • New connection handle.
  • NULL on error.

Create a new connection pool handle.

Create a new ldap connection and allocate memory for a new rlm_handle_t

Create a new connection pool handle.

Matches the fr_connection_create_t function prototype, is passed to fr_connection_pool_init, and called when a new connection is required by the connection pool API.

Creates an instances of rlm_rest_handle_t, and rlm_rest_curl_context_t which hold the context data required for generating requests and parsing responses.

If instance->connect_uri is not NULL libcurl will attempt to open a TCP socket to the server specified in the URI. This is done so that when the socket is first used, there will already be a cached TCP connection to the REST server associated with the curl handle.

See Also
fr_connection_pool_init
fr_connection_create_t
connection.c

Definition at line 68 of file mod.c.