summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ffabbd)
raw | patch | inline | side by side (parent: 0ffabbd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Aug 2005 11:51:27 +0000 (11:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Aug 2005 11:51:27 +0000 (11:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1210 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servService.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc
index b1120f36b70a2a2a77f12a4f0ee2a69bc0a71ac5..850a9551550e61b9f2ae218bd37b010e3bdb3c7f 100644 (file)
var $cli_description= "Some longer text\nfor help";
var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
- var $goExportEntry = array();
- var $goTimeSource = array();
- var $goLdapBase= "";
- var $goXdmcpIsEnabled ="";
- var $goFontPath= "";
- var $goNTPServer="";
- var $goLdapServer="";
- var $goTerminalServer="";
- var $goSyslogServer="";
- var $goCupsServer="";
- var $o_subWindow = NULL;
+ var $goExportEntry = array();
+ var $goTimeSource = array();
+ var $goLdapBase = "";
+ var $goXdmcpIsEnabled = "";
+ var $goFontPath = "";
+ var $goNTPServer = "";
+ var $goShareServer = "";
+ var $goLdapServer = "";
+ var $goTerminalServer = "";
+ var $goSyslogServer = "";
+ var $goCupsServer = "";
+ var $o_subWindow = NULL;
/* attribute list for save action */
var $ignore_account= TRUE;
var $attributes = array("goLdapBase","goXdmcpIsEnabled","goFontPath");
var $possible_objectclasses= array( "goShareServer", "goNtpServer", "goServer", "goLdapServer",
"goTerminalServer", "goSyslogServer", "goCupsServer");
- var $objectclasses = array("top","goServer");
+ var $objectclasses = array( "top","goServer");
var $additionaloc = array( "goShareServer" => array("goExportEntry"),
"goNtpServer" => array("goTimeSource"),
"goLdapServer" => array("goLdapBase"),
/* Save to LDAP */
function save()
{
-
plugin::save();
$tmp= array();
$tmp[]= $oc;
}
}
-
+
/* Merge our current objectclasses */
foreach($this->objectclasses as $oc){
if (!in_array_ics($oc, $tmp)){
}
}
}
- $oc = array();
- foreach($this->attrs['objectClass'] as $name){
- if($name!="goShareServer"){
- $oc[]=$name;
- }
- }
- $this->attrs['objectClass']=$oc;
/* Write to LDAP */
$ldap= $this->config->get_ldap_link();