[Date Prev][Date Next]
Re: (ITS#8329) id_query config in the back_sql module
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8329) id_query config in the back_sql module
- From: email@example.com
- Date: Thu, 03 Dec 2015 18:59:46 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Paul Terry
> Version: 2.4.43
> OS: Red Hat Enterprise Server 6.7
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (188.8.131.52)
> If the following line is in slapd.conf for the back_sql.la module:
> id_query "SELECT id, keyval, oc_map_id, dn FROM ldap_entries WHERE pusername =
> Then slapd will not start and logs the following error:
> Nov 30 12:00:59 testbrazilldap01 slapd: /etc/openldap/slapd.conf: line
> 36: unknown directive <id_query> inside backend database definition.
> This worked correctly in version 2.4.23.
> After looking through the code, the 'id_query' configuration appears to be
> missing from servers/slapd/back-sql/config.c, while it was present in that file
> for version 2.4.23.
> I've sent a patch for config.c named paul-terry-151203.patch
Thanks for the patch. It's incomplete though, the olcSqlIdQuery attribute also
needs to be added to the config objectclass.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/