[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: commit: ldap/servers/slapd saslauthz.c
- To: lukeh@OpenLDAP.org
- Subject: Re: commit: ldap/servers/slapd saslauthz.c
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Sat, 06 Dec 2003 09:15:09 +0100
- Cc: OpenLDAP Commit <openldap-commit2devel@OpenLDAP.org>
- References: <200312060116.hB61GdfC011056@cantor.openldap.org>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
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 |
+----------------------------------------------------------------------------+