mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 07:09:34 -05:00
ITS#10068 keep our own copy of the DN
This commit is contained in:
parent
5ae48d085f
commit
67d3fd3d14
1 changed files with 2 additions and 2 deletions
|
|
@ -72,8 +72,8 @@ null_back_db_open( BackendDB *be, ConfigReply *cr )
|
||||||
|
|
||||||
if ( ni->ni_dosearch ) {
|
if ( ni->ni_dosearch ) {
|
||||||
e = entry_alloc();
|
e = entry_alloc();
|
||||||
e->e_name = be->be_suffix[0];
|
ber_dupbv( &e->e_name, &be->be_suffix[0] );
|
||||||
e->e_nname = be->be_nsuffix[0];
|
ber_dupbv( &e->e_nname, &be->be_nsuffix[0] );
|
||||||
|
|
||||||
dnRdn( &e->e_nname, &bv[0] );
|
dnRdn( &e->e_nname, &bv[0] );
|
||||||
bv[1].bv_val = strchr(bv[0].bv_val, '=') + 1;
|
bv[1].bv_val = strchr(bv[0].bv_val, '=') + 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue