From bce526a8cfad2ed777e1fc8374e43788cb1398af Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 1 Dec 2010 10:41:05 +0000 Subject: [PATCH] test slap_dontUseCopy_propnames (ITS#6729) --- servers/slapd/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ ) { -- 2.39.5