Browse Source

[175063] entry with escaped characters fails to import and index
It used to be taken to the "convert to quoted value" section even though the rdn did not have a quote.

Noriko Hosoi 20 years ago
parent
commit
d070ed45f6
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ldap/servers/slapd/dn.c

+ 1 - 2
ldap/servers/slapd/dn.c

@@ -188,8 +188,7 @@ substr_dn_normalize( char *dn, char *end )
 		case INVALUE:
 			if ( gotesc ) {
 			    if ( SEPARATOR( *s ) ) {
-				if ( value_separator ) value_separator = dn;
-				else value_separator = d;
+				value_separator = d;
 			    } else if ( ! NEEDSESCAPE( *s ) ) {
 				--d; /* eliminate the \ */
 			    }