[imp] Turba -> IMAP

Atif Ghaffar aghaffar@developer.ch
Wed, 18 Apr 2001 23:55:12 +0200


---------------------- multipart/mixed attachment
Hi James.

Here is a hack, I mean patch.
Apply it in horde/lib directory
patch < Auth.patch

this will allow you to use Turba from imp without logging to Horde, but
will not work if you are not logged into imp.


cheers



James Tavares wrote:
> My issue is one of after logging into IMP, I am prompted for a password=
 to use Turba. I can set Horde Authentication to IMAP and reenter by user=
name and password to successfully logon, but I know somewhere someone som=
ehow has got it all linked up.

-- =

Atif Ghaffar
Internet Development Manager
4unet AG/SA/Ltd.
-------------------------.
        +41 21 351 53 60 =A6 voice
        +41 78 787 51 45 =A6 mobile
        +41 86 0796598972=A6 fax
    http://www.4unet.net =A6 www
http://atif.developer.ch =A6 homepage
  atif.ghaffar@4unet.net =A6 email
---------------------- multipart/mixed attachment
--- Auth.php	Wed Apr 18 23:51:38 2001
+++ Auth.php.atif	Tue Apr 10 01:11:38 2001
@@ -174,11 +174,6 @@
      */
     function getAuth($realm = null)
     {
-	if (isset($GLOBALS['HTTP_SESSION_VARS']['imp']['user'])){
-		return $GLOBALS['HTTP_SESSION_VARS']['imp']['user'];
-	} else {
-		return false;
-	}
         if (!empty($realm)) {
             if (isset($GLOBALS['HTTP_SESSION_VARS']['__auth'][$realm])) {
                 if (!empty($GLOBALS['HTTP_SESSION_VARS']['__auth'][$realm]['authenticated']) &&

---------------------- multipart/mixed attachment--