Re: "Guile authentication disabled in config" after upgrade to 1.6.1
Sergey Poznyakoff <[email protected]> Wed, 18 Aug 2010 23:29:18 +0300
| Newsgroups | gmane.comp.gnu.radius.general |
|---|---|
| Organization | GNU.org.ua |
| Message-ID | <[email protected]> |
--1804289383-1282163335=:22217 Content-ID: <[email protected]> Content-Type: text/plain Dale <[email protected]> ha escrit: > Sorry for replying to the digest... forgot to change the mode before I > posted. No problem. > No, I don't use it that I know of. Everything appears to be working > that is. I do have some Rewrite-Function(s) in my hints file, is a > Rewrite-Function guile? No, it is not. There seems to be a minor bug which triggers this condition. Please try the attached patch. Let me know if it works for you. Regards, Sergey --1804289383-1282163335=:22217 Content-transfer-encoding: quoted-printable Content-Description: Content-ID: <[email protected]> Content-Type: text/x-c; name="0001-Dont-bail-out-on-disabled-guile.patch" diff --git a/radiusd/files.c b/radiusd/files.c index dd18414..707af6c 100644 --- a/radiusd/files.c +++ b/radiusd/files.c @@ -784,7 +784,8 @@ hints_setup(radiusd_request_t *req) attributes */ exec_program_wait (req, rule->rhs, &add, NULL); #ifdef USE_SERVER_GUILE - scheme_eval_avl (req, rule->lhs, rule->rhs, &add, NULL); + if (use_guile) + scheme_eval_avl (req, rule->lhs, rule->rhs, &add, NULL); #endif /* Evaluate hints */ radius_eval_avl(req, add); /*FIXME: return value?*/ --1804289383-1282163335=:22217 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-radius mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnu-radius --1804289383-1282163335=:22217--