From 6381e029e822c97fd1c75cc270e4e359ff77344c Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 May 2010 10:04:52 +0000 Subject: [PATCH] Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18134 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/personal/posix/class_posixAccount.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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")); } } } -- 2.30.2