From: hickert Date: Wed, 5 May 2010 10:04:55 +0000 (+0000) Subject: Added property class to get_cfg_requests X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4e6a2942a28439fa65a5a451a9cf1cbd735bd9fa;p=gosa.git Added property class to get_cfg_requests git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18135 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc index 286e26de6..0aa698b88 100644 --- a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc +++ b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc @@ -109,7 +109,7 @@ class sambaAccount extends plugin 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"); } if ($this->sambaDomainName == ""){ $this->sambaDomainName= $attrs['sambaDomainName'][0]; @@ -118,8 +118,8 @@ class sambaAccount extends plugin if ($this->sambaDomainName == ""){ $this->sambaDomainName= "DEFAULT"; } - $this->ridBase= $this->config->get_cfg_value("sambaRidBase"); - $this->SID= $this->config->get_cfg_value("sambaSid"); + $this->ridBase= $this->config->get_cfg_value("core","sambaRidBase"); + $this->SID= $this->config->get_cfg_value("core","sambaSid"); } /* Save in order to compare later on */ @@ -1172,7 +1172,7 @@ class sambaAccount extends plugin /* User wants me to fake the idMappings? This is useful for making winbind resolve the user 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"; }