diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:49:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:49:46 +0000 |
commit | 50b37d4a27d3295a29afca2286f1a5a086142cec (patch) | |
tree | 9212f763934ee090ef72d823f559f52ce387f268 /src/modules/rlm_mschap/auth_wbclient.h | |
parent | Initial commit. (diff) | |
download | freeradius-upstream/3.2.1+dfsg.tar.xz freeradius-upstream/3.2.1+dfsg.zip |
Adding upstream version 3.2.1+dfsg.upstream/3.2.1+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/modules/rlm_mschap/auth_wbclient.h')
-rw-r--r-- | src/modules/rlm_mschap/auth_wbclient.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/modules/rlm_mschap/auth_wbclient.h b/src/modules/rlm_mschap/auth_wbclient.h new file mode 100644 index 0000000..e54591c --- /dev/null +++ b/src/modules/rlm_mschap/auth_wbclient.h @@ -0,0 +1,19 @@ +/* Copyright 2015 The FreeRADIUS server project */ + +#ifndef _AUTH_WBCLIENT_H +#define _AUTH_WBCLIENT_H + +RCSIDH(auth_wbclient_h, "$Id$") + +#include <wbclient.h> + +/* Samba does not export this constant yet */ +#ifndef WBC_MSV1_0_ALLOW_MSVCHAPV2 +#define WBC_MSV1_0_ALLOW_MSVCHAPV2 0x00010000 +#endif + +int do_auth_wbclient(rlm_mschap_t *inst, REQUEST *request, + uint8_t const *challenge, uint8_t const *response, + uint8_t nthashhash[NT_DIGEST_LENGTH]); + +#endif /*_AUTH_WBCLIENT_H*/ |