Add ALLOW_MSVCHAPV2 flag to mschap/libwbclient
[freeradius.git] / src / modules / rlm_mschap / auth_wbclient.h
1 /* Copyright 2015 The FreeRADIUS server project */
2
3 #ifndef _AUTH_WBCLIENT_H
4 #define _AUTH_WBCLIENT_H
5
6 RCSIDH(auth_wbclient_h, "$Id$")
7
8 #include <wbclient.h>
9
10 /* Samba does not export this constant yet */
11 #ifndef WBC_MSV1_0_ALLOW_MSVCHAPV2
12 #define WBC_MSV1_0_ALLOW_MSVCHAPV2 0x00010000
13 #endif
14
15 int do_auth_wbclient(rlm_mschap_t *inst, REQUEST *request,
16                      uint8_t const *challenge, uint8_t const *response,
17                      uint8_t nthashhash[NT_DIGEST_LENGTH]);
18
19 #endif /*_AUTH_WBCLIENT_H*/