diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 14:11:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 14:11:00 +0000 |
commit | af754e596a8dbb05ed8580c342e7fe02e08b28e0 (patch) | |
tree | b2f334c2b55ede42081aa6710a72da784547d8ea /src/modules/rlm_mschap/rlm_mschap.h | |
parent | Initial commit. (diff) | |
download | freeradius-af754e596a8dbb05ed8580c342e7fe02e08b28e0.tar.xz freeradius-af754e596a8dbb05ed8580c342e7fe02e08b28e0.zip |
Adding upstream version 3.2.3+dfsg.upstream/3.2.3+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/modules/rlm_mschap/rlm_mschap.h')
-rw-r--r-- | src/modules/rlm_mschap/rlm_mschap.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/modules/rlm_mschap/rlm_mschap.h b/src/modules/rlm_mschap/rlm_mschap.h new file mode 100644 index 0000000..7309919 --- /dev/null +++ b/src/modules/rlm_mschap/rlm_mschap.h @@ -0,0 +1,55 @@ +/* Copyright 2006-2015 The FreeRADIUS server project */ + +#ifndef _RLM_MSCHAP_H +#define _RLM_MSCHAP_H + +RCSIDH(rlm_mschap_h, "$Id$") + +#include "config.h" + +#ifdef HAVE_WDOCUMENTATION +DIAG_OFF(documentation) +#endif +#ifdef WITH_AUTH_WINBIND +# include <wbclient.h> +#endif +#ifdef HAVE_WDOCUMENTATION +DIAG_ON(documentation) +#endif + +/* Method of authentication we are going to use */ +typedef enum { + AUTH_INTERNAL = 0, + AUTH_NTLMAUTH_EXEC = 1 +#ifdef WITH_AUTH_WINBIND + ,AUTH_WBCLIENT = 2 +#endif +} 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; + vp_tmpl_t *wb_username; + vp_tmpl_t *wb_domain; + fr_connection_pool_t *wb_pool; + bool wb_retry_with_normalised_username; +#ifdef __APPLE__ + bool open_directory; +#endif +} rlm_mschap_t; + +#endif + |