Hi,
I wanted to log in as Administrator today, as I did plenty of times before. While clicking on the Users menu item, I received a “Your session has expired, please login again”. First I suspected a browser problem. I tried the private modes of 2 different browsers (Chromium / Firefox) to no avail.
I then logged in via SSH, installed an update (just in case) and did a reboot. This also did not help. Then I looked into the syslog and found the following message (verbose slapd logging enabled):
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 fd=29 ACCEPT from IP=[XXXX::5]:60678 (IP=[::]:7389)
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 op=0 EXT oid=1.3.6.1.4.1.1466.20037
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 op=0 STARTTLS
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 op=0 RESULT oid= err=0 text=
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 fd=29 TLS established tls_ssf=256 ssf=256
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 op=1 BIND dn="uid=Administrator,cn=users,dc=mydomain,dc=com" method=128
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 op=1 RESULT tag=97 err=49 text=
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 op=2 BIND dn="" method=163
Mar 3 10:14:23 ucs slapd[1909]: conn=1181 op=2 RESULT tag=97 err=80 text=SASL(-7): invalid parameter supplied:
The last line looks pretty suspicious. I’m not exactly sure, but it could be that I installed UCS exactly one year ago.
Also, I have plenty of services attached via LDAP, which still work fine. Also udm
still works, therefore I can still work with the system.
Can anyone hint me towards a solution?
*edit: I looked into the network communication of the browser. The endpoint that produces a 401 Unauthorized
is https://DOMAIN/univention/command/udm/license . So it may actually be related to the license. I also looked up the timestamp attribute for the license: createTimestamp: 20200416101226Z
.
Looking into the Apache2 logs, I can see that other endpoints also produce a 401, but /univention/get/session-info
produces a 200 OK
[03/Mar/2021:11:23:21 +0100] "POST /univention/get/session-info HTTP/1.1" 200 673 "https://DOMAIN/univention/management/"
[03/Mar/2021:11:23:21 +0100] "POST /univention/command/udm/containers HTTP/1.1" 401 567 "https://DOMAIN/univention/management/"
[03/Mar/2021:11:23:21 +0100] "POST /univention/command/udm/meta_info HTTP/1.1" 401 720 "https://DOMAIN/univention/management/"
[03/Mar/2021:11:23:21 +0100] "POST /univention/command/udm/license HTTP/1.1" 401 720 "https://DOMAIN/univention/management/"
[03/Mar/2021:11:23:21 +0100] "POST /univention/command/udm/types HTTP/1.1" 401 720 "https://DOMAIN/univention/management/"
The returned content of session-info is {"status": 200, "message": "", "result": {"username": "Administrator", "auth_type": null, "remaining": 28797}}
.
Thanks