(RADIATOR) Possible bug in Radiator 2.19 AuthLDAP2.pm

Christophe Wolfhugel wolf at oleane.net
Fri Jan 11 02:44:09 CST 2002


Good morning.

The code contains :

sub bind                
{
    my ($self, $name, $password) = @_;

    $self->log($main::LOG_INFO, "wolf bind bound=$self->{bound}");
    return 1 if (   $self->{bound}
                 && $self->{NoBindBeforeOp});

Shouldn't the test use the "or" statement rather than "and", ie :

    return 1 if (   $self->{bound}
                 || $self->{NoBindBeforeOp});

-- 
Christophe Wolfhugel -+- wolf at oleane.net -+- France Telecom Transpac
Direction des opérations, CSI Gennevilliers
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list