#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"
Go to the source code of this file.
Classes | |
struct | domaincontroller |
Typedefs | |
typedef std::vector< domaincontroller > | domaincontrollers_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 |
Definition at line 78 of file msntauth.cc.
References instructions, and msntauth_version.
Referenced by main().
◆ main()
Definition at line 86 of file msntauth.cc.
References display_usage_instructions(), _dc::domain, domaincontrollers, NULL, rfc1738_unescape(), and validate_user().
◆ validate_user()
|
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
|
static |
Definition at line 76 of file msntauth.cc.
Referenced by display_usage_instructions().
◆ msntauth_version
|
static |
Definition at line 54 of file msntauth.cc.
Referenced by display_usage_instructions().