negotiate_kerberos.h File Reference
#include <cstring>
#include <ctime>
#include "base64.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 KERBEROS_APPLE_DEPRECATED(x)
 
#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

#define gss_nt_service_name   GSS_C_NT_HOSTBASED_SERVICE

Definition at line 105 of file negotiate_kerberos.h.

#define GSSKRB_APPLE_DEPRECATED (   x)

Definition at line 52 of file negotiate_kerberos.h.

#define HAVE_PAC_SUPPORT   0

Definition at line 166 of file negotiate_kerberos.h.

#define KERBEROS_APPLE_DEPRECATED (   x)

Definition at line 51 of file negotiate_kerberos.h.

#define MAX_AUTHTOKEN_LEN   65535

Definition at line 111 of file negotiate_kerberos.h.

#define PROGRAM   "negotiate_kerberos_auth"

Definition at line 108 of file negotiate_kerberos.h.

#define SQUID_KERB_AUTH_VERSION   "3.1.0sq"

Definition at line 114 of file negotiate_kerberos.h.

Function Documentation

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 
)
char * gethost_name ( void  )
const char* LogTime ( void  )
inline

Definition at line 122 of file negotiate_kerberos.h.

References buf, and NULL.

Variable Documentation

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

Definition at line 119 of file negotiate_kerberos.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors