[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd saslauthz.c



lukeh@OpenLDAP.org wrote:

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd

Modified Files:
	saslauthz.c  1.97 -> 1.98

Log Message:
Ensure exact DNs are normalized in slap_parseURI.

CVS Web URLs:
 http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/
   http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/saslauthz.c

Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.


Luke,

the missing normalization was intentional, because, for backwards
compatibility problems, this could be a regular expression, which
in most cases fails normalization.  I agree in deciding that
   "dn:<smtg>"
requires "<smtg>" to be an exact dn, and require the use of
   "dn.regex:<regexp>"
for regular expressions, but in the meanwhile I suggest we defer
dn normalization to the caller of slap_parseURI(), which knows
if an exact dn or a regex was expected.

Ando.
+----------------------------------------------------------------------------+
|   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax:+390382476497    |
+----------------------------------------------------------------------------+