goto parsing_error;
}
p++;
-
+
+ /*
+ * actually we do not want to accept by default the DCE form,
+ * we do not want to auto-detect it
+ */
+#if 0
} else if ( LDAP_DN_LDAP( flags ) ) {
/*
* if dn starts with '/' let's make it a DCE dn
flags |= LDAP_DN_FORMAT_DCE;
p++;
}
+#endif
}
for ( ; p[ 0 ]; p++ ) {
continue;
}
+ /*
+ * The length was checked in strval2strlen();
+ */
+ assert( LDAP_UTF8_CHARLEN2( &val->bv_val[ s ], cl ) > 0 );
cl = LDAP_UTF8_CHARLEN( &val->bv_val[ s ] );
/*