[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] "Guile authentication disabled in config" after up
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] "Guile authentication disabled in config" after upgrade to 1.6.1 |
Date: |
Wed, 18 Aug 2010 23:29:18 +0300 |
Dale <address@hidden> 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
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?*/