slapd gives assertions for valid configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Debian) |
Fix Released
|
Unknown
|
|||
openldap (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned | ||
Quantal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
[Fix]
[Test Case]
[Regression Potential]
[Original Report]
The slapd version in Ubuntu precise (2.4.28-
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: ../../.
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.
Related branches
Changed in openldap (Ubuntu): | |
importance: | Undecided → Medium |
Changed in openldap (Ubuntu): | |
status: | New → Triaged |
Changed in openldap (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
Changed in openldap (Debian): | |
status: | Unknown → Fix Released |
tags: |
added: verification-done removed: verification-needed |
The patch from the debian NMU (2.4.28-1.2) fixes this issue also for Ubuntu precise.