summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f7ebb53)
raw | patch | inline | side by side (parent: f7ebb53)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:04:52 +0000 (10:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:04:52 +0000 (10:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18134 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index b927f7f0f6bccd4cd289f10d9304e523b58f3f21..4d8241c2e6377a69092e8245c4a67ab0614e5cd9 100644 (file)
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);
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"));
}
}
}