From: hickert Date: Wed, 5 May 2010 10:04:52 +0000 (+0000) Subject: Added property class to get_cfg_requests X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6381e029e822c97fd1c75cc270e4e359ff77344c;p=gosa.git Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18134 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index b927f7f0f..4d8241c2e 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -680,7 +680,7 @@ class posixAccount extends plugin if ($ldap->count() == 0){ $groupcn = $this->uid; - $pri_attr = $this->config->get_cfg_value("accountPrimaryAttribute"); + $pri_attr = $this->config->get_cfg_value("core","accountPrimaryAttribute"); $groupdn= preg_replace ('/^'.preg_quote($pri_attr,'/').'=[^,]+,'.preg_quote(get_people_ou(),'/').'/i', 'cn='.$groupcn.','.get_groups_ou(), $this->dn); @@ -867,15 +867,15 @@ class posixAccount extends plugin if (!tests::is_id($this->uidNumber)){ $message[]= msgPool::invalid(_("UID"), $this->uidNumber, "/[0-9]/"); } else { - if ($this->uidNumber < $this->config->get_cfg_value("minId")){ - $message[]= msgPool::toosmall(_("UID"), $this->config->get_cfg_value("minId")); + if ($this->uidNumber < $this->config->get_cfg_value("core","minId")){ + $message[]= msgPool::toosmall(_("UID"), $this->config->get_cfg_value("core","minId")); } } if (!tests::is_id($this->gidNumber)){ $message[]= msgPool::invalid(_("GID"), $this->gidNumber, "/[0-9]/"); } else { - if ($this->gidNumber < $this->config->get_cfg_value("minId")){ - $message[]= msgPool::toosmall(_("GID"), $this->config->get_cfg_value("minId")); + if ($this->gidNumber < $this->config->get_cfg_value("core","minId")){ + $message[]= msgPool::toosmall(_("GID"), $this->config->get_cfg_value("core","minId")); } } }