The ldap driver needs to bubble up some ldap exceptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
LDAP driver can bubble up some exceptions as 400 errors.
Example ldap.CONSTRAINT
def update_user(self, user_id, user):
if 'id' in user and user['id'] != user_id:
raise exception.
old_obj = self.user.
#Defect 118381, user name update in ldap should be allowed.
#if 'name' in user and old_obj.get('name') != user['name']:
# raise exception.
#user = utils.hash_
if self.user.
try:
except ldap.CONSTRAINT
if 'info' in e[0]:
else:
return self.user.
tags: | added: ldap user-experience |
description: | updated |
Changed in keystone: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Please explain why this is a problem.