Bug#941165: gosa: Fatal error when opening user list

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Fri Jan 3 11:07:39 GMT 2020


Hi Ferderik,

On Wed, 25 Sep 2019 21:21:15 +0200 Frederik HImpe <fhimpe at ai.vub.ac.be> 
wrote:
 > Package: gosa
 > Version: 2.7.4+reloaded3-10
 > Severity: important
 >
 > Dear Maintainer,
 >
 > Every time I click on Administration -> Users in the left menu in 
Gosa, I get this error:
 >
 > Fatal error: Uncaught ArgumentCountError: Too few arguments to 
function userManagement::filterLockLabel(), 0 passed in 
/usr/share/gosa/include/class_listing.inc on line 856 and exactly 1 
expected in 
/usr/share/gosa/plugins/admin/users/class_userManagement.inc:856 Stack 
trace: #0 /usr/share/gosa/include/class_listing.inc(856): 
userManagement::filterLockLabel() #1 
/usr/share/gosa/include/class_listing.inc(980): 
listing->processElementFilter('%{filter:lockLa...', Array, 1) #2 
/usr/share/gosa/include/class_listing.inc(853): 
listing->filterActions('uid=nobody,ou=P...', 1, Array) #3 
/usr/share/gosa/include/class_listing.inc(764): 
listing->processElementFilter('%{filter:action...', Array, 1) #4 
/usr/share/gosa/include/class_listing.inc(407): 
listing->renderCell('%{filter:action...', Array, 1) #5 
/usr/share/gosa/include/class_management.inc(233): listing->render() #6 
/usr/share/gosa/include/class_management.inc(222): 
management->renderList() #7 
/usr/share/gosa/plugins/admin/users/main.inc(44): management->execute() 
#8 /usr/share/ in 
/usr/share/gosa/plugins/admin/users/class_userManagement.inc on line 856
 >
 > Opening the list of Groups works fine.
 >

I just encountered the same issue. The problem is probably that your 
LDAP user "nobody" does not have the userPassword: LDAP attribute 
description set with some value. A work-around for your issue could be 
to use another LDAP editor (such as ldapvi) and add userPassword: 
blablabla to the LDAP object of user "nobody".

It should definitely be fixed somewhere in GOsa, but this might require 
some more effort and thinking. Any kind of contribution is dearly welcome!

Mike



More information about the Debian-edu-pkg-team mailing list