#define PW_LOGIN_USER 1
#define PW_FRAMED_USER 2
-#define PW_DIALBACK_LOGIN_USER 3
-#define PW_DIALBACK_FRAMED_USER 4
-
+#define PW_CALLBACK_LOGIN_USER 3
+#define PW_CALLBACK_FRAMED_USER 4
+#define PW_OUTBOUND_USER 5
+#define PW_ADMINISTRATIVE_USER 6
+#define PW_NAS_PROMPT_USER 7
+#define PW_AUTHENTICATE_ONLY 8
+#define PW_CALLBACK_NAS_PROMPT 9
+
/* Framed Protocols */
#define PW_PPP 1
* See if we need to adjust the name.
*/
do_strip = 1;
- if ((tmp = pairfind(i->reply, PW_STRIP_USERNAME)) != NULL
+ if ((tmp = pairfind(i->reply, PW_STRIP_USER_NAME)) != NULL
&& tmp->lvalue == 0)
do_strip = 0;
- if ((tmp = pairfind(i->check, PW_STRIP_USERNAME)) != NULL
+ if ((tmp = pairfind(i->check, PW_STRIP_USER_NAME)) != NULL
&& tmp->lvalue == 0)
do_strip = 0;
* Now add all attributes to the request list,
* except the PW_STRIP_USERNAME one.
*/
- pairdelete(&add, PW_STRIP_USERNAME);
+ pairdelete(&add, PW_STRIP_USER_NAME);
for(last = request_pairs; last && last->next; last = last->next)
;
if (last) last->next = add;