From: Howard Chu Date: Wed, 19 Aug 2009 23:46:37 +0000 (+0000) Subject: child DB should have ordering prefix X-Git-Tag: ACLCHECK_0~257 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=acd888b9de655ba3739817fe5781eb553484c665;p=openldap child DB should have ordering prefix --- diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c index f7c443631f..4ec20a31a8 100644 --- a/servers/slapd/overlays/translucent.c +++ b/servers/slapd/overlays/translucent.c @@ -158,7 +158,8 @@ translucent_cfadd( Operation *op, SlapReply *rs, Entry *e, ConfigArgs *ca ) /* FIXME: should not hardcode "olcDatabase" here */ bv.bv_len = snprintf( ca->cr_msg, sizeof( ca->cr_msg ), - "olcDatabase=%s", ov->db.bd_info->bi_type ); + "olcDatabase=" SLAP_X_ORDERED_FMT "%s", + 0, ov->db.bd_info->bi_type ); if ( bv.bv_len >= sizeof( ca->cr_msg ) ) { return -1; }