|DSML||When the HTTP Accept header contains the text/dsml MIME type, the response is sent as DSMLv1.|
|JSON||When the HTTP Accept header contains the text/json MIME type, the response is sent as JSON. For this to work the JSON Perl module needs to be installed.|
|LDIF||When the HTTP Accept header contains the text/ldif MIME type, the response is sent in LDIFv1 format.|
|HTML||In case no HTTP Accept header has been sent or none of the above MIME types can be detected, and the x-format extension has not been provided either, the response is sent using HTML markup in a 2-column table format (roughly modeled on LDIF).|
For ldap and ldapi URIs, the module implements the x-tls extension that switches the LDAP connection to TLS using a call of the start_tls method.
Note: In the above example, ideally giving x-tls should be sufficient, but unfortunately the parser in URI::ldap has a little flaw.
Usually the connection is done anonymously, but if the HTTP Authorization header is provided with credentials for HTTP Basic authorization, the credentials given in that header will be used to do a simple bind to the LDAP server.
Copyright (c) 1998-2004 Graham Barr, 2012 Peter Marschall. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||LWP::PROTOCOL::LDAP (3)||2015-04-02|