Logged into pgsqlserver on the master and changed all the machinepasswords by the pgsqlusers manualy. Example:
sudo su - postgres -c 'psql'
\du #list the users
ALTER USER superserver$ WITH PASSWORD 'blablabla';
\q
After this an univention-pkgdb-scan
Runs successfully again.
Strange is, 2 machines worked until today. All others threw in the log this error on the PGSQL server.
2021-02-19 21:44:50 CET [20431-2] superserver$@pkgdb DETAIL: Benutzer »superserver$« hat kein Passwort zugewiesen.
Verbindung stimmte mit pg_hba.conf-Zeile 98 überein: »host all all 192.2.2.2/16 md5«
I think normaly Pgsql should connect via LDAP, because there is an configfile: /etc/postgresql/pam_ldap.conf
I hope with the next password rotation this goes in the PGSQL again automatically with.
So wie es aussieht, wurde hier Lizenz technisch einiges verändert. Denn trotz meine Änderung funktioniert es nun schon wieder nicht mehr. Ich hab ein Screenshot angehängt. Hier sieht man sehr gut dass dieses Feature kostenpflichtig geworden ist. Mein UCS läuft schon über ein Jahr. Also so lange kann das noch nicht sein.