diff options
Diffstat (limited to 'ipalib/plugins')
-rw-r--r-- | ipalib/plugins/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index c3bcddd2..891a73a8 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -261,7 +261,7 @@ class user_add(LDAPCreate): self.api.Command['group_show'](keys[-1]) try: self.api.Command['user_show'](keys[-1]) - raise errors.DuplicateEntry() + self.obj.handle_duplicate_entry(*keys) except errors.NotFound: raise errors.ManagedGroupExistsError(group=keys[-1]) except errors.NotFound: |