ldaps throws error
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3611
Reported by Thomas Bopp, Uni-GH Paderborn astra@upb.de
I get a backtrace from sslfile when trying to establish ldaps connection:
object l = Protocols.LDAP.client("ldaps://shovel.uni-paderborn.de/");
Unknown program: 0(0)
/usr/local/pike/7.5.17/lib/modules/SSL.pmod/sslfile.pike:335:
SSL.sslfile(0)->create(Fd(9),SSL.context(),1,1)
/usr/local/pike/7.5.17/lib/modules/Protocols.pmod/LDAP.pmod/client.pike:412:
Protocols.LDAP.client("socket", "shovel.uni-paderborn.de:636", 777 /* fd=
9 */)->create("ldaps://shovel.uni-paderborn.de/",SSL.context())
Attempt to call the NULL-value
Unknown program: 0(0)
/usr/local/pike/7.5.17/lib/modules/SSL.pmod/sslfile.pike:1039:
SSL.sslfile(0)->update_internal_state(0)
/usr/local/pike/7.5.17/lib/modules/SSL.pmod/sslfile.pike:782:
SSL.sslfile(0)->set_blocking()
/usr/local/pike/7.5.17/lib/modules/SSL.pmod/sslfile.pike:506:
SSL.sslfile(0)->destroy()
It seems like the stream has no set_close_callback() and no set_id() function ?