unlang fails for some strange reason...

Alan DeKok aland at deployingradius.com
Wed May 9 09:56:33 CEST 2012


Stefan Winter wrote:
> noone with a hint?

  Hmm...  the default return code for things in the "authenticate"
section is "reject".  And the "update" sections just pass through the
*previous* return code.

  You might try this as a hack:

Auth-Type MS-CHAP {
	ok
	if (..) {
	}
	else {
	}
	mschap
}

  The "ok" at the start will over-ride the default "reject"

  Alan DeKok.


More information about the Freeradius-Users mailing list