LWP/Protocol/ldaps.pm question

suan <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Organization http://groups.google.com
Message-ID <bf1a7019-a7f4-4f81-853d-b5d260af9a64@j25g2000yqa.googlegroups.com>
Hi,

I have a question about using ldaps.pm directly using a URL. For
example, when I do on the command line:
GET -U -s ldaps://myldapssite.com

I get:
500 LWP::Protocol::ldap::request called for 'ldaps'

in the output. Looking at the code, this will _always_ happen because
of these lines in ldap.pm:
 my $url = $request->url;
  if ($url->scheme ne 'ldap') {
    my $scheme = $url->scheme;
    return new HTTP::Response &HTTP::Status::RC_INTERNAL_SERVER_ERROR,
            "LWP::Protocol::ldap::request called for '$scheme'";
  }

How did you intend to have ldaps.pm used, and how would I get this
functionality to work? Thanks in advance for your help!


- Suan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.