Bug 51469 - Self Service not usable for Users after update 4.3-5 errata:0 to 4.4-4 errata:587
Self Service not usable for Users after update 4.3-5 errata:0 to 4.4-4 errata...
Status: VERIFIED DUPLICATE of bug 50893
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-06-11 14:06 CEST by Dirk Schnick
Modified: 2020-07-15 16:21 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.091
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020060921000575
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schnick univentionstaff 2020-06-11 14:06:47 CEST
Self-Service is installed on master. Customer reports after update the service is not working. They receives error message:
An error occurred
You are not authorized to perform this action.
Server error message:
No contact information is stored for this user. Resetting the password is not possible.

UCR univentionPasswordSelfServiceEmail is set to an extrenal email address

univention-app info
UCS: 4.4-4 errata620
Installed: letsencrypt=1.2.2-8 self-service=4.0 self-service-backend=4.0 ucsschool=4.4 v5
Upgradable: 

Update was done (as far as I can see in config-registry.replog):
set version/patchlevel=0 old:5
set version/version=4.4 old:4.3
set version/erratalevel=243 old:0 ... set version/erratalevel=617 old:587 (@end of update the day)

Found this in config-registry.replog (but not sure if this points to the reason):
2020-06-02 11:33:56: unset 'umc/self-service/passwordreset/enabled' old:yes
 
root@master:# ucr search --brief self-service/password |grep end/enabled
umc/self-service/passwordchange/frontend/enabled: <empty>
umc/self-service/passwordreset/backend/enabled: <empty>
umc/self-service/passwordreset/frontend/enabled: <empty>

Further information in Ticket. If anything is missing request it.
Comment 1 Ingo Steuwer univentionstaff 2020-06-17 08:52:19 CEST
Does the error still occured once a the user object has been changed by an administrative account?

I suspect this is an LDAP ACL issue, where the update introduced additional LDAP Attributes or Object Classes which will be filled with new defaults by UDM, but a normal user has no access rights for these during self service.
Comment 2 Dirk Schnick univentionstaff 2020-06-17 11:20:18 CEST
As far as I read the ticket history yes. Reporting customer has a domain admin account and a normal teacher account. He used his domain admin account to change his teacher account but still gets the error.
All in all it would be a bug, if administrator activity is needed after an update for all users. ;)
I logged into UMC and opened the affect teacher account; there was no popup that default values were added.
Comment 3 Dirk Schnick univentionstaff 2020-06-19 08:25:12 CEST
To prevent Misunderstandings; there are several accounts effected, but one is reported in the ticket. My last entry was not clearly in this context.
Comment 4 Erik Damrose univentionstaff 2020-06-19 09:28:46 CEST
Does this only happen in the one customer environment, or can this be reproduced in another UCS domain?
Comment 5 Dirk Schnick univentionstaff 2020-06-20 07:59:15 CEST
Hmmm I used my History test VM and could not reproduce the behavior. But it is not a school enviroment and a standalone UCS master.
I have no information about other customers complaining this.
Comment 6 Dirk Schnick univentionstaff 2020-07-06 08:11:41 CEST
Customer reports:
the problem with the teacher passwords seems to have even increased, because the members of the group Admins can now also not reset teacher passwords.

We tried this with two school-admin accounts that were able to change all teacher passwords of their schools until Whitsun, because they are in the respective admin group of their schools.

In logfile management-console-module-passwordreset.log I see a lot of tracebacks:
univention.lib.umc.ConnectionError: ('Could not send request.', CertificateError("hostname 'master.anonymized-local-name.intranet' doesn't match 'anonymized-hostname.anonymized-public-domain-name.de'",))
This started with update from 4.3-5 680 to 4.4-0, as far as I can see from the logfiles.

Hint: letsencrypt is installed, in use and was updated in the same time.


All UCS with the exception of 06/07:
version/erratalevel: 648
version/patchlevel: 4
version/releasename: Blumenthal
version/version: 4.4

06/07:
version/erratalevel: 680
version/patchlevel: 5
version/releasename: Neustadt
version/version: 4.3

It seems that the last errata were counterproductive (in this case and enviroment)
We changed some things in self service to fix errorcode 20 problem. Please check possible interactions.
Comment 7 Erik Damrose univentionstaff 2020-07-06 09:16:08 CEST
I suspect the certificate error to be the cause of the issues, as we cannot reproduce it in our internal environment yet. The bug state of NEEDMOREINFO is correct, we need to know if it works as expected, after sorting out the cert issue.
Comment 9 Dirk Schnick univentionstaff 2020-07-06 14:26:19 CEST
Cause for today reported problem is found. No Bug. Please ignore.
Cause is, that the teacher user are member of school admin group but don't have the Option school-admin. So they see the app, but they are not allowed to use it.

The attached traceback is also not part of the bug. So please ignore my statement today.
Comment 10 Ingo Steuwer univentionstaff 2020-07-07 10:22:24 CEST
(In reply to Dirk Schnick from comment #9)
> Cause for today reported problem is found. No Bug. Please ignore.
> Cause is, that the teacher user are member of school admin group but don't
> have the Option school-admin. So they see the app, but they are not allowed
> to use it.
> 
> The attached traceback is also not part of the bug. So please ignore my
> statement today.

I can't follow the thread anymore ;-)

Can you make an updated summary what part of the bug report is still valid?
Comment 11 Dirk Schnick univentionstaff 2020-07-07 16:16:32 CEST
Still relevant is everything up to comment 5. The new reported problem has nothing to do with that bug.

Problem/misbehavior was already checked with Erik, what is happening in the customer environment, should not happen. He needs to add debug code, what requires restart of management-console-web-server. We won't be able to do that until holidays.

That's the actual status. ;)
Comment 12 Dirk Schnick univentionstaff 2020-07-15 16:17:50 CEST
It's not a bug; it's a feature, but the problem was based on an existing bug https://forge.univention.org/bugzilla/show_bug.cgi?id=50893

Will set this bug to resolved, it can be closed.

*** This bug has been marked as a duplicate of bug 50893 ***
Comment 13 Erik Damrose univentionstaff 2020-07-15 16:21:10 CEST
Verified duplicate, as Dirk and i fixed the issue in the customer environment