View | Details | Raw Unified | Return to bug 8148
Collapse All | Expand All

(-)a/C4/Auth_with_ldap.pm (-2 / +1 lines)
Lines 145-151 sub checkpw_ldap { Link Here
145
        my $res = $db->bind( $principal_name, password => $password );
145
        my $res = $db->bind( $principal_name, password => $password );
146
        if ( $res->code ) {
146
        if ( $res->code ) {
147
            warn "LDAP bind failed as kohauser $userid: " . description($res);
147
            warn "LDAP bind failed as kohauser $userid: " . description($res);
148
            return 0;
148
            return -1;
149
        }
149
        }
150
        if ( !defined($userldapentry)
150
        if ( !defined($userldapentry)
151
            && ( $config{update} or $config{replicate} ) )
151
            && ( $config{update} or $config{replicate} ) )
152
- 

Return to bug 8148