def update_user(self, user_id, user):
user = self.assignment_api._validate_default_domain(user)
if 'id' in user and user['id'] != user_id:
raise exception.ValidationError('Cannot change user ID')
old_obj = self.user.get(user_id)
if 'name' in user and old_obj.get('name') != user['name']:
raise exception.Conflict('Cannot change user name')
This is the code that cause this issue. I will remove the check for name. If anyone has any other concern, please let me know.
/usr/lib/ python2. 6/site- packages/ keystone/ identity/ backends/ ldap.py
def update_user(self, user_id, user): _api._validate_ default_ domain( user) ValidationError ('Cannot change user ID') get(user_ id) Conflict( 'Cannot change user name')
user = self.assignment
if 'id' in user and user['id'] != user_id:
raise exception.
old_obj = self.user.
if 'name' in user and old_obj.get('name') != user['name']:
raise exception.
This is the code that cause this issue. I will remove the check for name. If anyone has any other concern, please let me know.