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

error with openldap upgrade



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