From 07f010a01f581eefe4d147091ac5b66504af7581 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 22 Jul 2004 23:03:04 +0000 Subject: [PATCH] fix previous fix --- servers/slapd/back-ldap/search.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 ) ) -- 2.39.5