summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0dab656)
raw | patch | inline | side by side (parent: 0dab656)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Dec 2006 12:17:23 +0000 (12:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Dec 2006 12:17:23 +0000 (12:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5342 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index 274d3ded3736da1a26183f23f4041f0f2bba7bee..9a47614b9874dd4694077ba2460cdc7dfce2b6cb 100644 (file)
$this->didAction= TRUE;
/* Set FAIstate */
- if($this->fai_activated){
+ if($this->fai_activated && $this->dn != "new"){
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
$ldap->cat($this->dn,array("objectClass"));
diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc
index aea4d11fca748eefc08f06573055c7960dd5cdd4..e20d353c0db292e84378157d54752a316f058252 100644 (file)
if (isset($_POST['action']) && $this->acl_is_writeable("FAIstate")){
/* Set FAIstate */
- if($this->fai_activated){
+ if($this->fai_activated && $this->dn != "new"){
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
$ldap->cat($this->dn,array("objectClass"));
diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index ef68b3993add8d2a3e020635384a8a83ab3a8187..45efd16dafed2501d6ed25dafd60dbd5fab24ef9 100644 (file)
} elseif ($_POST['saction'] != "wake") {
/* Set FAIstate */
- if($this->fai_activated){
+ if($this->fai_activated && $this->dn != "new"){
$ldap = $this->config->get_ldap_link();
$ldap->cd($this->config->current['BASE']);
$ldap->cat($this->dn,array("objectClass"));