]> git.sur5r.net Git - openldap/commitdiff
child DB should have ordering prefix
authorHoward Chu <hyc@openldap.org>
Wed, 19 Aug 2009 23:46:37 +0000 (23:46 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 19 Aug 2009 23:46:37 +0000 (23:46 +0000)
servers/slapd/overlays/translucent.c

index f7c443631ff5608c12e28aa6fd52462724050437..4ec20a31a8d963f60c8b07f33413dc1aa4abb0e9 100644 (file)
@@ -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;
        }