X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fschema_init.c;h=789c7f001aba99ad81d6520cd3b4bd0143a07cd2;hb=86bd3651e1bc6129cf2bd4ba271f33207843aaff;hp=b7cd3ba26387189e5dec75a69ab2475e363af08e;hpb=5697278574ca7664591b8ae71b58e112b7733089;p=openldap diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index b7cd3ba263..789c7f001a 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -1066,7 +1066,7 @@ uniqueMemberMatch( struct berval *asserted = (struct berval *) assertedValue; struct berval assertedDN = *asserted; struct berval assertedUID = BER_BVNULL; - struct berval valueDN = BER_BVNULL; + struct berval valueDN = *value; struct berval valueUID = BER_BVNULL; int approx = ((flags & SLAP_MR_EQUALITY_APPROX) == SLAP_MR_EQUALITY_APPROX); @@ -1086,7 +1086,6 @@ uniqueMemberMatch( } } - valueDN = *value; if ( !BER_BVISEMPTY( value ) ) { valueUID.bv_val = strrchr( valueDN.bv_val, '#' );