Commit e77fe541 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(dashboard) Fix LDAP filter for Samba groups

parent 501024d0
......@@ -115,7 +115,7 @@ class dashboardUsers extends simplePlugin
try {
$nb_groups = count(objects::ls('group', NULL, NULL, '', TRUE));
$nb_mail_groups = count(objects::ls('group', NULL, NULL, '(objectClass=fdGroupMail)', TRUE));
$nb_samba_groups = count(objects::ls('group', NULL, NULL, '(objectClass=sambaSamAccount)', TRUE));
$nb_samba_groups = count(objects::ls('group', NULL, NULL, '(objectClass=sambaGroupMapping)', TRUE));
} catch (LDAPFailureException $e) {
msg_dialog::display(
_('LDAP error'),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment