negotiate_kerberos.h File Reference
#include <cstring>
#include <ctime>
#include "base64.h"
#include "compat/krb5.h"
#include "util.h"
Include dependency graph for negotiate_kerberos.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GSSKRB_APPLE_DEPRECATED(x)
 
#define gss_nt_service_name   GSS_C_NT_HOSTBASED_SERVICE
 
#define PROGRAM   "negotiate_kerberos_auth"
 
#define MAX_AUTHTOKEN_LEN   65535
 
#define SQUID_KERB_AUTH_VERSION   "3.1.0sq"
 
#define HAVE_PAC_SUPPORT   0
 

Functions

char * gethost_name (void)
 
const char * LogTime ()
 
int check_gss_err (OM_uint32 major_status, OM_uint32 minor_status, const char *function, int log, int sout)
 
int check_k5_err (krb5_context context, const char *msg, krb5_error_code code)
 

Variables

static const unsigned char ntlmProtocol [] = {'N', 'T', 'L', 'M', 'S', 'S', 'P', 0}
 

Macro Definition Documentation

◆ gss_nt_service_name

#define gss_nt_service_name   GSS_C_NT_HOSTBASED_SERVICE

Definition at line 77 of file negotiate_kerberos.h.

◆ GSSKRB_APPLE_DEPRECATED

#define GSSKRB_APPLE_DEPRECATED (   x)

Definition at line 59 of file negotiate_kerberos.h.

◆ HAVE_PAC_SUPPORT

#define HAVE_PAC_SUPPORT   0

Definition at line 138 of file negotiate_kerberos.h.

◆ MAX_AUTHTOKEN_LEN

#define MAX_AUTHTOKEN_LEN   65535

Definition at line 83 of file negotiate_kerberos.h.

◆ PROGRAM

#define PROGRAM   "negotiate_kerberos_auth"

Definition at line 80 of file negotiate_kerberos.h.

◆ SQUID_KERB_AUTH_VERSION

#define SQUID_KERB_AUTH_VERSION   "3.1.0sq"

Definition at line 86 of file negotiate_kerberos.h.

Function Documentation

◆ check_gss_err()

int check_gss_err ( OM_uint32  major_status,
OM_uint32  minor_status,
const char *  function,
int  log,
int  sout 
)

◆ check_k5_err()

int check_k5_err ( krb5_context  context,
const char *  msg,
krb5_error_code  code 
)

◆ gethost_name()

char * gethost_name ( void  )

◆ LogTime()

const char* LogTime ( )
inline

Definition at line 94 of file negotiate_kerberos.h.

Variable Documentation

◆ ntlmProtocol

const unsigned char ntlmProtocol[] = {'N', 'T', 'L', 'M', 'S', 'S', 'P', 0}
static

Definition at line 91 of file negotiate_kerberos.h.

 

Introduction

Documentation

Support

Miscellaneous