summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2386ff4)
raw | patch | inline | side by side (parent: 2386ff4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Apr 2006 06:14:27 +0000 (06:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Apr 2006 06:14:27 +0000 (06:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3100 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc
index 96d45536125d8bde222bd23ae24a4a4271a10963..05d8181e44474bd8f1def33ad977af4391966f21 100644 (file)
$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.");
}