From 12183ece8e4cb1bb81072a72f696572c8b3a07ee Mon Sep 17 00:00:00 2001
From: Tarik Gasmi
Date: Tue, 18 Sep 2007 15:18:38 +0000
Subject: ldap-site-mngmt: actualized WebIF and DHCPConfig Generationscript
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1340 95ad53e4-c205-0410-b2fa-d234c58c8868
---
ldap-site-mngmt/webinterface/computers/rbshost_change.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'ldap-site-mngmt/webinterface/computers/rbshost_change.php')
diff --git a/ldap-site-mngmt/webinterface/computers/rbshost_change.php b/ldap-site-mngmt/webinterface/computers/rbshost_change.php
index edff80bc..179451ad 100644
--- a/ldap-site-mngmt/webinterface/computers/rbshost_change.php
+++ b/ldap-site-mngmt/webinterface/computers/rbshost_change.php
@@ -53,7 +53,7 @@ if ($rbs != "none" && $rbs != $oldrbs){
if ($oldrbs != ""){
echo "RBS replace "; print_r($oldrbs); echo " with "; print_r($entryrbs); echo "
";
if ($result = ldap_mod_replace($ds,$hostDN,$entryrbs)){
- update_dhcpmtime();
+ update_dhcpmtime(array());
rbs_adjust_host($hostDN, $rbs);
$mesg = "Remote Boot Service erfolgreich zu ".$rbscn." [Abt.: ".$rbsau."] geändert
";
}else{
@@ -62,7 +62,7 @@ if ($rbs != "none" && $rbs != $oldrbs){
}else{
echo "RBS add "; print_r($entryrbs); echo "
";
if ($result = ldap_mod_add($ds,$hostDN,$entryrbs)){
- update_dhcpmtime();
+ update_dhcpmtime(array());
rbs_adjust_host($hostDN, $rbs);
$mesg = "Remote Boot Service erfolgreich zu ".$rbscn." [Abt.: ".$rbsau."] geändert
";
}else{
@@ -75,7 +75,7 @@ if ($rbs != "none" && $rbs != $oldrbs){
$entryrbs ['dhcpoptfilename'] = array();
echo "RBS delete "; echo "
";
if ($result = ldap_mod_del($ds,$hostDN,$entryrbs)){
- update_dhcpmtime();
+ update_dhcpmtime(array());
$mesg = "Rechner erfolgreich aus RBS gelöscht
";
}else{
$mesg = "Fehler beim löschen aus RBS!
";
--
cgit v1.2.3-55-g7522