Philippe Levan <[EMAIL PROTECTED]> wrote:
> My first attempt at running /usr/local/sbin/radiusd -X
> resulted in the following output :
> ...
> read_config_files:  reading realms
> /usr/local/etc/raddb/realms[33]: Cannot find 'clients' file entry of
> remote server LOCAL for realm "epix.net"
> Errors reading realms

  Yeah, that isn't very polite, is it?

> I can work around that problem by adding a client entry for localhost
> but I was wondering if it wouldn't be better to skip client_find at
> line 433 of src/main/files.c if hostnm is LOCAL.

  You're right.  And that also involves fixing other places in the
code, too.  (conffile.c, duplicate 'create realm' code, and proxy.c,
where it looks for the local realm.

  The local realm should have IP address 'INADDR_NONE', which is very
different from localhost.

  Anyways, I've fixed it, and the CVS snapshot from tonight should
have the fix.

> PW_PASSWORD handling by paircmp() in src/main/valuepair.c
> ---------------------------------------------------------

  Is ugly, I know...

> I do not know what that reference to a CHAP hack means, but if it
> really needed, I can see 2 conflicting requirements for paircmp().

  That is the problem.  I'll take a look, and see if I can figure out
anything more intelligent for it to do.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to