Create user with tenantid failed when using ldap driver
Bug #1294532 reported by
nethawk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Won't Fix
|
Medium
|
Unassigned |
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/
In BaseLdap.
it must be changed to this one:
if k == 'id' or k in self.attribute_
continue
then the above user-create command can success.
Changed in keystone: | |
status: | New → In Progress |
Changed in keystone: | |
importance: | Undecided → Medium |
tags: | added: ldap |
To post a comment you must log in.
By the way,the version of keystone I used is havana