[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
error with openldap upgrade
- To: "OpenLDAP Software List" <OpenLDAP-software@OpenLDAP.org>
- Subject: error with openldap upgrade
- From: "Jeremiah Martell" <inlovewithgod@gmail.com>
- Date: Thu, 11 May 2006 16:10:21 -0400
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Jzb1MCMweh5EjP2oiYLQ9r0K161Er6BTszz34bPfT/hyKKc6QgCJOwHI+tkllEagIp+6Alaul/yS3au/gEABtE62WfJTg1DoZgGBlre3N0wzvxqOzHJp97XIBhfK2CyiIp7RxVmPdK7zjF9h3ToNdbzNoZN4UTrsRPTEQXUtLbA=
I have some simple code that uses libldap and tries to bind to a
directory. With 2.2.17 it worked fine, but trying to use 2.3.20 it
fails with this:
url.c : 658 : desc2str : Assertion 'len >= 0' failed.
Here's my code snippet:
url.lud_host = "directory.example.com";
url.lud_port = 389;
url.lud_scope = LDAP_SCOPE_SUBTREE;
url.lud_scheme = "ldap";
url.lud_dn = "";
ldapuri = ldap_url_desc2str( &url );
Any ideas?
--
- Jeremiah
inlovewithGod@gmail.com