[Date Prev][Date Next]
RE: Escaped characters not properly supported in sasl-regexp (ITS#2534)
> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of email@example.com
> Full_Name: Edward Flick
> Version: 2.1.17
> OS: linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (126.96.36.199)
> When you define sasl-regexp with escaped characters in the
> match pattern, slapd
> incorrectly assumes an escaped C style sequence instead of a
> regular expression
> interpretation of the '\' .
> Quick fix: use '\\' before any needed escaped character in the regex
> Not high priority, but it was very irritating until I figured
> out what was going
> on. Hope this saves some people some time.
This is not an OpenLDAP bug, the slapd.conf(5) manpage documents that all
backslashes must be escaped. This report will be closed.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support