mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
slapi used the old version of the LDAP_LOG macro (caught by Howard)
This commit is contained in:
parent
b793be6aca
commit
e9a74cffba
8 changed files with 64 additions and 32 deletions
|
|
@ -243,9 +243,11 @@ do_add( Connection *conn, Operation *op )
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_add: add preOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_add: add preOps failed\n",
|
||||
0, 0, 0);
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " add preOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_add: add preOps failed.\n",
|
||||
0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
@ -346,9 +348,11 @@ do_add( Connection *conn, Operation *op )
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_add: Add postOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_add: Add postOps failed\n",
|
||||
0, 0, 0);
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " Add postOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_add: Add postOps failed.\n",
|
||||
0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
|
|||
|
|
@ -710,9 +710,11 @@ backend_unbind(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Unbind preOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_bind: Unbind preOps "
|
||||
"failed\n", 0, 0, 0);
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " Unbind preOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_bind: Unbind preOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
@ -732,9 +734,11 @@ backend_unbind(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_unbind: Unbind postOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_unbind: Unbind postOps "
|
||||
"failed\n", 0, 0, 0);
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " Unbind postOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_unbind: Unbind postOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
|
|||
|
|
@ -547,9 +547,11 @@ do_bind(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Bind preOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_bind: Bind preOps failed\n",
|
||||
0, 0, 0);
|
||||
#else
|
||||
Debug(LDAP_DEBUG_TRACE, " Bind preOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_bind: Bind preOps failed.\n",
|
||||
0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
@ -630,9 +632,11 @@ do_bind(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_bind: Bind postOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_bind: Bind postOps failed\n",
|
||||
0, 0, 0);
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " Bind postOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_bind: Bind postOps failed.\n",
|
||||
0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
|
|||
|
|
@ -290,9 +290,11 @@ do_compare(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_compare: compare preOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_compare: compare preOps "
|
||||
"failed\n", 0, 0, 0);
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " compare preOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_compare: compare preOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
@ -315,9 +317,11 @@ do_compare(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_compare: compare postOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_compare: compare postOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " compare postOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_compare: compare postOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
|
|||
|
|
@ -174,9 +174,11 @@ do_delete(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_delete: delete preOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_delete: delete preOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " delete preOps failed.\n", 0, 0, 0);
|
||||
Debug (LDAP_DEBUG_TRACE, "do_delete: delete preOps failed.\n",
|
||||
0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
@ -231,9 +233,11 @@ do_delete(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_delete: delete postOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_delete: delete postOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " delete postOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_delete: delete postOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
|
|||
|
|
@ -348,9 +348,11 @@ do_modify(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modify: modify preOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_modify: modify preOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " modify preOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_modify: modify preOps failed.\n",
|
||||
0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
@ -442,9 +444,11 @@ do_modify(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modify: modify postOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_modify: modify postOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " modify postOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_modify: modify postOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
|
|||
|
|
@ -349,9 +349,11 @@ do_modrdn(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modrdn: modrdn preOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_modrdn: modrdn preOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " modrdn preOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_modrdn: modrdn preOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
@ -412,9 +414,11 @@ do_modrdn(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_modrdn: modrdn postOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_modrdn: modrdn postOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " modrdn postOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_modrdn: modrdn postOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
|
|||
|
|
@ -363,9 +363,11 @@ do_search(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_search: search preOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_search: search preOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug(LDAP_DEBUG_TRACE, "search preOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_search: search preOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
@ -391,9 +393,11 @@ do_search(
|
|||
* FIXME: is this correct?
|
||||
*/
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO, "do_search: search postOps failed\n"));
|
||||
LDAP_LOG( OPERATION, INFO, "do_search: search postOps "
|
||||
"failed\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug (LDAP_DEBUG_TRACE, " search postOps failed.\n", 0, 0, 0);
|
||||
Debug(LDAP_DEBUG_TRACE, "do_search: search postOps "
|
||||
"failed.\n", 0, 0, 0);
|
||||
#endif
|
||||
}
|
||||
#endif /* defined( LDAP_SLAPI ) */
|
||||
|
|
|
|||
Loading…
Reference in a new issue