All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rlm_mschap.h
Go to the documentation of this file.
1 /* Copyright 2006-2015 The FreeRADIUS server project */
2 
3 #ifndef _RLM_MSCHAP_H
4 #define _RLM_MSCHAP_H
5 
6 RCSIDH(rlm_mschap_h, "$Id: 1ce1ad4a08c8caffdc97407d0615619eab5351de $")
7 
8 #include "config.h"
9 
10 #ifdef WITH_AUTH_WINBIND
11 # include <wbclient.h>
12 #endif
13 
14 /* Method of authentication we are going to use */
15 typedef enum {
18 #ifdef WITH_AUTH_WINBIND
19  ,AUTH_WBCLIENT = 2
20 #endif
22 
23 typedef struct rlm_mschap_t {
24  bool use_mppe;
27  bool with_ntdomain_hack; /* this should be in another module */
28  char const *xlat_name;
29  char const *ntlm_auth;
31  char const *ntlm_cpw;
32  char const *ntlm_cpw_username;
33  char const *ntlm_cpw_domain;
34  char const *local_cpw;
35  char const *auth_type;
37  char const *retry_msg;
42 #ifdef __APPLE__
43  bool open_directory;
44 #endif
45 } rlm_mschap_t;
46 
47 #endif
48 
char const * retry_msg
Definition: rlm_mschap.h:37
#define RCSIDH(h, id)
Definition: build.h:136
fr_connection_pool_t * wb_pool
Definition: rlm_mschap.h:41
char const * local_cpw
Definition: rlm_mschap.h:34
bool allow_retry
Definition: rlm_mschap.h:36
bool with_ntdomain_hack
Definition: rlm_mschap.h:27
struct rlm_mschap_t rlm_mschap_t
bool use_mppe
Definition: rlm_mschap.h:24
MSCHAP_AUTH_METHOD
Definition: rlm_mschap.h:15
char const * ntlm_cpw
Definition: rlm_mschap.h:31
vp_tmpl_t * wb_domain
Definition: rlm_mschap.h:40
char const * ntlm_cpw_username
Definition: rlm_mschap.h:32
bool require_strong
Definition: rlm_mschap.h:26
bool require_encryption
Definition: rlm_mschap.h:25
MSCHAP_AUTH_METHOD method
Definition: rlm_mschap.h:38
A connection pool.
Definition: connection.c:85
char const * auth_type
Definition: rlm_mschap.h:35
char const * xlat_name
Definition: rlm_mschap.h:28
char const * ntlm_auth
Definition: rlm_mschap.h:29
char const * ntlm_cpw_domain
Definition: rlm_mschap.h:33
vp_tmpl_t * wb_username
Definition: rlm_mschap.h:39
A source or sink of value data.
Definition: tmpl.h:187
uint32_t ntlm_auth_timeout
Definition: rlm_mschap.h:30