summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/computers/dhcphost_change.php
diff options
context:
space:
mode:
authorTarik Gasmi2007-07-06 12:29:06 +0200
committerTarik Gasmi2007-07-06 12:29:06 +0200
commit493c1dd8260f24f8bfaf9271418529011b0f2a80 (patch)
tree834619232835c4786d793848a7f99882034d7bd1 /ldap-site-mngmt/webinterface/computers/dhcphost_change.php
parentAdjusted timings a little bit (waiting for scripts like hwautocfg to (diff)
downloadcore-493c1dd8260f24f8bfaf9271418529011b0f2a80.tar.gz
core-493c1dd8260f24f8bfaf9271418529011b0f2a80.tar.xz
core-493c1dd8260f24f8bfaf9271418529011b0f2a80.zip
Actualised LDAP SiteManagement Webinterface and Perl-Config-Skripts
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1225 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/computers/dhcphost_change.php')
-rw-r--r--ldap-site-mngmt/webinterface/computers/dhcphost_change.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/ldap-site-mngmt/webinterface/computers/dhcphost_change.php b/ldap-site-mngmt/webinterface/computers/dhcphost_change.php
index 2a78f109..96bbb715 100644
--- a/ldap-site-mngmt/webinterface/computers/dhcphost_change.php
+++ b/ldap-site-mngmt/webinterface/computers/dhcphost_change.php
@@ -9,6 +9,7 @@ $olddhcp = $_POST['olddhcp'];
$hostip = $_POST['hostip'];
$fixedaddress = $_POST['fixadd'];
$oldfixedaddress = $_POST['oldfixadd'];
+$oldrbs = $_POST['oldrbs'];
$hostDN = $_POST['hostdn'];
$sbmnr = $_POST['sbmnr'];
@@ -72,6 +73,9 @@ if ($dhcp != "none" && $dhcp != $olddhcp){
if ( $oldfixedaddress != "" ){
$entrydhcp ['dhcpoptfixed-address'] = array();
}
+ #if ( $oldrbs != "" ){
+ # $entrydhcp ['hlprbservice'] = array();
+ #}
echo "DHCP delete "; echo "<br>";
if ($result = ldap_mod_del($ds,$hostDN,$entrydhcp)){
$mesg = "Rechner erfolgreich aus DHCP gel&ouml;scht<br><br>";