adminTenant is the default tenant name, so it is also a variable. On Feb 27, 2012, at 7:55 AM, Alexey Eromenko <al4...@gmail.com> wrote:
> On Mon, Feb 27, 2012 at 2:50 PM, Andiabes <andi.a...@gmail.com> wrote: >> Of by testing authentication, you mean verifying that correct user/ password >> combinations are allowed, and incorrect ones are not, then look here: >> http://docs.openstack.org/diablo/openstack-compute/install/content/verifying-identity-install.html >> >> Only valid creds will return a token. > > I see this: > curl -d '{"auth": {"tenantName": "adminTenant", > "passwordCredentials":{"username": "adminUser", "password": > "secretword"}}}' -H "Content-type: application/json" > http://192.168.206.130:35357/v2.0/tokens | python -mjson.tool > > What are constants and what are variables ? > Maybe it should becomes this: > curl -d '{"auth": {"tenantName": "adminTenant", > "passwordCredentials":{"username": "<adminUser>", "password": > "<admin_password>"}}}' -H "Content-type: application/json" > http://192.168.206.130:35357/v2.0/tokens | python -mjson.tool > > I added: > <adminUser> and <admin_password>. > > Correct ? > > ======================================================== > About my previous Q: Does legacy auth scheme supported in Essex ? Or > keystone only ? > > -- > -Alexey Eromenko "Technologov" > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp