mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
fix ITS#3350 (rewrite/remap will be replaced by the rwm overlay)
This commit is contained in:
parent
b349604352
commit
f06f2a6aec
3 changed files with 10 additions and 3 deletions
|
|
@ -205,8 +205,6 @@ ldap_back_map_attrs(
|
||||||
char ***mapped_attrs
|
char ***mapped_attrs
|
||||||
);
|
);
|
||||||
|
|
||||||
extern void mapping_free ( void *mapping );
|
|
||||||
|
|
||||||
extern int ldap_back_map_config(
|
extern int ldap_back_map_config(
|
||||||
struct ldapmap *oc_map,
|
struct ldapmap *oc_map,
|
||||||
struct ldapmap *at_map,
|
struct ldapmap *at_map,
|
||||||
|
|
|
||||||
|
|
@ -216,7 +216,7 @@ ldap_back_conn_free(
|
||||||
ch_free( lc );
|
ch_free( lc );
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
mapping_free( void *v_mapping )
|
mapping_free( void *v_mapping )
|
||||||
{
|
{
|
||||||
struct ldapmapping *mapping = v_mapping;
|
struct ldapmapping *mapping = v_mapping;
|
||||||
|
|
|
||||||
|
|
@ -145,6 +145,15 @@ conn_free(
|
||||||
free( lc );
|
free( lc );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
mapping_free( void *v_mapping )
|
||||||
|
{
|
||||||
|
struct ldapmapping *mapping = v_mapping;
|
||||||
|
ch_free( mapping->src.bv_val );
|
||||||
|
ch_free( mapping->dst.bv_val );
|
||||||
|
ch_free( mapping );
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
target_free(
|
target_free(
|
||||||
struct metatarget *lt
|
struct metatarget *lt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue