summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d15d51)
raw | patch | inline | side by side (parent: 1d15d51)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Jan 2007 05:04:19 +0000 (05:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Jan 2007 05:04:19 +0000 (05:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5547 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/plugins/admin/systems/class_componentGeneric.inc b/plugins/admin/systems/class_componentGeneric.inc
index b0bb33486321b8056f09c42da943d62a71fe368c..d5985f1fc4202533e3793c7c2bdd688685ec3546 100644 (file)
$this->base= preg_replace ("/^[^,]+,[^,]+,[^,]+,/", "", $this->dn);
}
$this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses, true);
+ $this->netConfigDNS->acl = $this->acl;
+
/* Save dn for later references */
$this->orig_dn= $this->dn;
}
function execute()
{
- /* Call parent execute */
- plugin::execute();
+ $this->netConfigDNS->acl = $this->acl;
+
+ /* Call parent execute */
+ plugin::execute();
/* Do we represent a valid phone? */
if (!$this->is_account && $this->parent == NULL){
function remove_from_parent()
{
+ $this->netConfigDNS->acl = $this->acl;
$ldap= $this->config->get_ldap_link();
$this->netConfigDNS->remove_from_parent();
$ldap->rmdir($this->dn);
/* Save to LDAP */
function save()
{
+ $this->netConfigDNS->acl = $this->acl;
plugin::save();
/* Remove all empty values */
diff --git a/plugins/admin/systems/class_phoneGeneric.inc b/plugins/admin/systems/class_phoneGeneric.inc
index 3fc6e9fc0df246b6eb3b323c7f5dab7cfadbc52e..552f4d1f47025df4bbf3cee67104ceca38460c5c 100644 (file)
{
plugin::plugin ($config, $dn, $parent);
$this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses, true);
+ $this->netConfigDNS->acl = $this->acl;
/* Set base */
if ($this->dn == "new"){
function execute()
{
- /* Call parent execute */
- plugin::execute();
+ $this->netConfigDNS->acl = $this->acl;
+
+ /* Call parent execute */
+ plugin::execute();
/* Do we represent a valid phone? */
if (!$this->is_account && $this->parent == NULL){
function remove_from_parent()
{
+ $this->netConfigDNS->acl = $this->acl;
$ldap= $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
/* Save to LDAP */
function save()
{
+ $this->netConfigDNS->acl = $this->acl;
plugin::save();
diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc
index d0f2cebf5aeedac7fa29fd8ae589aaf578b10969..dc3d3ba2cf06681d394e4c35ff2aee1fb8c790be 100644 (file)
/* create dns object */
$this->netConfigDNS = new termDNS($this->config, $this->dn,$this->objectclasses);
+ $this->netConfigDNS->acl = $this->acl;
/* Set base */
if ($this->dn == "new"){
function execute()
{
+ $this->netConfigDNS->acl = $this->acl;
+
/* Call parent execute */
plugin::execute();
function remove_from_parent()
{
+ $this->netConfigDNS->acl = $this->acl;
+
/* Only remove if there was initially an account */
if($this->initially_was_account){
/* Save to LDAP */
function save()
{
+ $this->netConfigDNS->acl = $this->acl;
+
/* Update dn, to ensure storing as printer instead of WS / terminal
*/
if($this->BelongsTo == "Terminal"){
diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index 30ee0acac002cc04f680634225435dbd86b402ee..93a05695bd6c2f9f3d62b7d8b99c080b4a3bcc2b 100644 (file)
$this->base= preg_replace ("/^[^,]+,[^,]+,[^,]+,/", "", $this->dn);
}
$this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses);
+ $this->netConfigDNS->acl = $this->acl;
/* Save dn for later references */
$this->orig_dn= $this->dn;
}
function execute()
{
/* Call parent execute */
+ $this->netConfigDNS->acl = $this->acl;
plugin::execute();
/* Do we represent a valid server? */
function remove_from_parent()
{
+ $this->netConfigDNS->acl = $this->acl;
$this->netConfigDNS->remove_from_parent();
$ldap= $this->config->get_ldap_link();
$ldap->rmdir($this->dn);
/* Save to LDAP */
function save()
{
+ $this->netConfigDNS->acl = $this->acl;
plugin::save();
/* Remove all empty values */
diff --git a/plugins/admin/systems/class_winGeneric.inc b/plugins/admin/systems/class_winGeneric.inc
index e297a4c73c82e0c30d910627bcd0d4d1a6a1e483..177c4e5a4d25b45125a389de37178917695384d7 100644 (file)
{
plugin::plugin ($config, $dn, $parent);
$this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses);
+ $this->netConfigDNS->acl = $this->acl;
+
/* Set base */
if ($this->dn == "new"){
$ui= get_userinfo();
function execute()
{
- /* Call parent execute */
- plugin::execute();
+ $this->netConfigDNS->acl = $this->acl;
+
+ /* Call parent execute */
+ plugin::execute();
/* Do we represent a valid phone? */
if (!$this->is_account && $this->parent == NULL){
function remove_from_parent()
{
+ $this->netConfigDNS->acl = $this->acl;
$this->netConfigDNS->remove_from_parent();
$ldap= $this->config->get_ldap_link();
$ldap->rmdir($this->dn);
/* Save to LDAP */
function save()
{
+ $this->netConfigDNS->acl = $this->acl;
plugin::save();
/* Remove all empty values */