summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e8c901)
raw | patch | inline | side by side (parent: 4e8c901)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:03:56 +0000 (10:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 5 May 2010 10:03:56 +0000 (10:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18112 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/groups/class_group.inc | patch | blob | history | |
gosa-core/plugins/admin/groups/class_groupManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/groups/class_group.inc b/gosa-core/plugins/admin/groups/class_group.inc
index 0cd16e0064e6f146b32c4a8cd165e5c986e23806..c3da9493e061b9eb5764f228cec62862462b8b60 100644 (file)
function group (&$config, $dn= NULL)
{
/* Set rfc2307bis flag */
- if ($config->get_cfg_value("rfc2307bis") == "true"){
+ if ($config->get_cfg_value("core","rfc2307bis") == "true"){
$this->rfc2307bis= TRUE;
$this->attributes[]= "member";
$this->objectclasses[]= "groupOfNames";
if(isset($attrs['sambaAlgorithmicRidBase'])){
$this->ridBase= $attrs['sambaAlgorithmicRidBase'][0];
} else {
- $this->ridBase= $this->config->get_cfg_value("sambaRidBase");
+ $this->ridBase= $this->config->get_cfg_value("core","sambaRidBase");
}
/* Get domain name for SID */
}
}
} else {
- if ($this->config->get_cfg_value("sambaRidBase") != ""){
+ if ($this->config->get_cfg_value("core","sambaRidBase") != ""){
$this->sambaDomainName= "DEFAULT";
- $this->ridBase= $this->config->get_cfg_value("sambaRidBase");
- $this->SID= $this->config->get_cfg_value("sid");
+ $this->ridBase= $this->config->get_cfg_value("core","sambaRidBase");
+ $this->SID= $this->config->get_cfg_value("core","sid");
} else {
msg_dialog::display(_("Configuration error"), _("Cannot find group SID in your configuration!"), ERROR_DIALOG);
}
$uids = array_merge($uids, array_keys($this->memberUid_used_by_some));
}
- if ($this->config->get_cfg_value("ldapFilterNestingLimit") == "" ||
- count($uids) < $this->config->get_cfg_value("ldapFilterNestingLimit")){
+ if ($this->config->get_cfg_value("core","ldapFilterNestingLimit") == "" ||
+ count($uids) < $this->config->get_cfg_value("core","ldapFilterNestingLimit")){
foreach ($uids as $value){
if(!isset($this->members[$value])){
$filter .= "(uid=".normalizeLdap($value).")";
}
/* check if all uids are resolved */
- if ($this->config->get_cfg_value("ldapFilterNestingLimit") == "" ||
- count($this->memberUid) < $this->config->get_cfg_value("ldapFilterNestingLimit")){
+ if ($this->config->get_cfg_value("core","ldapFilterNestingLimit") == "" ||
+ count($this->memberUid) < $this->config->get_cfg_value("core","ldapFilterNestingLimit")){
foreach ($this->memberUid as $value){
if(!isset($this->members[$value])){
$this->members[$value] = "";
/* User wants me to fake the idMappings? This is useful for
making winbind resolve the group names in a reasonable amount
of time in combination with larger databases. */
- if ($this->config->get_cfg_value("sambaidmapping") == "true"){
+ if ($this->config->get_cfg_value("core","sambaidmapping") == "true"){
$this->attrs['objectClass'][]= "sambaIdmapEntry";
}
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"));
}
}
diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc
index b5ef11f8870bdf183694f143efa60150c05db257..0d27ad1def5f63f284c3f6b5d6e9dff310f4f3e0 100644 (file)
if ($this->config->boolValueIsTrue("main", "copyPaste")){
$this->cpHandler = new CopyPasteHandler($this->config);
}
- if($this->config->get_cfg_value("enableSnapshots") == "true"){
+ if($this->config->get_cfg_value("core","enableSnapshots") == "true"){
$this->snapHandler = new SnapshotHandler($this->config);
}
parent::__construct($config, $ui, "groups", $headpage);