gunnar: server/patches/horde HK-GW-framework_3.2_ALPHA-Fix_Prefs_for_Ingo.patch, NONE, 1.1 README_Fix_Prefs_for_Ingo.patch, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Mon Oct 1 17:48:00 CEST 2007


Author: gunnar

Update of /kolabrepository/server/patches/horde
In directory doto:/tmp/cvs-serv20974

Added Files:
	HK-GW-framework_3.2_ALPHA-Fix_Prefs_for_Ingo.patch 
	README_Fix_Prefs_for_Ingo.patch 
Log Message:
Start a horde patch directory.

--- NEW FILE: HK-GW-framework_3.2_ALPHA-Fix_Prefs_for_Ingo.patch ---
This patch is required if you want to use Ingo with the Kolab server.

diff -r f70aff109444 framework/Prefs/Prefs/kolab.php
--- a/framework/Prefs/Prefs/kolab.php	Tue Sep 25 11:52:12 2007 +0200
+++ b/framework/Prefs/Prefs/kolab.php	Tue Sep 25 11:53:21 2007 +0200
@@ -1,5 +1,6 @@
 <?php
 
+require_once 'Horde/Auth.php';
 require_once 'Horde/Prefs/ldap.php';
 require_once 'Horde/Kolab.php';
 
@@ -38,6 +39,8 @@ class Prefs_kolab extends Prefs_ldap {
                         'version' => '3',
                         'basedn' => $GLOBALS['conf']['kolab']['ldap']['basedn'],
                         'fetchdn' => true,
+                        'username' => Auth::getAuth(),
+                        'password' => Auth::getCredential('password'),
                         'searchdn' => $GLOBALS['conf']['kolab']['ldap']['phpdn'],
                         'searchpass' => $GLOBALS['conf']['kolab']['ldap']['phppw'],
                         'uid' => array('mail', 'uid'));

--- NEW FILE: README_Fix_Prefs_for_Ingo.patch ---
DESCRIPTION:

Necessary to allow Ingo to store the mail filters based on the
preference driver. This patch will never make it upstream and is just
providing a Kolab specific workaround to make Ingo work at the moment.

There are two possible solutions in order to fix this:

1) An alternative preferences driver that uses IMAP folders for
storing client configuration data (the current Preferences driver uses
LDAP). This driver has been already written but does not exist in
Horde CVS yet.

2) A specific Kolab driver that stores sieve filters in an IMAP folder.

Since 1) has been already implemented this will probably allow us to
get rid of this patch in one of the next Horde versions. 2)
nevertheless has some other interesting side effects so this might get
implemented too.

IMPACT:

Ingo will not allow you to store sieve filters without this patch.

REFERENCES:

Horde bug: 

http://bugs.horde.org/ticket/?id=5117

Wiki page:

http://wiki.kolab.org/index.php/Template:Patches_horde

Mercurial patch repository:

http://hg.pardus.de/cgi-bin/hg.cgi/horde/HORDE_3_2_ALPHA/summary

HISTORY

Submitted upstream and upstream rejected, explaining the problem with
this patch.




More information about the commits mailing list