From: hickert Date: Mon, 30 Jun 2008 12:24:32 +0000 (+0000) Subject: Fixed problem with enviroment tab in ogroups - Printer assigments couldn't be revoked. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b3e335fb9a08b4ca962bc037cf3f7f602fe9a06c;p=gosa.git 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 --- 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;