From: Pierangelo Masarati Date: Thu, 22 Jul 2004 23:03:04 +0000 (+0000) Subject: fix previous fix X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=07f010a01f581eefe4d147091ac5b66504af7581;p=openldap fix previous fix --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index da09209d90..5d83ca441e 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -400,11 +400,9 @@ ldap_build_entry( dc.ctx = "searchAttrDN"; #endif while ( ber_scanf( &ber, "{m", &a ) != LBER_ERROR ) { - int i; - slap_syntax_validate_func *validate = - attr->a_desc->ad_type->sat_syntax->ssyn_validate; - slap_syntax_transform_func *pretty = - attr->a_desc->ad_type->sat_syntax->ssyn_pretty; + int i; + slap_syntax_validate_func *validate; + slap_syntax_transform_func *pretty; ldap_back_map( &li->rwmap.rwm_at, &a, &mapped, BACKLDAP_REMAP ); if ( BER_BVISNULL( &mapped ) || BER_BVISEMPTY( &mapped ) )