mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
make sure objectClass is not filtered out by 'map attribute *' (ITS#5647)
This commit is contained in:
parent
bb4268a646
commit
4d71b2f9c0
@ -1556,6 +1556,11 @@ ldap_back_map_config(
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ( !is_oc && map->map == NULL ) {
|
||||
/* only init if required */
|
||||
ldap_back_map_init( map, &mapping );
|
||||
}
|
||||
|
||||
if ( strcmp( argv[ 2 ], "*" ) == 0 ) {
|
||||
if ( argc < 4 || strcmp( argv[ 3 ], "*" ) == 0 ) {
|
||||
map->drop_missing = ( argc < 4 );
|
||||
@ -1702,11 +1707,6 @@ ldap_back_map_config(
|
||||
mapping_cmp, mapping_dup );
|
||||
|
||||
success_return:;
|
||||
if ( !is_oc && map->map == NULL ) {
|
||||
/* only init if required */
|
||||
ldap_back_map_init( map, &mapping );
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
error_return:;
|
||||
|
Loading…
Reference in New Issue
Block a user