]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema_check.c
#ifdef -DSLAP_NVALUES
[openldap] / servers / slapd / schema_check.c
index 8a532897463af1426411e51e9bc325cdfdf16c52..0cc09ddb0415aeaaee247e3bcd75e1a4600f79a6 100644 (file)
@@ -856,14 +856,10 @@ entry_naming_check(
                        rc = LDAP_NAMING_VIOLATION;
                }
 
-#ifdef SLAP_NVALUES
                if ( value_find_ex( desc,
                        SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH,
                        attr->a_nvals,
                        &ava->la_value ) != 0 )
-#else
-               if ( value_find( desc, attr->a_vals, &ava->la_value ) != 0 )
-#endif
                {
                        snprintf( textbuf, textlen, 
                                "value of naming attribute '%s' is not present in entry",