Bug 36588 - Speed up user login with local profile
Speed up user login with local profile
Status: RESOLVED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.0.x
Assigned To: UCS@school maintainers
:
Depends on:
Blocks: 44157
  Show dependency treegraph
 
Reported: 2014-11-12 10:51 CET by Jan Christoph Ebersbach
Modified: 2019-02-05 21:20 CET (History)
4 users (show)

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 Jan Christoph Ebersbach univentionstaff 2014-11-12 10:51:00 CET
A customer reported for paedML Linux that the first login of a user takes very long.  For normal users this is okay, but for exam users speed is important.

Idea: Instead of using a server based profile exam users are forced to local profiles.

It's not clear if this local profile can be exploited by preparing files in it.  I'd assume that if a user writes two exam the two exam-<username> users have different SID an can access data from one another.
Comment 1 Florian Best univentionstaff 2015-02-10 16:45:10 CET
Alternatively a customer which from the summit was to create the exam already in the night/day before (with an automatic login so that the profiles get created) so that the user accounts exists then already.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-04-09 14:59:21 CEST
(In reply to Jan Christoph Ebersbach from comment #0)
> A customer reported for paedML Linux that the first login of a user takes
> very long.  For normal users this is okay, but for exam users speed is
> important.

On every exam a new exam user is created that also gets a new samba SID. Therefore existing profiles cannot be reused.
The time for creating new profiles is heavily influenced by installed software.

> Idea: Instead of using a server based profile exam users are forced to local
> profiles.

AFAIK the server side profile is copied to the windows client upon login and copied back to server upon logout. If no profile exists, a new profile is created. So currently I do not assume that there is a performance gain if a local profile is used.
Comment 3 Alexander Kläser univentionstaff 2015-04-13 09:41:04 CEST
Could this be related to Bug 37854?
Comment 4 Florian Best univentionstaff 2017-06-28 14:56:39 CEST
There is a Customer ID set so I set the flag "School Customer affected".
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2019-02-05 21:20:40 CET
This issue has been filled against UCS@school 4.0. The maintenance with bug 
and security fixes for UCS@school 4.0 has ended on May 31, 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3 (or later). 
Please contact your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug"
or simply reopen the issue. In this case please provide detailed information on
how this issue is affecting you.