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

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 eddy@cdf-imaging.com

> Full_Name: Edward Flick
> Version: 2.1.17
> OS: linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (65.70.122.193)
>
>
> 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
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support