ldapadd -W with -w password parameter causes assertion failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: slapd
Very easy to reproduce, don't even need an ldap server up and running:
dcampbel@
ldapadd: /build/
Aborted
As requested, here's the system info:
dcampbel@
Description: Ubuntu 10.10
Release: 10.10
dcampbel@
slapd:
Installed: 2.4.23-0ubuntu3.3
Candidate: 2.4.23-0ubuntu3.3
Version table:
*** 2.4.23-0ubuntu3.3 0
500 http://
100 /var/lib/
2.
500 http://
I can confirm that running the command above on a clean maverick install with slapd + ldaputils generates the error as described above. This is a change in behaviour from lucid where the command above returns:
ldap_bind: Invalid credentials (49)
You can work around this by not specifying the -W option (Prompt for simple authentication) - it appears that in the version of ldaputils in maverick [-W] and [-w passwd] conflict with each other.