From: hickert Date: Tue, 25 Apr 2006 06:14:27 +0000 (+0000) Subject: Removed Hardcoded ou=groups, X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ca2dc9674e8e4c3e981965af653a4ef6d3faccf8;p=gosa.git Removed Hardcoded ou=groups, git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3100 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc index 96d455361..05d8181e4 100644 --- a/plugins/admin/groups/class_groupGeneric.inc +++ b/plugins/admin/groups/class_groupGeneric.inc @@ -762,8 +762,7 @@ class group extends plugin $ldap= $this->config->get_ldap_link(); if(($this->cn != $this->orig_cn) || ($this->orig_dn == "new")){ $ldap->cd("ou=groups,".$this->base); - //FIXME: hardcoded ou=groups, - $ldap->ls("(&(|(objectClass=gosaGroupOfNames)(objectClass=posixGroup))(cn=$this->cn))","ou=groups,".$this->base,array("cn")); + $ldap->ls("(&(|(objectClass=gosaGroupOfNames)(objectClass=posixGroup))(cn=$this->cn))",get_groups_ou().$this->base,array("cn")); if ($ldap->count() != 0){ $message[]= _("Value specified as 'Name' is already used."); }