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

back-sql not alpha attr. mapping (ITS#2103)



Full_Name: Aldo Armiento
Version: 2.1.5
OS: Linux RedHat 7.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.255.18.40)


If in ldap_attr_mappings uses in name column a non alpha char (like "-" in
"display-name"), slapd crashs:

load_schema_map(): autoadding 'objectClass' and 'ref' mappings
********'cn'
name='cn',sel_expr='CONCAT(persons.Nome,' ',persons.Cognome)'
from='persons'join_where='',add_proc=''delete_proc=''
sel_expr_u=''
load_schema_map(): preconstructed query 'SELECT CONCAT(persons.Nome,'
',persons.Cognome) AS cn FROM persons WHERE persons.id=?'
********'displayname'
name='displayname',sel_expr='CONCAT(persons.Cognome,' ',persons.Nome)'
from='persons'join_where='',add_proc=''delete_proc=''
sel_expr_u=''
load_schema_map(): preconstructed query 'SELECT CONCAT(persons.Cognome,'
',persons.Nome) AS displayName FROM persons WHERE persons.id=?'
********'display-name'
name='display-name',sel_expr='CONCAT(persons.Cognome,' ',persons.Nome)'
from='persons'join_where='',add_proc=''delete_proc=''
sel_expr_u=''
Segmentation fault (core dumped)