All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
krb5.c File Reference
#include <freeradius-devel/radiusd.h>
#include "krb5.h"
+ Include dependency graph for krb5.c:

Go to the source code of this file.

Functions

static int _mod_conn_free (rlm_krb5_handle_t *conn)
 Frees libkrb5 resources associated with the handle. More...
 
void * mod_conn_create (TALLOC_CTX *ctx, void *instance, UNUSED struct timeval const *timeout)
 Create and return a new connection. More...
 

Function Documentation

static int _mod_conn_free ( rlm_krb5_handle_t conn)
static

Frees libkrb5 resources associated with the handle.

Must not be called directly.

Parameters
connto free.
Returns
0 (always indicates success).

Definition at line 99 of file krb5.c.

+ Here is the caller graph for this function:

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

Create and return a new connection.

libkrb5(s) can talk to the KDC over TCP. Were assuming something sane is implemented by libkrb5 and that it does connection caching associated with contexts, so it's worth using a connection pool to preserve connections when workers die.

Definition at line 117 of file krb5.c.

+ Here is the call graph for this function: