[RADIATOR] Radiator 4.11: WARNING: Could not find AuthBy clause with Identifier ...

Karl Gaissmaier karl.gaissmaier at uni-ulm.de
Wed Jul 10 03:32:38 CDT 2013


Hi Heikki,

Am 07.07.2013 21:19, schrieb Heikki Vatiainen:

...

> Yes, that seems to be it. Thanks everyone for locating the change. I was
> thrown off a bit since I was under the impression it fails with stock
> 4.11. That's not the case but the change is in the 4.11 patches. It's
> also not specific to Solaris either.
>
> We'll see what can be done for this.

the problem, I see with activation during config checks, is only with
socket bindings. As far as I see it's only used in:

> Radius/AddressAllocatorDHCP.pm
> Radius/ServerRADIUS.pm
> Radius/ServerTACACSPLUS.pm
> Radius/StreamServer.pm

Maybe you add a condition in this modules during activate() like ...


 > | Radius/StreamServer.pm, sub activate()
> | 93,99c93,103
> | <     bind($s, $paddr)
> | <         || &main::log($main::LOG_ERR,  "Could not bind StreamServer socket: $!");
> | <     listen($s, Socket::SOMAXCONN)
> | <         || &main::log($main::LOG_ERR,  "Could not listen on StreamServer socket: $!");
> | <     &Radius::Select::add_file(fileno($s), 1, undef, undef,
> | <                               \&handle_listen_socket_read, $s, $self);
> | <     push(@{$self->{sockets}}, $s);
> | ---
> | >     unless ( $self->isCheckingConfiguration ) {
> | >         bind( $s, $paddr )
> | >           || &main::log( $main::LOG_ERR,
> | >             "Could not bind StreamServer socket: $!" );
> | >         listen( $s, Socket::SOMAXCONN )
> | >           || &main::log( $main::LOG_ERR,
> | >             "Could not listen on StreamServer socket: $!" );
> | >         &Radius::Select::add_file( fileno($s), 1, undef, undef,
> | >             \&handle_listen_socket_read, $s, $self );
> | >         push( @{ $self->{sockets} }, $s );
> | >     }

Maybe we introduce other bugs in distance, sigh.


Best Regards
    Charly

-- 
Karl Gaissmaier
Universität Ulm


More information about the radiator mailing list