FS#54653 - [curl] Enable LDAP support
Attached to Project:
Arch Linux
Opened by Anderson Medeiros Gomes (amg1127) - Friday, 30 June 2017, 17:51 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:23 GMT
Opened by Anderson Medeiros Gomes (amg1127) - Friday, 30 June 2017, 17:51 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:23 GMT
|
Details
Description:
I wish to use CURL to test LDAP URL's I wrote according to RFC 4516. A page named "curl as an LDAP Client" [1] says LDAP URL's are supported by CURL, however PKGBUILD [2] explicitly disables the support using compilation flags "--disable-ldap" and "--disable-ldaps" . [1] http://whataniceblogtitle.blogspot.com.br/2014/03/curl-as-ldap-client.html [2] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/curl Additional info: * package version(s) : curl 7.54.1-1 * config and/or log files etc : (not applicable) Steps to reproduce: $ LDAPHOST='some.ldaphost.local' # Specify a Microsoft AD DS Domain or a OpenLDAP server here $ LDAPBASE='DC=some,DC=ldaphost,DC=local' # Specify the LDAP base here $ curl "ldap://${LDAPHOST}/${LDAPBASE}?dn,objectclass?sub?(objectClass=user)" curl: (1) Protocol "ldap" not supported or disabled in libcurl |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:23 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/curl/issues/2
Saturday, 25 November 2023, 20:23 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/curl/issues/2
$ LDAPURI='ldap://contoso.corp/dc=contoso,dc=corp?userCertificate?sub?(sAMAccountName=alice)'
$ ldapsearch -x -D 'alice@contoso.corp' -W -H "${LDAPURI}"
Could not parse LDAP URI(s)=ldap://contoso.corp/dc=contoso,dc=corp?userCertificate?sub?(sAMAccountName=alice) (3)