<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>fixes/enhancements for vacation ldap driver</title> 
  <pubDate>Fri, 10 Apr 2026 13:36:26 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1648</link> 
  <atom:link rel="self" type="application/rss+xml" title="fixes/enhancements for vacation ldap driver" href="https://bugs.horde.org/ticket/1648/rss" /> 
  <description>fixes/enhancements for vacation ldap driver</description> 
 
   
   
  <item> 
   <title>As suggested by Chuck, I upload my modifications to this bug</title> 
   <description>As suggested by Chuck, I upload my modifications to this bugzilla.



config/conf.xml

Added missing and new non-hard coded configuration values





lib/Driver.php

function isEnabled()

Check vacation flag: &#039;Y&#039; / &#039;N&#039; value is now configurable, but I didn&#039;t remove

the old hard coded values for backward compatibility with other drivers.





lib/Driver/ldap.php

Constructor Vacation_Driver_ldap:

The ldap class uses $this-&gt;_params, the parent class uses $this-&gt;params. This

leads to problems while trying to access values in the parent class.

I wasn&#039;t sure if I should replace this var everywhere inside the ldap class.

So I decided to do an array_merge($this-&gt;params, $this-&gt;_params) of both vars.

If there is no explicit reason I would like to get rid of $this-&gt;_params and

change it to $this-&gt;params. Just let me know :)



function setVacation() / unsetVacation()

UTF-8 encoding: removed the hard coded ISO-8859-1 to UTF-8 (or backwards)

translation. The reason for this is, that if the page gets served as UTF-8 (or

other non-ISO-8859-1 encoding), the browser will encode all form values with

this encoding. This leads to double UTF-8 or other broken encoding.

Both functions are trying to detect the encoding, before they convert to UTF-8.



function _getVacation():

removed hard coded DN in ldap_search(), that&#039;s why $realm was also necessary

to this function.



function _setVacationAlias() / _unsetVacationAlias():

These are the two new functions, with the purpose for creating special mail

aliases, if necessary. They don&#039;t affect the current driver, if not used.



Just send me an email, in case of problems/questions :)</description> 
   <pubDate>Wed, 30 Mar 2005 09:41:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1648#t6749</link> 
  </item> 
   
  <item> 
   <title>I&#039;m sorry, but here&#039;s another patch for lib/Driver/ldap.php:</title> 
   <description>I&#039;m sorry, but here&#039;s another patch for lib/Driver/ldap.php:

The function _getVacation() generates errors, if the ldap attributes/values (for the message and the activation status) aren&#039;t present (ex. a new user, want&#039;s to display the vacation for the first time).

This patch takes care of this, so you wont get any errors, in this case.



Please use this patch for lib/Driver/ldap.php instead the one I&#039;ve posted befor for this class.



I&#039;m sorry for any circumstances caused!</description> 
   <pubDate>Wed, 30 Mar 2005 14:04:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1648#t6752</link> 
  </item> 
   
  <item> 
   <title>There was an other issue with the decoding of the ldap vacat</title> 
   <description>There was an other issue with the decoding of the ldap vacation message. So here&#039;s the new diff for the ldap driver. I&#039;m sorry, that it wasn&#039;t included in the previous patch.</description> 
   <pubDate>Mon, 04 Apr 2005 16:07:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1648#t6910</link> 
  </item> 
   
  <item> 
   <title>I&#039;m a bit lost as to what&#039;s in what file and how many are ne</title> 
   <description>I&#039;m a bit lost as to what&#039;s in what file and how many are needed. Please upload *one* diff, containing all of the changes, in unified format (diff -u). Thanks.</description> 
   <pubDate>Mon, 30 May 2005 04:31:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1648#t8689</link> 
  </item> 
   
  <item> 
   <title>OK, here it goes. The diff was made against the latest CVS c</title> 
   <description>OK, here it goes. The diff was made against the latest CVS code...

Sorry for the previous mess.</description> 
   <pubDate>Mon, 30 May 2005 13:19:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1648#t8700</link> 
  </item> 
   
  <item> 
   <title>Cleaned up a little and committed - thanks very much for the</title> 
   <description>Cleaned up a little and committed - thanks very much for the patch and taking the time to resubmit it.</description> 
   <pubDate>Mon, 30 May 2005 18:34:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1648#t8706</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
