Bug#839860: gosa-plugin-netgroups: fails to add a system to a netgroup
Wolfgang Schweer
wschweer at arcor.de
Wed Oct 5 19:07:17 UTC 2016
Package: gosa-plugin-netgroups
Version: 0.1~svn652-3
Severity: important
While testing Debian Edu stretch I successfully installed a workstation
via PXE but was unable to add this system as a workstation-host to LDAP
using GOsa².
GOsa² throws an error about an undefined method 'plugin:plugin'; this is
most probably due to the PHP 7.0 transition (the constructor issue is
hidden by the methods issue).
Fatal error: Uncaught Error: Call to undefined method
plugin::plugin() in
/usr/share/gosa/plugins/admin/systems/netgroups/class_netgroupSystem.inc:56
Stack
trace:
#0 /usr/share/gosa/plugins/admin/systems/goto/tabs_workstation.inc(31):
netgroupSystem->netgroupSystem(Object(config), 'cn=ws9.intern,o...',
Object(workgeneric), Object(worktabs))
#1 /usr/share/gosa/include/class_management.inc(747):
worktabs->__construct(Object(config), Array, 'cn=ws9.intern,o...',
'workstation')
#2
/usr/share/gosa/plugins/admin/systems/class_systemManagement.inc(736):
management->editEntry('edit', Array, Array, 'worktabs', 'WORKTABS',
'workstation')
#3 /usr/share/gosa/include/class_management.inc(465):
systemManagement->editEntry('edit', Array, Array)
#4 /usr/share/gosa/include/class_management.inc(173):
management->handleActions(Array)
#5 /usr/share/gosa/plugins/admin/systems/main.inc(44):
management->execute()
#6 /usr/share/gosa/html/main.php(407): require('/usr/share/gosa...')
#7 {main}
thrown in /usr/share/gosa/plugins/admin/systems/netgroups/class_netgroupSystem.inc on line 56
After this change to class_netgroupSystem.inc:
< function netgroupSystem(&$config, $dn= NULL)
---
> function netgroupSystem_(&$config, $dn= NULL)
the system details show up in the gui.
But, when trying to add the system to the workstation-hosts netgroup the
next error is thrown:
Fatal error: Uncaught Error: Call to a member function setAcl()
on null in
/usr/share/gosa/plugins/admin/systems/netgroups/class_netgroupSystem.inc:163
Stack
trace:
#0 /usr/share/gosa/include/class_tabs.inc(166):
netgroupSystem->execute()
#1 /usr/share/gosa/include/class_management.inc(189): tabs->execute()
#2 /usr/share/gosa/plugins/admin/systems/main.inc(44):
management->execute()
#3 /usr/share/gosa/html/main.php(407): require('/usr/share/gosa...')
#4 {main}
thrown in /usr/share/gosa/plugins/admin/systems/netgroups/class_netgroupSystem.inc on line 163
If a system is added manually using an LDAP editor, login succeeds on a
workstation.
Wolfgang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-edu-pkg-team/attachments/20161005/188dc0e3/attachment.sig>
More information about the Debian-edu-pkg-team
mailing list