mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Added LDAP_LOG messages
This commit is contained in:
parent
2027e7322a
commit
d881efa172
@ -75,8 +75,12 @@ bdb_compare(
|
|||||||
BerVarray refs = get_entry_referrals( be,
|
BerVarray refs = get_entry_referrals( be,
|
||||||
conn, op, e );
|
conn, op, e );
|
||||||
|
|
||||||
|
#ifdef NEW_LOGGING
|
||||||
|
LDAP_LOG (( "compare", LDAP_LEVEL_DETAIL1,"bdb_compare: entry is referral\n" ));
|
||||||
|
#else
|
||||||
Debug( LDAP_DEBUG_TRACE, "entry is referral\n", 0,
|
Debug( LDAP_DEBUG_TRACE, "entry is referral\n", 0,
|
||||||
0, 0 );
|
0, 0 );
|
||||||
|
#endif
|
||||||
|
|
||||||
send_ldap_result( conn, op, rc = LDAP_REFERRAL,
|
send_ldap_result( conn, op, rc = LDAP_REFERRAL,
|
||||||
e->e_dn, NULL, refs, NULL );
|
e->e_dn, NULL, refs, NULL );
|
||||||
|
Loading…
Reference in New Issue
Block a user