Problem:Cannot delete non existing user with source_uid=u'LegacyDB'

Problem:

user_import.delete_users:382 Cannot delete non existing user with source_uid=u’LegacyDB’ …

Investigation:

Search the
/varlog/univention/ucs-school-import.log
for more information about the error

In the first section you see the applied configuration
In this case we found:

 u'sourceUID': u'sun-student',
 u'source_uid': u'LegacyDB',

Solution:

source_uid is the new notation

You have to adjust the mapping in /var/lib/ucs-school-import/user_import.json

Mastodon