OH, and due credit to _Bani (root at bunnygirls.org) for checking the code
and hooking us up w/ the patch.
insert into pre_process.c @ line 648
/*
* If there is no PW_CHAP_CHALLENGE attribute but there
* is a PW_CHAP_PASSWORD we need to add it since we can't
* use the request authenticator anymore - we changed it.
*/
if (pairfind(request->packet->vps, PW_CHAP_PASSWORD) &&
pairfind(request->packet->vps, PW_CHAP_CHALLENGE) == NULL) {
VALUE_PAIR *vp;
vp = paircreate(PW_CHAP_CHALLENGE, PW_TYPE_OCTETS);
if (!vp) {
radlog(L_ERR|L_CONS, "no memory");
exit(1);
}
vp->length = AUTH_VECTOR_LEN;
memcpy(vp->strvalue, request->packet->vector, AUTH_VECTOR_LEN);
pairadd(&request->packet->vps, vp);
}
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html