Re: REST API queries with PAM

2017-02-25 Thread Bob Rudis
You have to hit the auth check endpoint first and save off the session cookies: curl -X POST \ -H "Content-Type: application/x-www-form-urlencoded" \ -k \ -c cookies.txt \ -s \ -d "j_username=USERNAME" \ -d "j_password=PASSWORD" \

REST API queries with PAM

2017-02-25 Thread Benedikt Koehler
Hi, I have managed to enable PAM authorization for Drill on my Ubuntu machine. The login via the web interface is working great. Configuration in drill-override.conf is just the minimal example from the documentation: security.user.auth { enabled: true, packages +=