Curl a ldap authenticated website - Printable Version +- Curl Global Community (https://communities.curl.com) +-- Forum: Discussions (https://communities.curl.com/forumdisplay.php?fid=1) +--- Forum: General Curl questions (https://communities.curl.com/forumdisplay.php?fid=2) +--- Thread: Curl a ldap authenticated website (/showthread.php?tid=857) |
Curl a ldap authenticated website - ddeguzman - 03-02-2013 Hello: I want to use curl to get information from an ldap authenticated website. We run RT (request tracker) and I am trying to extract ticket information using rt's REST protocol: http://rt.servername.com/REST/1.0/ If I open up RT as normal (with ldap authentication), I can open another browser window and run the REST command successfully. But these all fail ("RT/3.8.8 401 Credentials required") when running from a command line curl -u user:pass http://rt.servername.com/REST/1.0/ curl http://user:pass@rt.servername.com/REST/1.0 How do I get curl to ldap authenticate before making the web call? (The basic authentication doesn't work). Help! - Dan |