Bug 38226 - Invalid memberUid entries at exam group
Invalid memberUid entries at exam group
Status: RESOLVED FIXED
Product: UCS@school
Classification: Unclassified
Component: ucs-test
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Ammar Najjar
:
Depends on: 36251 39600 41112
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-10 10:10 CEST by Sönke Schwardt-Krummrich
Modified: 2016-04-25 13:26 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2015-04-10 10:10:03 CEST
Please implement a test script, that starts a "simple" exam and tests if the uniqueMember and memberUid attributes at the exam group are correct (for users and computers).

+++ This bug was initially created as a clone of Bug #36251 +++

When starting an exam mode, all users of the selected class/group and all computers of the selected room are added as member to the exam group ("cn=OU${OU}-Klassenarbeit").
While the attribute values for users are correct, the memberUid entry for the computer member is not correct. The $ sign is missing.

# OUgrundschule-Klassenarbeit, ucsschool, groups, ucsatschool.demo
dn: cn=OUgrundschule-Klassenarbeit,cn=ucsschool,cn=groups,dc=ucsatschool,dc=demo
sambaGroupType: 2
cn: OUgrundschule-Klassenarbeit
objectClass: top
objectClass: posixGroup
objectClass: univentionGroup
objectClass: sambaGroupMapping
objectClass: univentionObject
univentionObjectType: groups/group
gidNumber: 5094
univentionGroupType: -2147483646
sambaSID: S-1-5-21-2487603509-1121409813-4031083802-1133
memberUid: winpc6
memberUid: exam-john.doe
uniqueMember: cn=winpc6,cn=computers,ou=Grundschule,dc=ucsatschool,dc=demo
uniqueMember: uid=exam-john.doe,cn=examusers,ou=Grundschule,dc=ucsatschool,dc=demo

Found entry:    memberUid: winpc6
Expected entry: memberUid: winpc6$

This way, there may be an naming conflict between users and computers.
Comment 1 Ammar Najjar univentionstaff 2015-04-13 11:11:59 CEST
(In reply to Sönke Schwardt-Krummrich from comment #0)
> Please implement a test script, that starts a "simple" exam and tests if the
> uniqueMember and memberUid attributes at the exam group are correct (for
> users and computers).

A new script with the name "101_exam_mode_group_members" is added to ucs-test-ucsschool/90_ucsschool to test the mentioned case.

Test is disabled until the original bug #36251 is fixed.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-10-20 12:11:52 CEST
Have a look at bug 39600.