Loading docs/FEATURES +1 −1 Original line number Original line Diff line number Diff line Loading @@ -185,7 +185,7 @@ FOOTNOTES *1 = requires OpenSSL, GnuTLS, NSS, yassl, axTLS, PolarSSL, WinSSL (native *1 = requires OpenSSL, GnuTLS, NSS, yassl, axTLS, PolarSSL, WinSSL (native Windows), Secure Transport (native iOS/OS X) or GSKit (native IBM i) Windows), Secure Transport (native iOS/OS X) or GSKit (native IBM i) *2 = requires OpenLDAP *2 = requires OpenLDAP or WinLDAP *3 = requires a GSS-API implementation (such as Heimdal or MIT Kerberos) or *3 = requires a GSS-API implementation (such as Heimdal or MIT Kerberos) or SSPI (native Windows) SSPI (native Windows) *4 = requires a GSS-API implementation, however, only Windows SSPI is *4 = requires a GSS-API implementation, however, only Windows SSPI is Loading docs/MANUAL +18 −0 Original line number Original line Diff line number Diff line Loading @@ -815,6 +815,10 @@ LDAP If you have installed the OpenLDAP library, curl can take advantage of it If you have installed the OpenLDAP library, curl can take advantage of it and offer ldap:// support. and offer ldap:// support. On Windows, curl will use WinLDAP from Platform SDK by default. Default protocol version used by curl is LDAPv3. LDAPv2 will be used as fallback mechanism in case if LDAPv3 will fail to connect. LDAP is a complex thing and writing an LDAP query is not an easy task. I do LDAP is a complex thing and writing an LDAP query is not an easy task. I do advise you to dig up the syntax description for that elsewhere. One such advise you to dig up the syntax description for that elsewhere. One such Loading @@ -830,6 +834,20 @@ LDAP If I want the same info in HTML format, I can get it by not using the -B If I want the same info in HTML format, I can get it by not using the -B (enforce ASCII) flag. (enforce ASCII) flag. You also can use authentication when accessing LDAP catalog: curl -u user:passwd "ldap://ldap.frontec.se/o=frontec??sub?mail=*" curl "ldap://user:passwd@ldap.frontec.se/o=frontec??sub?mail=*" By default, if user and password provided, OpenLDAP/WinLDAP will use basic authentication. On Windows you can control this behavior by providing one of --basic, --ntlm or --digest option in curl command line curl --ntlm "ldap://user:passwd@ldap.frontec.se/o=frontec??sub?mail=*" On Windows, if no user/password specified, auto-negotiation mechanism will be used with current logon credentials (SSPI/SPNEGO). ENVIRONMENT VARIABLES ENVIRONMENT VARIABLES Curl reads and understands the following environment variables: Curl reads and understands the following environment variables: Loading Loading
docs/FEATURES +1 −1 Original line number Original line Diff line number Diff line Loading @@ -185,7 +185,7 @@ FOOTNOTES *1 = requires OpenSSL, GnuTLS, NSS, yassl, axTLS, PolarSSL, WinSSL (native *1 = requires OpenSSL, GnuTLS, NSS, yassl, axTLS, PolarSSL, WinSSL (native Windows), Secure Transport (native iOS/OS X) or GSKit (native IBM i) Windows), Secure Transport (native iOS/OS X) or GSKit (native IBM i) *2 = requires OpenLDAP *2 = requires OpenLDAP or WinLDAP *3 = requires a GSS-API implementation (such as Heimdal or MIT Kerberos) or *3 = requires a GSS-API implementation (such as Heimdal or MIT Kerberos) or SSPI (native Windows) SSPI (native Windows) *4 = requires a GSS-API implementation, however, only Windows SSPI is *4 = requires a GSS-API implementation, however, only Windows SSPI is Loading
docs/MANUAL +18 −0 Original line number Original line Diff line number Diff line Loading @@ -815,6 +815,10 @@ LDAP If you have installed the OpenLDAP library, curl can take advantage of it If you have installed the OpenLDAP library, curl can take advantage of it and offer ldap:// support. and offer ldap:// support. On Windows, curl will use WinLDAP from Platform SDK by default. Default protocol version used by curl is LDAPv3. LDAPv2 will be used as fallback mechanism in case if LDAPv3 will fail to connect. LDAP is a complex thing and writing an LDAP query is not an easy task. I do LDAP is a complex thing and writing an LDAP query is not an easy task. I do advise you to dig up the syntax description for that elsewhere. One such advise you to dig up the syntax description for that elsewhere. One such Loading @@ -830,6 +834,20 @@ LDAP If I want the same info in HTML format, I can get it by not using the -B If I want the same info in HTML format, I can get it by not using the -B (enforce ASCII) flag. (enforce ASCII) flag. You also can use authentication when accessing LDAP catalog: curl -u user:passwd "ldap://ldap.frontec.se/o=frontec??sub?mail=*" curl "ldap://user:passwd@ldap.frontec.se/o=frontec??sub?mail=*" By default, if user and password provided, OpenLDAP/WinLDAP will use basic authentication. On Windows you can control this behavior by providing one of --basic, --ntlm or --digest option in curl command line curl --ntlm "ldap://user:passwd@ldap.frontec.se/o=frontec??sub?mail=*" On Windows, if no user/password specified, auto-negotiation mechanism will be used with current logon credentials (SSPI/SPNEGO). ENVIRONMENT VARIABLES ENVIRONMENT VARIABLES Curl reads and understands the following environment variables: Curl reads and understands the following environment variables: Loading