In the Net::LDAPS manpage BUGS section there's this ...
"You cannot have more than one LDAPS connection at any one time,
due to restrictions in the underlying Net::SSLeay code."
I've come across a case where I'd really like to query two
separate servers, both with secure connections. (I can't
easily query them in batches.)
Does this limitation apply to using Net::LDAP's start_tls?
Does someone know what "at any one time" means. Perhaps one of
these?
- Don't even instantiate two separate objects at the same time
- Don't try to bind to two separate servers at the same time
- Don't try two concurrent queries (e.g. not thread safe)
I'm mainly trying to figure out a known safe way of coding this.
If possible, I'd like to avoid forking a child to perform queries
and having to ship data between processes.
Thanks,
Bart Parliman