[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6849) ldapsearch assertion failed



> Full_Name: plop
> Version:
> OS: ubuntu last release
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (83.206.236.129)
>
>
> This is what I got on a CLI:
>
> ldapsearch -x -H ldap://10.1.9.100 -D "cn=admin,o=calculus" -LLL -W -b
> "ou=Users,ou=toto,ou=Customers,o=calculus" -w passadmin
> ldapsearch: /build/buildd/openldap-2.4.23/clients/tools/common.c:1363:
> tool_bind: Assertion `passwd.bv_val == ((void *)0) && passwd.bv_len == 0'
> failed.
> Abandon
>
>
>
> $ ldapsearch -V
> ldapsearch: @(#) $OpenLDAP: ldapsearch 2.4.23 (Nov 19 2010 17:41:00) $
> 	buildd@allspice:/build/buildd/openldap-2.4.23/debian/build/clients/tools
> 	(LDAP library: OpenLDAP 20423)
> ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)

Fixed in HEAD.  Tools will refuse to start if incompatible password
options are passed.  I chose this solution since handling of credentials
is security-related, and one would not want credentials to be handled
incorrectly by a misused client.  Please test.

p.