negotiate_sspi_auth.cc File Reference
#include "squid.h"
#include "base64.h"
#include "helper/protocol_defines.h"
#include "ntlmauth/ntlmauth.h"
#include "ntlmauth/support_bits.cci"
#include "sspwin32.h"
#include "util.h"
#include <windows.h>
#include <sspi.h>
#include <security.h>
Include dependency graph for negotiate_sspi_auth.cc:

Go to the source code of this file.

Macros

#define SEND(X)   debug("sending '%s' to squid\n",X); printf(X "\n");
 
#define SEND2(X, Y)   debug("sending '" X "' to squid\n",Y); printf(X "\n",Y);
 
#define SEND3(X, Y, Z)   debug("sending '" X "' to squid\n",Y,Z); printf(X "\n",Y,Z);
 

Functions

char * negotiate_check_auth (SSP_blobP auth, int auth_length)
 
void usage ()
 
void process_options (int argc, char *argv[])
 
static bool token_decode (size_t *decodedLen, uint8_t decoded[], const char *buf)
 
int manage_request ()
 
int main (int argc, char *argv[])
 

Variables

int Negotiate_packet_debug_enabled = 0
 
static int have_serverblob
 
char * my_program_name = NULL
 

Macro Definition Documentation

#define SEND (   X)    debug("sending '%s' to squid\n",X); printf(X "\n");

Definition at line 68 of file negotiate_sspi_auth.cc.

Referenced by manage_request(), and token_decode().

#define SEND2 (   X,
 
)    debug("sending '" X "' to squid\n",Y); printf(X "\n",Y);

Definition at line 74 of file negotiate_sspi_auth.cc.

Referenced by manage_request().

#define SEND3 (   X,
  Y,
 
)    debug("sending '" X "' to squid\n",Y,Z); printf(X "\n",Y,Z);

Definition at line 75 of file negotiate_sspi_auth.cc.

Referenced by manage_request().

Function Documentation

int main ( int  argc,
char *  argv[] 
)
char* negotiate_check_auth ( SSP_blobP  auth,
int  auth_length 
)
void process_options ( int  argc,
char *  argv[] 
)

Definition at line 99 of file negotiate_sspi_auth.cc.

References debug_enabled, getopt(), Negotiate_packet_debug_enabled, opterr, optopt, and usage().

Referenced by main().

static bool token_decode ( size_t decodedLen,
uint8_t  decoded[],
const char *  buf 
)
static
void usage ( void  )

Definition at line 88 of file negotiate_sspi_auth.cc.

References my_program_name.

Referenced by process_options().

Variable Documentation

int have_serverblob
static

Definition at line 65 of file negotiate_sspi_auth.cc.

Referenced by manage_request().

char* my_program_name = NULL

Definition at line 85 of file negotiate_sspi_auth.cc.

Referenced by main(), and usage().

int Negotiate_packet_debug_enabled = 0

Definition at line 64 of file negotiate_sspi_auth.cc.

Referenced by manage_request(), and process_options().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors