<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 03/17/2010 01:13 PM, Andrey Ivanov wrote:
<blockquote
 cite="mid:1601b8651003171313o268deedeh39a0710bd0c5aeea@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">
    <div class="im">
    <blockquote type="cite">In order to support "Old DN format
including DN in the double quotes"
another cn=config switch may be necessary. It seems there was recently
a new switch introduced to make the dn syntax validation a little more
"relaxed" - nsslapd-dn-validate-strict. Maybe this one could be used to
allow for DNs with double-quoted values?<br>
    </blockquote>
    </div>
Actually, the way how we are going to handle the old style 'dn:
&lt;type&gt;="&lt;nested dn&gt;",&lt;the rest&gt;' is converting the
old style to a new style in the normalization when the server receives
DNs from clients and the converted new style DN is used in the rest of
the process.&nbsp; The nsslapd-dn-validate-strict value is examined in the
DN syntax validation code for now.&nbsp; Unless we change it, the DN syntax
validation code always receives the new DN style.<br>
    <br>
    </div>
  </blockquote>
  <div>Ok. What i wanted to say is that we should avoid any new config
parameters in cn=config. The way you propose to handle the problem is
the best one - it is completely transparent to the user, the server
back-end "sees" only the normalised DNs so it does not complain and no
additional configuration <br>
parameters are necessary.<br>
  <br>
  </div>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">That being said, are you
suggesting if nsslapd-dn-validate-strict is
on, we should not convert an old style DN to a new style?&nbsp; That'd be
really strict.&nbsp; I'm leaning toward to the other side accepting the both
old and new style with no restriction.&nbsp; Do you see any disadvantages in
allowing the old style?</div>
  </blockquote>
  <div>No, absolutely not, i agree completely with your reasoning. The
code should be strict but not completely rigid :) Taking care of the
"legacy" presentation in a transparent manner is the ideal solution.<br>
  <br>
  </div>
  </div>
  <br>
</blockquote>
Thanks so much for the confirmation, Andrey.&nbsp; I'm working on the issue
based on the design...<br>
--noriko<br>
</body>
</html>