Add useful definitions for MS-CHAP stuff
authoraland <aland>
Wed, 6 Aug 2003 17:30:34 +0000 (17:30 +0000)
committeraland <aland>
Wed, 6 Aug 2003 17:30:34 +0000 (17:30 +0000)
src/include/radius.h

index 34fdb2c..08a7230 100644 (file)
 #define PW_FREERADIUS_PROXIED_TO       ((VENDORPEC_FREERADIUS<<16)|1)
 
 /*
+ *  Microsoft has vendor code 311.
+ */
+#define PW_MSCHAP_RESPONSE     ((311 << 16) | 1)
+#define PW_MSCHAP_CHALLENGE    ((311 << 16) | 11)
+#define PW_MSCHAP2_RESPONSE    ((311 << 16) | 25)
+#define PW_MSCHAP2_SUCCESS     ((311 << 16) | 26)
+
+
+/*
  *  Old nonsense.  Will be deleted ASAP
  */
 #define PW_AUTHTYPE                    1000