mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
preserve objectClasses not to be removed (ITS#5760)
This commit is contained in:
parent
49ed07558b
commit
363f75ca5f
@ -1177,7 +1177,9 @@ remove_oc:;
|
||||
last--;
|
||||
bv--;
|
||||
|
||||
} else if ( mapped.bv_val != bv[0].bv_val ) {
|
||||
} else if ( mapped.bv_val != bv[0].bv_val
|
||||
&& ber_bvstrcasecmp( &mapped, &bv[0] ) != 0 )
|
||||
{
|
||||
int i;
|
||||
|
||||
for ( i = 0; !BER_BVISNULL( &(*ap)->a_vals[ i ] ); i++ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user