]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/root_dse.c
allow backwards compatibility for 'T' option (single char)
[openldap] / servers / slapd / root_dse.c
index 0e3cb7da83ae98c79061b9c30024bee9c763d7b2..9761bdfbfcd8abb7cd39d8dd825c4da17d05716d 100644 (file)
@@ -119,7 +119,12 @@ root_dse_info(
        }
 
        for ( i = 0; i < nbackends; i++ ) {
-               if ( backends[i].be_flags & SLAP_BFLAG_MONITOR ) {
+               if ( backends[i].be_suffix == NULL
+                               || backends[i].be_nsuffix == NULL ) {
+                       /* no suffix! */
+                       continue;
+               }
+               if ( SLAP_MONITOR( &backends[i] )) {
                        vals[0] = backends[i].be_suffix[0];
                        nvals[0] = backends[i].be_nsuffix[0];
                        if( attr_merge( e, ad_monitorContext, vals, nvals ) ) {