Pierangelo Masarati wrote:
> [email protected] wrote:
>
>> I saw that, but it seems that multiple -i options work.
>> -i !xx  -i yy
>
> Yes, it works.  The test becomes waaaaaay too verbose, though.  It'd be
> nicer to have the possibility to limit the error message to the first
> occurrence, when it is intended.

Yes, I also patched slapd-bind.c in my tree, forgot to mention that:
@@ -344,7 +348,7 @@
                        /* if ignore.. */
                        if ( first ) {
                                /* only log if first occurrence */
-                               if ( force < 2 || first == 1 ) {
+                               if ( first == 1 ) {
                                        tester_ldap_error( ld, 
"ldap_sasl_bind_s", NULL );
                                }
                                rc = LDAP_SUCCESS;


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/


Reply via email to