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

Re: (ITS#8218) segfault on sasl auth with malformed URI in config



best@univention.de wrote:
> Full_Name:
> Version: 2.4.40-1
> OS: debian / UCS 4.1 amd64
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (82.198.197.8)
>
>
> A malformed URI in the sasl-regexp directive of slapd.conf caused a segfault of
> slapd.
>
> """
> sasl-regexp
>      uid=(.*),cn=saml,cn=auth
>      ldap:///0.0.0.0:7389,389/"dc=dev,dc=local"??sub?uid=$1
> """
> The URI starts with 3 slashes after the scheme instead of 2 slashes.
>
> When doing authentication via SASL /usr/sbin/slapd segfaults.

Thanks for the report, fixed in git master.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/