diag dump result if using FILTER=uid=foobar
[virtual-ldap] / t / ldap-rewrite.t
index 070c64b..bf66863 100755 (executable)
@@ -31,7 +31,7 @@ ldap_check_error $search;
 
 foreach my $entry ( $search->entries ) {
 
-#      diag dump $entry;
+       diag dump $entry if $ENV{FILTER};
        $entry->dump;
 
        my $missing = 0;