aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-05-24 21:17:00 +0100
committerSteve Holme <steve_holme@hotmail.com>2012-05-24 21:17:00 +0100
commit4f3ec68dc77ffbdaef0283f12243c6ebf7127264 (patch)
tree930498aa6568a28edf6cf16b2a124484a772c49c /docs/libcurl
parentd220834f802fe2ec1a26f1b9647aa539399a8ba5 (diff)
DOCS: Added LDAP to the CURLOPT_URL section
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/curl_easy_setopt.320
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index bfe583472..5aa0f5687 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -745,6 +745,26 @@ user's home directory
sftp://ssh.example.com/~/Documents/ - This requests a directory listing
of the Documents directory under the user's home directory
+.B LDAP
+
+The path part of a LDAP request can be used to specify the: Distinguished
+Name, Attributes, Scope, Filter and Extension for an LDAP search. Each field
+is separated by a question mark and when that field is not required an empty
+string with the question mark separator should be included.
+
+ldap://ldap.example.com/o=My%20Organisation - This will perform a LDAP search
+with the DN as My Organisation.
+
+ldap://ldap.example.com/o=My%20Organisation?postalAddress - This will perform
+the same search but will only return postalAddress attributes.
+
+ldap://ldap.example.com/?rootDomainNamingContext - This specifies an empty DN
+and requests information about the rootDomainNamingContext attribute for an
+Active Directory server.
+
+For more information about the individual components of an LDAP URL please
+see RFC-4516.
+
.B NOTES
Starting with version 7.20.0, the fragment part of the URI will not be sent as