Go to the source code of this file.
Macros | |
#define | NTV_NO_ERROR 0 |
#define | NTV_SERVER_ERROR 1 |
#define | NTV_GROUP_ERROR 2 |
#define | NTV_LOGON_ERROR 3 |
#define | LOGON32_LOGON_NETWORK 3 |
#define | NTV_DEFAULT_DOMAIN "." |
Functions | |
int | Valid_User (char *UserName, char *Password, char *Group) |
static void | debug (char *format,...) |
Variables | |
char * | NTAllowedGroup |
char * | NTDisAllowedGroup |
int | UseDisallowedGroup |
int | UseAllowedGroup |
int | debug_enabled |
char | Default_NTDomain [DNLEN+1] |
const char * | errormsg |
Macro Definition Documentation
◆ LOGON32_LOGON_NETWORK
◆ NTV_DEFAULT_DOMAIN
◆ NTV_GROUP_ERROR
◆ NTV_LOGON_ERROR
◆ NTV_NO_ERROR
◆ NTV_SERVER_ERROR
Function Documentation
◆ debug()
|
static |
Definition at line 88 of file valid.h.
References debug_enabled.
◆ Valid_User()
int Valid_User | ( | char * | UserName, |
char * | Password, | ||
char * | Group | ||
) |
Valid_User return codes.
- Return values
-
0 User authenticated successfully. 1 Server error. 2 Group membership error. 3 Logon error; Incorrect password or username given.
Definition at line 120 of file valid.cc.
References debug(), Default_NTDomain, errormsg, NTAllowedGroup, NTDisAllowedGroup, NTV_DEFAULT_DOMAIN, NTV_GROUP_ERROR, NTV_GROUP_ERROR_MSG, NTV_LOGON_ERROR, NTV_LOGON_ERROR_MSG, NTV_NO_ERROR, NTV_SERVER_ERROR, NTV_SERVER_ERROR_MSG, NTV_VALID_DOMAIN_SEPARATOR, NULL, SSP_LogonUser(), UseAllowedGroup, UseDisallowedGroup, Valid_Group(), and xstrncpy().
Variable Documentation
◆ debug_enabled
|
extern |
Definition at line 13 of file debug.cc.
Referenced by debug(), hex_dump(), LDAPArguments(), main(), MainSafe(), process_options(), and processingLoop().
◆ Default_NTDomain
|
extern |
Definition at line 43 of file valid.cc.
Referenced by process_options(), and Valid_User().
◆ errormsg
|
extern |
Definition at line 44 of file valid.cc.
Referenced by main(), and Valid_User().
◆ NTAllowedGroup
|
extern |
Definition at line 46 of file basic_sspi_auth.cc.
Referenced by ntlm_check_auth(), process_options(), and Valid_User().
◆ NTDisAllowedGroup
|
extern |
Definition at line 47 of file basic_sspi_auth.cc.
Referenced by ntlm_check_auth(), process_options(), and Valid_User().
◆ UseAllowedGroup
|
extern |
Definition at line 49 of file basic_sspi_auth.cc.
Referenced by ntlm_check_auth(), process_options(), and Valid_User().
◆ UseDisallowedGroup
|
extern |
Definition at line 48 of file basic_sspi_auth.cc.
Referenced by ntlm_check_auth(), process_options(), and Valid_User().