)
{
int i;
+#if defined( LDAP_SLAPI )
Slapi_PBlock *pb = op->o_pb;
-#if defined( LDAP_SLAPI )
int rc;
slapi_x_connection_set_pb( pb, conn );
slapi_x_operation_set_pb( pb, op );
struct berval cred = { 0, NULL };
Backend *be = NULL;
+#ifdef LDAP_SLAPI
Slapi_PBlock *pb = op->o_pb;
+#endif
#ifdef NEW_LOGGING
LDAP_LOG( OPERATION, ENTRY, "do_bind: conn %d\n", conn->c_connid, 0, 0 );
const char *text = NULL;
int manageDSAit;
+#ifdef LDAP_SLAPI
Slapi_PBlock *pb = op->o_pb;
+#endif
ava.aa_desc = NULL;
int rc;
int manageDSAit;
+#ifdef LDAP_SLAPI
Slapi_PBlock *pb = op->o_pb;
+#endif
#ifdef NEW_LOGGING
LDAP_LOG( OPERATION, ENTRY,
ber_len_t len;
Modifications *modlist = NULL;
Modifications **modtail = &modlist;
-#ifdef LDAP_SLAPI
- LDAPMod **modv = NULL;
-#endif
#ifdef LDAP_DEBUG
Modifications *tmp;
+#endif
+#ifdef LDAP_SLAPI
+ LDAPMod **modv = NULL;
+ Slapi_PBlock *pb = op->o_pb;
#endif
Backend *be;
int rc;
const char *text;
int manageDSAit;
- Slapi_PBlock *pb = op->o_pb;
#ifdef NEW_LOGGING
LDAP_LOG( OPERATION, ENTRY, "do_modify: enter\n", 0, 0, 0 );
const char *text;
int manageDSAit;
+#ifdef LDAP_SLAPI
Slapi_PBlock *pb = op->o_pb;
+#endif
#ifdef NEW_LOGGING
LDAP_LOG( OPERATION, ENTRY, "do_modrdn: begin\n", 0, 0, 0 );
* without express or implied warranty.
*/
+#ifdef LDAP_SLAPI /* SLAPI is OPTIONAL */
+
#ifndef _SLAPI_H
#define _SLAPI_H
#include "proto-slapi.h"
#endif /* _SLAPI_H */
-
+#endif /* LDAP_SLAPI */