<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Roman, <div>which version of Keystone are you using ?</div><div>The auth. scheme has changed recently. Here is a working set with the last version : </div><div><br></div><div><div>{"auth": </div><div>    {"tenantName": "service_usage", "passwordCredentials": </div><div>        <span class="Apple-tab-span" style="white-space:pre">    </span>{"username": "service_usage", "password": "P@ssword"}</div><div>    }</div><div>}</div><div><br></div><div>As you see the passwordCrendentials is embeded into an auth section</div><div>Regards,</div><div>Razique</div><div><br></div><div><div>Le 19 oct. 2011 à 10:10, Roman Sokolkov a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi!</div><div><br></div><div>I ve installed keystone</div><div><br></div><div>but when I try to</div><div><br></div><div><b>curl -d '{"passwordCredentials":{"username": "admin", "password": "P@ssword"}}' -H "Content-type: application/json" <a href="http://localhost:35357/v2.0/tokens">http://localhost:35357/v2.0/tokens</a></b></div>
<div><br></div><div>I ve received</div><div><br></div><div><b>{"badRequest": {"message": "Expecting auth", "code": "400"}}</b></div><div><br></div>-- <br>Regards, Roman Sokolkov<br>

_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>