mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-28 17:47:33 -05:00
Patch: Perl backend sends bind result twice (ITS#1783)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
perl_back_bind() should not send LDAP_SUCCESS, the frontend does that.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
This commit is contained in:
parent
c030dbfefd
commit
5b06af70bb
1 changed files with 3 additions and 1 deletions
|
|
@ -85,7 +85,9 @@ perl_back_bind(
|
|||
|
||||
Debug( LDAP_DEBUG_ANY, "Perl BIND returned 0x%04x\n", return_code, 0, 0 );
|
||||
|
||||
send_ldap_result( conn, op, return_code, NULL, NULL, NULL, NULL );
|
||||
/* frontend will send result on success (0) */
|
||||
if( return_code != LDAP_SUCCESS )
|
||||
send_ldap_result( conn, op, return_code, NULL, NULL, NULL, NULL );
|
||||
|
||||
return ( return_code );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue