gunnar: server/pear/Horde_Prefs/patches/Horde_Prefs-0.0.3dev20091215 t_Prefs_HK_GW_FixLDAPAuthForIngo.diff, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Sat Jan 23 00:09:38 CET 2010


Author: gunnar

Update of /kolabrepository/server/pear/Horde_Prefs/patches/Horde_Prefs-0.0.3dev20091215
In directory doto:/tmp/cvs-serv24892/pear/Horde_Prefs/patches/Horde_Prefs-0.0.3dev20091215

Added Files:
	t_Prefs_HK_GW_FixLDAPAuthForIngo.diff 
Log Message:
Distribute the remaining set of patches on the corresponding packages. Remove obsolete patches.

--- NEW FILE: t_Prefs_HK_GW_FixLDAPAuthForIngo.diff ---
From: Gunnar Wrobel <p at rdus.de>
Subject: [PATCH] t/Prefs/HK/GW/FixLDAPAuthForIngo

Fix the authentication with the Kolab/LDAP backend to always use the credentials of the current user. Without this it won't 
be possible to store the filters within Ingo in LDAP.

FIXME: This is only a hack. The right thing to do would be to store the filter settings within the Kolab format rather than 
the preferences.

Signed-off-by: Gunnar Wrobel <p at rdus.de>

---
 horde-webmail/lib/Horde/Prefs/kolab.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/horde-webmail/lib/Horde/Prefs/kolab.php b/horde-webmail/lib/Horde/Prefs/kolab.php
index 55075db..0ebd4fd 100644
--- a/a/horde-webmail/Prefs/kolab.php
+++ b/a/horde-webmail/Prefs/kolab.php
@@ -1,5 +1,6 @@
 <?php
 
+require_once 'Horde/Auth.php';
 require_once 'Horde/Prefs/ldap.php';
 require_once 'Horde/Kolab.php';
 
@@ -42,7 +43,8 @@ class Prefs_kolab extends Prefs_ldap {
                         'searchpw' => $GLOBALS['conf']['kolab']['ldap']['phppw'],
                         'uid' => 'mail');
 
-        parent::Prefs_ldap($user, $password, $scope, $params, $caching);
+        parent::Prefs_ldap(Auth::getAuth(), Auth::getCredential('password'),
+                           $scope, $params, $caching);
     }
 
 }
-- 
tg: (ba51448..) t/Prefs/HK/GW/FixLDAPAuthForIngo (depends on: t/SyncML/HK/GW/CombinedFixes)
-- 
TOPGIT patch commit log
=======================

commit 1f1947c6b2ead4f66d54f280b2b243f4fcb8ef1f
Author: Gunnar Wrobel <p at rdus.de>
Date:   Sun Feb 1 18:30:02 2009 +0000

    Added patch release/HK-GW-Fix_Prefs_for_Ingo.patch from the mercurial release queue.





More information about the commits mailing list