Comment 1 for bug 1211643

Revision history for this message
Ya Hong Du (yahongdu) wrote : Re: Update user name failed with LDAP back end by CLI

/usr/lib/python2.6/site-packages/keystone/identity/backends/ldap.py

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.