mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
Added LDAP_LOG messages
This commit is contained in:
parent
e30c52dfb7
commit
fff5d3de60
@ -62,7 +62,11 @@ ldap_simple_bind(
|
||||
int msgid;
|
||||
struct berval cred;
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG (( "sbind", LDAP_LEVEL_ENTRY, "ldap_simple_bind\n" ));
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_simple_bind\n", 0, 0, 0 );
|
||||
#endif
|
||||
|
||||
assert( ld != NULL );
|
||||
assert( LDAP_VALID( ld ) );
|
||||
@ -97,7 +101,11 @@ ldap_simple_bind_s( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *passwd )
|
||||
{
|
||||
struct berval cred;
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG (( "sbind", LDAP_LEVEL_ENTRY, "ldap_simple_bind_s\n" ));
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_simple_bind_s\n", 0, 0, 0 );
|
||||
#endif
|
||||
|
||||
if ( passwd != NULL ) {
|
||||
cred.bv_val = (char *) passwd;
|
||||
|
@ -61,7 +61,11 @@ ldap_search_ext(
|
||||
BerElement *ber;
|
||||
int timelimit;
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG (( "search", LDAP_LEVEL_ENTRY, "ldap_search_ext\n" ));
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_search_ext\n", 0, 0, 0 );
|
||||
#endif
|
||||
|
||||
assert( ld != NULL );
|
||||
assert( LDAP_VALID( ld ) );
|
||||
@ -179,7 +183,11 @@ ldap_search(
|
||||
{
|
||||
BerElement *ber;
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG (( "search", LDAP_LEVEL_ENTRY, "ldap_search\n" ));
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE, "ldap_search\n", 0, 0, 0 );
|
||||
#endif
|
||||
|
||||
assert( ld != NULL );
|
||||
assert( LDAP_VALID( ld ) );
|
||||
|
Loading…
Reference in New Issue
Block a user