]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/tools/mimic.c
Implement slapcat -s <dn>: Only dump a subtree of the database.
[openldap] / servers / slapd / tools / mimic.c
index c05600417b8e8f9dbd2ffb8d31e546a8a2974495..c9aec23833024100d61cd128dbf49d72de2d029e 100644 (file)
@@ -199,8 +199,8 @@ int
 slap_modrdn2mods(
        Operation       *op, SlapReply *rs,
        Entry           *e,
-       LDAPRDN         *oldrdn,
-       LDAPRDN         *newrdn,
+       LDAPRDN         oldrdn,
+       LDAPRDN         newrdn,
        Modifications   **pmod )
 {
        return 0;
@@ -217,7 +217,7 @@ slap_mods2entry(
        return 0;
 }
 
-int slap_sasl_getdn( Connection *conn, char *id, int len,
+int slap_sasl_getdn( Connection *conn, Operation *op, char *id, int len,
        char *user_realm, struct berval *dn, int flags )
 {
        return -1;
@@ -230,7 +230,7 @@ int slap_sasl_authorized( Connection *conn,
 }
 
 int slap_mods_check( Modifications *ml, int update, const char **text,
-       char *textbuf, size_t textlen )
+       char *textbuf, size_t textlen, void *ctx )
 {
        return -1;
 }
@@ -247,3 +247,14 @@ int root_dse_info( Connection *conn, Entry **entry, const char **text )
        return -1;
 }
 
+#ifdef LDAP_SYNCREPL
+void init_syncrepl( )
+{
+        return -1;
+}
+
+void* do_syncrepl( void *ctx, void *arg )
+{
+                return -1;
+}
+#endif