My environment: OpenLDAP: HEAD CVS from 9-dec-99; Client: Linux 2.3.31; Server: Novell Netware 5.0, LDAP V3 with UPD enabled.
I am trying to use cldap and got the following problem: cldap_open() - OK; ldap_set_option() - OK; cldap_search_s() - sockbuf.c:830: ber_pvt_sb_set_io: Assertion `sb->sb_io == &sb_IO_None' failed.
Stack is: #0 0x400ca1a1 in kill () from /lib/libc.so.6 #1 0x400c9e0a in raise () from /lib/libc.so.6 #2 0x400cb3cf in abort () from /lib/libc.so.6 #3 0x400c452a in __assert_fail () from /lib/libc.so.6 #4 0x4004a851 in ber_pvt_sb_set_io () from /usr/local/lib/liblber.so.0 #5 0x4001f820 in open_ldap_connection () from /usr/local/lib/libldap.so.0 #6 0x40031e60 in ldap_new_connection () from /usr/local/lib/libldap.so.0 #7 0x4001f3e6 in ldap_open_defconn () from /usr/local/lib/libldap.so.0 #8 0x40031a34 in ldap_send_initial_request () from /usr/local/lib/libldap.so.0 #9 0x40021eed in ldap_search () from /usr/local/lib/libldap.so.0 #10 0x4002a637 in cldap_search_s () from /usr/local/lib/libldap.so.0 #11 0x804b2d9 in CLdapServer::Search (this=0x80c5608, filter=0x80a9d8a "cn=pam") at /home/akorud/C-ForgeWork/acct_new/common.a-dir/LdapServer.cpp:64 #12 0x804acf4 in main () at /home/akorud/C-ForgeWork/acct_new/ui-dir/main.cpp:26
Any suggestions?
Thanks in advance, Andriy Korud, Lviv, Ukraine