nfs-ganesha 1.4
Classes | Defines | Enumerations | Functions | Variables

gssd.h File Reference

#include <sys/types.h>
#include <sys/queue.h>
#include <gssapi/gssapi.h>

Go to the source code of this file.

Classes

struct  clnt_info
struct  topdirs_info

Defines

#define MAX_FILE_NAMELEN   32
#define FD_ALLOC_BLOCK   256
#define GSSD_PIPEFS_DIR   "/var/lib/nfs/rpc_pipefs"
#define KRB5   "krb5"
#define DNOTIFY_SIGNAL   (SIGRTMIN + 3)
#define GSSD_DEFAULT_CRED_DIR   "/tmp"
#define GSSD_DEFAULT_CRED_PREFIX   "krb5cc_"
#define GSSD_DEFAULT_MACHINE_CRED_SUFFIX   "machine"
#define GSSD_DEFAULT_KEYTAB_FILE   "/etc/krb5.keytab"
#define GSSD_SERVICE_NAME   "nfs"
#define GSSD_SERVICE_NAME_LEN   3
#define GSSD_MAX_CCACHE_SEARCH   16

Enumerations

enum  { AUTHTYPE_KRB5, AUTHTYPE_SPKM3, AUTHTYPE_LIPKEY }

Functions

 TAILQ_HEAD (clnt_list_head, clnt_info) clnt_list
 TAILQ_HEAD (topdirs_list_head, topdirs_info) topdirs_list
void init_client_list (void)
int update_client_list (void)
void handle_krb5_upcall (struct clnt_info *clp)
void handle_spkm3_upcall (struct clnt_info *clp)
void handle_gssd_upcall (struct clnt_info *clp)
void gssd_run (void)

Variables

char pipefs_dir [PATH_MAX]
char keytabfile [PATH_MAX]
char * ccachesearch []
int use_memcache
int root_uses_machine_creds
unsigned int context_timeout
char * preferred_realm

Define Documentation

#define DNOTIFY_SIGNAL   (SIGRTMIN + 3)

Definition at line 45 of file gssd.h.

#define FD_ALLOC_BLOCK   256

Definition at line 39 of file gssd.h.

#define GSSD_DEFAULT_CRED_DIR   "/tmp"

Definition at line 47 of file gssd.h.

#define GSSD_DEFAULT_CRED_PREFIX   "krb5cc_"

Definition at line 48 of file gssd.h.

#define GSSD_DEFAULT_KEYTAB_FILE   "/etc/krb5.keytab"

Definition at line 50 of file gssd.h.

#define GSSD_DEFAULT_MACHINE_CRED_SUFFIX   "machine"

Definition at line 49 of file gssd.h.

#define GSSD_MAX_CCACHE_SEARCH   16

Definition at line 53 of file gssd.h.

#define GSSD_PIPEFS_DIR   "/var/lib/nfs/rpc_pipefs"

Definition at line 41 of file gssd.h.

#define GSSD_SERVICE_NAME   "nfs"

Definition at line 51 of file gssd.h.

#define GSSD_SERVICE_NAME_LEN   3

Definition at line 52 of file gssd.h.

#define KRB5   "krb5"

Definition at line 44 of file gssd.h.

#define MAX_FILE_NAMELEN   32

Definition at line 38 of file gssd.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
AUTHTYPE_KRB5 
AUTHTYPE_SPKM3 
AUTHTYPE_LIPKEY 

Definition at line 58 of file gssd.h.


Function Documentation

void gssd_run ( void  )

Definition at line 190 of file gssd_main_loop.c.

void handle_gssd_upcall ( struct clnt_info clp)

Definition at line 1184 of file gssd_proc.c.

void handle_krb5_upcall ( struct clnt_info clp)

Definition at line 1156 of file gssd_proc.c.

void handle_spkm3_upcall ( struct clnt_info clp)

Definition at line 1170 of file gssd_proc.c.

void init_client_list ( void  )

Definition at line 488 of file gssd_proc.c.

TAILQ_HEAD ( topdirs_list_head  ,
topdirs_info   
)
TAILQ_HEAD ( clnt_list_head  ,
clnt_info   
)
int update_client_list ( void  )

Definition at line 588 of file gssd_proc.c.


Variable Documentation

char* ccachesearch[]

Definition at line 61 of file gssd.c.

unsigned int context_timeout

Definition at line 64 of file gssd.c.

char keytabfile[PATH_MAX]

Definition at line 59 of file gssd.c.

char pipefs_dir[PATH_MAX]

Definition at line 58 of file gssd.c.

Definition at line 65 of file gssd.c.

Definition at line 63 of file gssd.c.

Definition at line 62 of file gssd.c.