Issue #271 has been updated by Clément Oudot.

Target version set to openldap-initscript-1.2


----------------------------------------
Bug #271: slapd init script fails to read suffixes from cn=config causing 
backup and status commands to fail
http://tools.lsc-project.org/issues/271

Author: Jonathan Clarke
Status: Feedback
Priority: High
Assigned to: Jonathan Clarke
Category: OpenLDAP init script
Target version: openldap-initscript-1.2


The backconfig_get_values() function does not correctly quote the LDAP filter 
used to filter entries to output (-a option to slapcat).

This is used to read the list of suffixes in a cn=config setup, and is called 
by the backup and status commands, which fail with the following output:
<pre>
# /etc/init.d/slapd status
slapd[13722]: [INFO] Using /etc/default/slapd for configuration
slapd[13733]: [INFO] Process slapd is not running
-bash: -c: line 0: syntax error near unexpected token `('
-bash: -c: line 0: `/opt/openldap/sbin/slapcat -F 
/opt/openldap/etc/openldap/slapd.d -b cn=config -a 
(|(objectclass=olcBdbConfig)(objectclass=olcHdbConfig))'
</pre>

I'm about to commit a patch.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to