]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/root_dse.c
More struct berval DNs
[openldap] / servers / slapd / root_dse.c
index cd0c20c9e5a025aeaed21f1bfddcd29980632c9e..f2ba8e027368a283cbcd866508943a9871b3ff76 100644 (file)
@@ -87,8 +87,7 @@ root_dse_info(
                if ( backends[i].be_glueflags & SLAP_GLUE_SUBORDINATE )
                        continue;
                for ( j = 0; backends[i].be_suffix[j] != NULL; j++ ) {
-                       val.bv_val = backends[i].be_suffix[j];
-                       val.bv_len = strlen( val.bv_val );
+                       val = *backends[i].be_suffix[j];
                        attr_merge( e, ad_namingContexts, vals );
                }
        }