Package: gosa
Version: 2.7.4+reloaded3-11
Severity: normal
Tags: upstream

Hi Mike,

while working on Debian Edu Bullseye, I noticed that it is no longer 
possible to log into the GOSa² web interface after a main server 
upgrade.

This error message is popping up:

Fatal error: Uncaught Error: Length must be greater than 0 in 
/usr/share/gosa/include/functions.inc:3324 Stack trace:
#0 /usr/share/gosa/include/functions.inc(3324): 
openssl_random_pseudo_bytes()
#1 /usr/share/gosa/include/class_config.inc(310): cred_decrypt()
#2 /usr/share/gosa/include/class_config.inc(362): config->get_credentials() 
#3 /usr/share/gosa/include/class_configRegistry.inc(408): 
config->get_ldap_link()
#4 /usr/share/gosa/include/class_config.inc(453): configRegistry->reload() 
#5 /usr/share/gosa/include/class_config.inc(441): config->load_servers() 
#6 /usr/share/gosa/html/index.php(267): config->set_current()
#7 {main} 
thrown in /usr/share/gosa/include/functions.inc on line 3324

This happened after upgrading the main server.

The error is most probably due to PHP 7.4 incompatible gosa code, see: 
https://www.php.net/manual/en/migration74.incompatible.php

Wolfgang

Attachment: signature.asc
Description: PGP signature

Reply via email to