So everything regarding the auth should be ok?  I can use those KRB variables?  
I've seen other sites that say it should be /ipa/session/login_kerberos 
Should I go that route or login_password?  Just making sure. 

    On Monday, August 20, 2018 3:26 PM, Rob Crittenden via FreeIPA-users 
<freeipa-users@lists.fedorahosted.org> wrote:
 

 Andrew Meyer via FreeIPA-users wrote:
> Hello,
> I'm having some difficulty accessing the API.  Following the directions
> shown here:  
> 
> Far away to be identical
> <https://vda.li/en/docs/freeipa-management-in-a-nutshell/>
> 
>     
> 
> 
>    Far away to be identical
> 
> Identity management chaos or a development of a fun
>     
> 
> <https://vda.li/en/docs/freeipa-management-in-a-nutshell/>
> 
> 
> I am trying to use the following curl commands:
> curl -kv -H Referer:https://$IPASERVER1/ipa -c $COOKIEJAR -b $COOKIEJAR
> --negotiate -u : -X POST https://$IPASERVER1/ipa/ui
> <https://%24ipaserver1/ipa/ui>

You are using the wrong URI here (/ipa/ui, you never need that). You
have to get the session first (which you successfully do with your
second request) and then use that cookie to use the json API.

rob
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/freeipa-users@lists.fedorahosted.org/message/YUNA5LAS7V327YNI2I6D6VT2FEOHAXM7/


   
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/freeipa-users@lists.fedorahosted.org/message/JVX3Q5OGOJXBVIVELQEMEA3MXXISXFYB/

Reply via email to