[Bug 1048787] Re: slapd gives assertions for valid configuration

Bryce Harrington 1048787 at bugs.launchpad.net
Thu Sep 13 21:18:32 UTC 2012


** Description changed:

- The slapd version in Ubuntu precise (2.4.28-1.1ubuntu4.1) suffers from
- the same issue that was reported in debian BTS for the debian version
- 2.4.28-1.1.
+ [Impact]
+ 
+ [Fix]
+ 
+ [Test Case]
+ 
+ [Regression Potential]
+ 
+ [Original Report]
+ The slapd version in Ubuntu precise (2.4.28-1.1ubuntu4.1) suffers from the same issue that was reported in debian BTS for the debian version 2.4.28-1.1.
  
  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.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1048787

Title:
  slapd gives assertions for valid configuration

Status in “openldap” package in Ubuntu:
  Triaged
Status in “openldap” source package in Precise:
  Triaged
Status in “openldap” package in Debian:
  Unknown

Bug description:
  [Impact]

  [Fix]

  [Test Case]

  [Regression Potential]

  [Original Report]
  The slapd version in Ubuntu precise (2.4.28-1.1ubuntu4.1) suffers from the same issue that was reported in debian BTS for the debian version 2.4.28-1.1.

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1048787/+subscriptions



More information about the Ubuntu-sponsors mailing list