yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41974
[Bug 1294532] Re: Create user with tenantid failed when using ldap driver
we will be deprecating support for user and group create/delete/update
in mitaka, marking this as won't fix as it is not a security issue and
does not align with project plans
** Changed in: keystone
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1294532
Title:
Create user with tenantid failed when using ldap driver
Status in OpenStack Identity (keystone):
Won't Fix
Bug description:
When using ldap as identity driver instead of sql, creating user with tenantid failed.
For example,when using this command:keystone user-create --name demo --pass demo --tenant-id XXXXXXXXXXXXXXXXXX, it returns this error: ERROR {'info': 'tenantId: attribute type undefined', 'desc': 'Undefined attribute type'}.
To resolve this bug, we must modify the core.py in the path
keystone/common/ldap.
In BaseLdap.create(),there si a statement like this : if k == 'id' or k in self.attribute_ignore: continue
it must be changed to this one:
if k == 'id' or k in self.attribute_ignore or k == 'tenantId':
continue
then the above user-create command can success.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1294532/+subscriptions
References