Create rlm_mschap.h (split out from rlm_mschap.c)
[freeradius.git] / src / modules / rlm_mschap / rlm_mschap.h
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$")
7
8 /* Method of authentication we are going to use */
9 typedef enum {
10         AUTH_INTERNAL           = 0,
11         AUTH_NTLMAUTH_EXEC      = 1
12 } MSCHAP_AUTH_METHOD;
13
14 typedef struct rlm_mschap_t {
15         bool                    use_mppe;
16         bool                    require_encryption;
17         bool                    require_strong;
18         bool                    with_ntdomain_hack;     /* this should be in another module */
19         char const              *xlat_name;
20         char const              *ntlm_auth;
21         uint32_t                ntlm_auth_timeout;
22         char const              *ntlm_cpw;
23         char const              *ntlm_cpw_username;
24         char const              *ntlm_cpw_domain;
25         char const              *local_cpw;
26         char const              *auth_type;
27         bool                    allow_retry;
28         char const              *retry_msg;
29         MSCHAP_AUTH_METHOD      method;
30 #ifdef WITH_OPEN_DIRECTORY
31         bool                    open_directory;
32 #endif
33 } rlm_mschap_t;
34
35 #endif
36