The problem is that I am using LDAP,
and ldaps://, but it doesn't work.
With the help op openldap guys, I've
tracked down the issue to be gnutls problem.
The full description (with (hopefully
all of the) debugging info) is here:
IBM SWG Lab, Krakow, Poland
IBM Polska Sp. z o.o. oddział w Krakowie
ul. Armii Krajowej 18 30 -150 Kraków
NIP: 526-030-07-24, KRS 0000012941
Kapitał zakładowy: 33.000.000 PLN