mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
ITS#10032 Use the correct ocs field
This commit is contained in:
parent
818e2a5455
commit
6c2164970a
2 changed files with 4 additions and 4 deletions
|
|
@ -3841,8 +3841,8 @@ pc_cfadd( Operation *op, SlapReply *rs, Entry *p, ConfigArgs *ca )
|
|||
|
||||
/* We can only create this entry if the database is table-driven
|
||||
*/
|
||||
if ( cm->db.bd_info->bi_cf_ocs )
|
||||
config_build_entry( op, rs, pe, ca, &bv, cm->db.bd_info->bi_cf_ocs,
|
||||
if ( cm->db.be_cf_ocs )
|
||||
config_build_entry( op, rs, pe, ca, &bv, cm->db.be_cf_ocs,
|
||||
&pcocs[1] );
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -176,9 +176,9 @@ translucent_cfadd( Operation *op, SlapReply *rs, Entry *e, ConfigArgs *ca )
|
|||
|
||||
/* We can only create this entry if the database is table-driven
|
||||
*/
|
||||
if ( ov->db.bd_info->bi_cf_ocs )
|
||||
if ( ov->db.be_cf_ocs )
|
||||
config_build_entry( op, rs, cei, ca, &bv,
|
||||
ov->db.bd_info->bi_cf_ocs,
|
||||
ov->db.be_cf_ocs,
|
||||
&translucentocs[1] );
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue