1 /* Copyright 2006-2015 The FreeRADIUS server project */
6 RCSIDH(rlm_mschap_h, "$Id$")
10 #ifdef WITH_AUTH_WINBIND
11 # include <wbclient.h>
14 /* Method of authentication we are going to use */
17 AUTH_NTLMAUTH_EXEC = 1
18 #ifdef WITH_AUTH_WINBIND
23 typedef struct rlm_mschap_t {
25 bool require_encryption;
27 bool with_ntdomain_hack; /* this should be in another module */
28 char const *xlat_name;
29 char const *ntlm_auth;
30 uint32_t ntlm_auth_timeout;
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;
38 MSCHAP_AUTH_METHOD method;
39 vp_tmpl_t *wb_username;
41 fr_connection_pool_t *wb_pool;
42 bool winbind_allow_mschapv2;