mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-27 09:09:20 -05:00
slapadd -i <rid list> fix
This commit is contained in:
parent
9dcdeef319
commit
9978007997
1 changed files with 2 additions and 2 deletions
|
|
@ -559,10 +559,10 @@ done:;
|
|||
|
||||
for ( i = 0; replica_id_list[i] > -1 ; i++ ) {
|
||||
slap_syncrepl_bv.bv_len = snprintf( slap_syncrepl_bv.bv_val,
|
||||
slap_syncrepl_bvc.bv_len,
|
||||
slap_syncrepl_bvc.bv_len+1,
|
||||
"syncrepl%d", replica_id_list[i] );
|
||||
slap_syncrepl_cn_bv.bv_len = snprintf( slap_syncrepl_cn_bv.bv_val,
|
||||
slap_syncrepl_cn_bvc.bv_len,
|
||||
slap_syncrepl_cn_bvc.bv_len+1,
|
||||
"cn=syncrepl%d", replica_id_list[i] );
|
||||
build_new_dn( &ctxcsn_ndn, &be->be_nsuffix[0],
|
||||
(struct berval *)&slap_syncrepl_cn_bv, NULL );
|
||||
|
|
|
|||
Loading…
Reference in a new issue