diff options
| author | Tarik Gasmi | 2007-09-18 17:18:38 +0200 |
|---|---|---|
| committer | Tarik Gasmi | 2007-09-18 17:18:38 +0200 |
| commit | 12183ece8e4cb1bb81072a72f696572c8b3a07ee (patch) | |
| tree | 1e7b274e6a4229d4d1819d4feaabe272b1037a62 /ldap-site-mngmt/webinterface/computers/rbshost_change.php | |
| parent | Added theme.conf for openslx theme for pxe. Only labels should be added autom... (diff) | |
| download | core-12183ece8e4cb1bb81072a72f696572c8b3a07ee.tar.gz core-12183ece8e4cb1bb81072a72f696572c8b3a07ee.tar.xz core-12183ece8e4cb1bb81072a72f696572c8b3a07ee.zip | |
ldap-site-mngmt: actualized WebIF and DHCPConfig Generationscript
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1340 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/computers/rbshost_change.php')
| -rw-r--r-- | ldap-site-mngmt/webinterface/computers/rbshost_change.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 "<br>"; if ($result = ldap_mod_replace($ds,$hostDN,$entryrbs)){ - update_dhcpmtime(); + update_dhcpmtime(array()); rbs_adjust_host($hostDN, $rbs); $mesg = "Remote Boot Service erfolgreich zu <b>".$rbscn." [Abt.: ".$rbsau."]</b> geändert<br><br>"; }else{ @@ -62,7 +62,7 @@ if ($rbs != "none" && $rbs != $oldrbs){ }else{ echo "RBS add "; print_r($entryrbs); echo "<br>"; if ($result = ldap_mod_add($ds,$hostDN,$entryrbs)){ - update_dhcpmtime(); + update_dhcpmtime(array()); rbs_adjust_host($hostDN, $rbs); $mesg = "Remote Boot Service erfolgreich zu <b>".$rbscn." [Abt.: ".$rbsau."]</b> geändert<br><br>"; }else{ @@ -75,7 +75,7 @@ if ($rbs != "none" && $rbs != $oldrbs){ $entryrbs ['dhcpoptfilename'] = array(); echo "RBS delete "; echo "<br>"; if ($result = ldap_mod_del($ds,$hostDN,$entryrbs)){ - update_dhcpmtime(); + update_dhcpmtime(array()); $mesg = "Rechner erfolgreich aus RBS gelöscht<br><br>"; }else{ $mesg = "Fehler beim löschen aus RBS!<br><br>"; |
