From: Pierangelo Masarati Date: Wed, 1 Dec 2010 10:41:05 +0000 (+0000) Subject: test slap_dontUseCopy_propnames (ITS#6729) X-Git-Tag: MIGRATION_CVS2GIT~393 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bce526a8cfad2ed777e1fc8374e43788cb1398af;p=openldap test slap_dontUseCopy_propnames (ITS#6729) --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index ca6e7c9ce8..ed85527989 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -548,7 +548,7 @@ slap_auxprop_store( op.o_req_ndn.bv_val = (char *)pr[i].values[0]; } #ifdef SLAP_AUXPROP_DONTUSECOPY - { + if ( slap_dontUseCopy_propnames != NULL ) { struct berval bv; ber_str2bv( &pr[i].name[1], 0, 1, &bv ); for ( j = 0; !BER_BVISNULL( &slap_dontUseCopy_propnames[ j ] ); j++ ) {