in reply to Bad file descriptor error with Net::LDAPS.

I haven't used Net::LDAPS previously, so I looked at its doco. It has two examples with capath; cafile doesn't appear anywhere. Try s/cafile/capath/.

— Ken

Replies are listed 'Best First'.
Re^2: Bad file descriptor error with Net::LDAPS.
by Anonymous Monk on Aug 03, 2021 at 07:05 UTC
    Thank you for the reply

    Net::LDAPS seems inherit methods from Net::LDAP module which has cafile method.

    Thank you