Univention Bugzilla – Bug 49411
Hint how to resolve UniqueIdError
Last modified: 2023-06-23 13:15:30 CEST
As domain administrator I would like to get a hint how to fix UniqueIdError to complete a user import Two causes I see here: 1. the user is the same. Then a hint would be important on how to add the correct Source_ID + Record_ID to the UCS@school user so that the import recognizes the user. 2. the user is a new one. Then a hint how to "skip" the username would be important. [2019-05-02 15:04:26,030: ERROR/Worker-24] Entry #0: Username 'ankwen' is already in use by 'uid=ankwen,cn=admins,cn=users,ou=mas,BASEDN' (source_uid: None, record_uid: None). Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/ucsschool/importer/mass_import/user_import.py", line 171, in create_and_modify_users user.validate(self.connection, validate_unlikely_changes=True, check_username=True) File "/usr/lib/pymodules/python2.7/ucsschool/importer/models/import_user.py", line 1105, in validate self._check_username_uniqueness() File "/usr/lib/pymodules/python2.7/ucsschool/importer/models/import_user.py", line 1116, in _check_username_uniqueness self.name, uut.dn, uut.source_uid, uut.record_uid)) UniqueIdError: Username 'ankwen' is already in use by 'uid=ankwen,cn=admins,cn=users,ou=mas,BASEDN' (source_uid: None, record_uid: None).
This issue has been filed against UCS 4.4. UCS 4.4 is out of maintenance and UCS components may have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.