]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/tools/slapcat.c
Changes from HEAD for beta
[openldap] / servers / slapd / tools / slapcat.c
index 02130fdaf79aab6e4d298d4bd3c67eaaffe2a8f7..7aa5d0ed445003f9296b62f421a878798399341f 100644 (file)
@@ -54,6 +54,20 @@ main( int argc, char **argv )
                        continue;
                }
 
+               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 );
                }