Problem: ucs@school Importer Complains about "value may not contain other than numbers,

Problem

ucs@school importer complains in the logfile ucs-school-import.log about
{'name': ['Value may not contain other than numbers, letters and dots!']}
But your user (ie “user.name2”) follows these guidelines.

Investigation

You will see a line similar to the following in the according logfile:

2018-10-22 13:16:55 INFO  base.create_without_hooks:435  Creating SchoolClass(name='ABC-10/1', school='ABC', dn='cn=ABC-10/1,cn=klassen,cn=schueler,cn=groups,ou=ABC,dc=domain,dc=de')

2018-10-22 13:16:55 ERROR user_import.create_and_modify_users:171  Entry #0: ValidationError when adding ImportStudent(name='user.name2', school='ABC', dn='uid=user.name2,cn=schueler,cn=users,ou=ABC,dc=domain,dc=de', old_dn=None) (source_uid:abc-student record_uid: UserName2002-10-25): {'name': ['Value may not contain other than numbers, letters and dots!']}

Solution

Rename the group from “10/1” to “10A” or so. Name for classes must not contain anything else than letters and digits. See the statement in the according (German) documentation.

Mastodon