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 86 of file negotiate_kerberos.h.

◆ GSSKRB_APPLE_DEPRECATED

#define GSSKRB_APPLE_DEPRECATED (   x)

Definition at line 52 of file negotiate_kerberos.h.

◆ HAVE_PAC_SUPPORT

#define HAVE_PAC_SUPPORT   0

Definition at line 147 of file negotiate_kerberos.h.

◆ MAX_AUTHTOKEN_LEN

#define MAX_AUTHTOKEN_LEN   65535

Definition at line 92 of file negotiate_kerberos.h.

◆ PROGRAM

#define PROGRAM   "negotiate_kerberos_auth"

Definition at line 89 of file negotiate_kerberos.h.

◆ SQUID_KERB_AUTH_VERSION

#define SQUID_KERB_AUTH_VERSION   "3.1.0sq"

Definition at line 95 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 ( void  )
inline

Definition at line 103 of file negotiate_kerberos.h.

References now.

Variable Documentation

◆ ntlmProtocol

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

Definition at line 100 of file negotiate_kerberos.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors