-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create rlm_mschap.h (split out from rlm_mschap.c)
- Loading branch information
Showing
3 changed files
with
37 additions
and
28 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* Copyright 2006-2015 The FreeRADIUS server project */ | ||
|
||
#ifndef _RLM_MSCHAP_H | ||
#define _RLM_MSCHAP_H | ||
|
||
RCSIDH(rlm_mschap_h, "$Id$") | ||
|
||
/* Method of authentication we are going to use */ | ||
typedef enum { | ||
AUTH_INTERNAL = 0, | ||
AUTH_NTLMAUTH_EXEC = 1 | ||
} MSCHAP_AUTH_METHOD; | ||
|
||
typedef struct rlm_mschap_t { | ||
bool use_mppe; | ||
bool require_encryption; | ||
bool require_strong; | ||
bool with_ntdomain_hack; /* this should be in another module */ | ||
char const *xlat_name; | ||
char const *ntlm_auth; | ||
uint32_t ntlm_auth_timeout; | ||
char const *ntlm_cpw; | ||
char const *ntlm_cpw_username; | ||
char const *ntlm_cpw_domain; | ||
char const *local_cpw; | ||
char const *auth_type; | ||
bool allow_retry; | ||
char const *retry_msg; | ||
MSCHAP_AUTH_METHOD method; | ||
#ifdef WITH_OPEN_DIRECTORY | ||
bool open_directory; | ||
#endif | ||
} rlm_mschap_t; | ||
|
||
#endif | ||
|