From b3e335fb9a08b4ca962bc037cf3f7f602fe9a06c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 30 Jun 2008 12:24:32 +0000 Subject: [PATCH] Fixed problem with enviroment tab in ogroups - Printer assigments couldn't be revoked. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11479 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index 3c0a3053d..3e9e6428a 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -130,7 +130,7 @@ class printgeneric extends plugin $mem = $this->attrs[$attr][$i]; if(preg_match("/Group/",$type)){ - $ldap->search("(&(objectClass=posixGroup)(cn=".$mem."))",array("cn","description")); + $ldap->search("(&(|(objectClass=posixGroup)(objectClass=gosaGroupOfNames))(cn=".$mem."))",array("cn","description")); if($ldap->count()){ $entry = $ldap->fetch(); $this->member[$type][$entry['cn'][0]]=$entry; -- 2.30.2