]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapcat.c
fix database operations in tool mode (ITS#3622)
[openldap] / servers / slapd / slapcat.c
index 92bed82c810adbf32b2e28acd90d1f98174d4d35..e8a4beda5aab7166306059eb2108c1c0a5ad0925 100644 (file)
@@ -87,20 +87,6 @@ slapcat( int argc, char **argv )
                        }
                }
 
-               if ( retrieve_ctxcsn == 0 ) {
-                       if ( is_entry_syncProviderSubentry( e ) ) {
-                               be_entry_release_r( &op, e );
-                               continue;
-                       }
-               }
-
-               if ( retrieve_synccookie == 0 ) {
-                       if ( is_entry_syncConsumerSubentry( e ) ) {
-                               be_entry_release_r( &op, e );
-                               continue;
-                       }
-               }
-
                if( verbose ) {
                        printf( "# id=%08lx\n", (long) id );
                }