[Bug 680358] [NEW] ldapadd -w password parameter causes assertion failure

dcam david at pastornet.net.au
Tue Nov 23 03:53:03 GMT 2010

Public bug reported:

Binary package hint: slapd

Very easy to reproduce, don't even need an ldap server up and running:

dcampbel at vostro-local:~$ /usr/bin/ldapadd -x -W -D 'cn=whatever' -w 'whatever'
ldapadd: /build/buildd/openldap-2.4.23/clients/tools/common.c:1363: tool_bind: Assertion `passwd.bv_val == ((void *)0) && passwd.bv_len == 0' failed.

As requested, here's the system info:

dcampbel at vostro-local:~$ lsb_release -rd
Description:	Ubuntu 10.10
Release:	10.10
dcampbel at vostro-local:~$ apt-cache policy slapd
  Installed: 2.4.23-0ubuntu3.3
  Candidate: 2.4.23-0ubuntu3.3
  Version table:
 *** 2.4.23-0ubuntu3.3 0
        500 http://mirror.aarnet.edu.au/pub/ubuntu/archive/ maverick-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.4.23-0ubuntu3 0
        500 http://mirror.aarnet.edu.au/pub/ubuntu/archive/ maverick/main i386 Packages

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

ldapadd -w password parameter causes assertion failure
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.

More information about the Ubuntu-server-bugs mailing list