Subject: | tests are failing with latest openldap |
For new openldap-2.4.23 are certificates mandatory. Without them server
doesn't respond correctly. IO::Socket::SSL (v1.39) already have options
to use it, but they need to be incorporated in perl-ldap. I'm not sure
whether there is problem only in test suite or also in code. The last
release of openldap brought a lot of changes, so there could be more.
perl t/55ssl.t
1..15
ok 1 # client
ok 2 # bind: 0: Success
ok 3 # data/50-in.ldif
not ok 4 # start_stl: 1: SSL connect attempt failed because of handshake
problemserror:00000000:lib(0):func(0):reason(0)
ok 5 # start_stl: 1: Unexpected EOF
not ok 6 # search: 81: Can't contact LDAP server
not ok 7 # Can't contact LDAP server
ldaps://localhost:9010/ IO::Socket::SSL: SSL connect attempt failed
because of handshake problemserror:00000000:lib(0):func(0):reason(0) at
t/common.pl line 132.
perl t/57url.t
1..22
ok 1 # client
ok 2 # bind: 0: Success
ok 3 # data/50-in.ldif
ok 4 # search: 0: Success
ok 5 # Success
ok 6 # Read 50-out.ldif
ok 7 # data/50-cmp.ldif
Trying ldap://localhost:9009/
ok 8 # ldap://localhost:9009/ client
ok 9 # search: 0: Success
ok 10 # Success
ok 11 # Read 50-out.ldif
ok 12 # data/50-cmp.ldif
Trying ldaps://localhost:9010/
ldaps://localhost:9010/ IO::Socket::SSL: SSL connect attempt failed
because of handshake problemserror:00000000:lib(0):func(0):reason(0) at
t/common.pl line 146.