[Pkg-openldap-devel] Bug#662940: Bug#662940: Bug#662940: slapd gives assertions for valid configuration

Quanah Gibson-Mount quanah at zimbra.com
Fri Mar 9 19:16:20 UTC 2012


--On Wednesday, March 07, 2012 9:11 AM -0800 Quanah Gibson-Mount 
<quanah at zimbra.com> wrote:

> --On Wednesday, March 07, 2012 1:28 PM +0100 Mattias Ellert
> <mattias.ellert at fysast.uu.se> wrote:
>
>> Package: slapd
>> Version: 2.4.28-1.1
>> Severity: normal
>>
>> When configuring the shell backend in slapd.conf the syntax is (see man
>> slapd-shell):
>>
>> add <pathname> <argument>...
>> bind <pathname> <argument>...
>> compare <pathname> <argument>...
>>
>> and so on.
>>
>> That is the path to the script followed by its arguments. This has
>> worked fine in the past. However, the current version 2.4.28-1.1 of the
>> slapd server refuses to start if any arguments are given after the path
>> name in the configuration file, with the following assertion:
>>
>> slapd: ../../../../servers/slapd/config.c:198: config_check_vals:
>> Assertion `c->argc == 2' failed.
>>
>> For the configuration of the shell backend the assertion condition means
>> that it is not possible to pass arguments to the script in the
>> slapd.conf. The man pages documents that this should still be possible,
>> and it has been working with earlier versions.
>>
>> 	Mattias
>>
>
>
> I've filed <http://www.openldap.org/its/index.cgi/?findid=7201> for this.

Fixed upstream with git commit 6143aa0c18c8e0f73f4855b884b30405adabfc99

Please test.

--Quanah


--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration





More information about the Pkg-openldap-devel mailing list