Enable LDAP support
| Task Info (Flyspray) | |
|---|---|
| Opened By | Anderson Medeiros Gomes (amg1127) |
| Task ID | 54653 |
| Type | Feature Request |
| Project | Arch Linux |
| Category | Packages: Core |
| Version | None |
| OS | All |
| Opened | 2017-06-30 17:51:08 UTC |
| Status | Assigned |
| Assignee | Christian Hesse (eworm) |
| Assignee | Leonidas Spyropoulos (inglor) |
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