Thank you, Alan! It explains why ldap cures things: it probably adds more attributes and thus CHAP_CHALLENGE is not the last one any more ;-)
Sincerely yours, Roman A.Suzi -- - Petrozavodsk - Karelia - Russia - mailto:[EMAIL PROTECTED] - On Sun, 23 May 2004, Alan DeKok wrote: > Roman Suzi <[EMAIL PROTECTED]> wrote: > > In order to CHAP-authenticate users by a script I need to know > > both CHAP_PASSWORD and CHAP_CHALLENGE. Howerer, in a script > > I see only the former. (using freeradius 0.9.3 / RH Linux 7.3) > > If you're using the "preprocess" module, then it will ensure that a > CHAP-Challenge attribute is in the request. > > > Situation changes only when I load also ldap module - > > I don't see why. > > > I wonder, why not all attributes are getting into environment variables > > for use in scripts? > > There's a bug in 0.9.3 that the *last* attribute in a list wouldn't > be processed into an environment variable. This is fixed in the > latest CVS snapshot. > > Alan DeKok. > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

