msntauth.cc File Reference
#include "squid.h"
#include "rfc1738.h"
#include "util.h"
#include <csignal>
#include <cstring>
#include <iostream>
#include <string>
#include <vector>
#include <syslog.h>
#include "auth/basic/SMB_LM/msntauth.h"
#include "auth/basic/SMB_LM/valid.h"
Include dependency graph for msntauth.cc:

Go to the source code of this file.

Classes

struct  domaincontroller
 

Typedefs

typedef std::vector< domaincontrollerdomaincontrollers_t
 

Functions

static bool validate_user (char *username, char *password)
 
static void display_usage_instructions ()
 
int main (int argc, char **argv)
 

Variables

static char msntauth_version [] = "Msntauth v3.0.0 (C) 2 Sep 2001 Stellar-X Antonino Iannella.\nModified by the Squid HTTP Proxy team 2002-2014"
 
domaincontrollers_t domaincontrollers
 
static char instructions [] = "Usage instructions: basic_nsnt_auth <domainname>/<domaincontroller> [<domainname>/<domaincontroller> ...]"
 

Typedef Documentation

◆ domaincontrollers_t

Definition at line 60 of file msntauth.cc.

Function Documentation

◆ display_usage_instructions()

static void display_usage_instructions ( )
static

Definition at line 78 of file msntauth.cc.

References instructions, and msntauth_version.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ validate_user()

static bool validate_user ( char *  username,
char *  password 
)
static

Definition at line 64 of file msntauth.cc.

References _dc::domain, domaincontrollers, NTV_NO_ERROR, and Valid_User().

Referenced by main().

Variable Documentation

◆ domaincontrollers

domaincontrollers_t domaincontrollers

Definition at line 61 of file msntauth.cc.

Referenced by main(), and validate_user().

◆ instructions

char instructions[] = "Usage instructions: basic_nsnt_auth <domainname>/<domaincontroller> [<domainname>/<domaincontroller> ...]"
static

Definition at line 76 of file msntauth.cc.

Referenced by display_usage_instructions().

◆ msntauth_version

char msntauth_version[] = "Msntauth v3.0.0 (C) 2 Sep 2001 Stellar-X Antonino Iannella.\nModified by the Squid HTTP Proxy team 2002-2014"
static

Definition at line 54 of file msntauth.cc.

Referenced by display_usage_instructions().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors