summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 03dcb26)
raw | patch | inline | side by side (parent: 03dcb26)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Feb 2006 13:56:18 +0000 (13:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Feb 2006 13:56:18 +0000 (13:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2682 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc
index bc732438676cce172781bb4f65c1ce9f22202021..ed47351eaf4726ca610532ebf4b3d7463cec06d3 100644 (file)
var $netConfigDNS;
/* attribute list for save action */
- var $attributes = array("cn", "description", "l", "labeledURI", "gotoPrinterPPD");
+ var $attributes = array("cn", "description", "l", "labeledURI", "gotoPrinterPPD","gotoUserPrinter");
var $objectclasses = array("top", "gotoPrinter");
function printgeneric ($config, $dn= NULL)
/* Append printer user
*/
+ if(is_string( $this->attrs['gotoUserPrinter'])){
+ $this->attrs['gotoUserPrinter']=array();
+ }
foreach($this->member['AddUser'] as $mem){
$this->attrs['gotoUserPrinter'][]=$mem['uid'][0];
}
index aa34030714e28a7ca0902b76ff32ccdee024cf4d..c31971f3fcf97125e264f3e9a8243b4b233653eb 100644 (file)
/* attribute list for save action */
var $ignore_account = FALSE;
- var $attributes = array("");
+ var $attributes = array();
var $objectclasses = array("whatever");
var $RecordTypes = array();
/* Update existing entries */
foreach($actions['update'] as $dn => $attrs){
$ldap->cd($dn);
- $this->cleanup();
-$ldap->modify ($attrs);
+ //$this->cleanup();
+ $ldap->modify ($attrs);
}
show_ldap_error($ldap->get_error());
index 9d317fa69207185710eae94dec6953bdcdeb4197..3303af3ff712f6ab0639c677cc146ae016662537 100644 (file)
/* Perform LDAP action */
$ldap->cd($this->dn);
- $this->cleanup();
+ $this->cleanup();;
$ldap->$mode($this->attrs);
show_ldap_error($ldap->get_error());
diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc
index 281fd789796b9af4020c5e57a74796635a1cb62b..4871be46fb1e50ef9ea39ab613ff76b9306a35b2 100644 (file)
/* attribute list for save action */
var $ignore_account= TRUE;
- var $attributes = array("goLdapBase","goXdmcpIsEnabled","goFontPath");
+ var $attributes = array("goLdapBase","goXdmcpIsEnabled","goFontPath","goExportEntry","goTimeSource");
var $possible_objectclasses= array( "goShareServer", "goNtpServer", "goServer", "goLdapServer",
"goTerminalServer", "goSyslogServer", "goCupsServer","goMailServer");
var $objectclasses = array( "top","goServer");
$this->$name= $tmp;
}
+
$tmp =array();
$tmp2=array();
if(isset($this->attrs['goExportEntry'])){
index b525f7b9d61622bdacc96c4031ec4906d1416932..763f0e7fa24164cbdfc9691941e073ebd7a4f26c 100644 (file)
if(count($ldap->fetch())){
$ldap->cd($dn);
- $this->cleanup();
-$ldap->modify ($attrs);
+// $this->cleanup();
+ $ldap->modify ($attrs);
}else{
$ldap->cd($dn);