olcDatabase needs X-SORTED 'SIBLINGS' index

This commit is contained in:
Pierangelo Masarati 2009-02-04 20:06:28 +00:00
parent 53683a33d6
commit 92576d2bc0

View file

@ -2737,7 +2737,8 @@ pc_cfadd( Operation *op, SlapReply *rs, Entry *p, ConfigArgs *ca )
/* FIXME: should not hardcode "olcDatabase" here */
bv.bv_len = snprintf( ca->cr_msg, sizeof( ca->cr_msg ),
"olcDatabase=%s", cm->db.bd_info->bi_type );
"olcDatabase=" SLAP_X_ORDERED_FMT "%s",
0, cm->db.bd_info->bi_type );
if ( bv.bv_len >= sizeof( ca->cr_msg ) ) {
return -1;
}