[gollem] Re: Re: FTP Login Failing (backends.php)

Rense Klinkenberg r.klinkenberg@student.utwente.nl
Sun, 8 Sep 2002 02:05:48 +0200


"Rodolfo Segleau" <segleaur@mechanus.org> wrote in message
news:1031438278.3d7a7fc697043@webmail.mechanus.org...
> > ----- Message from r.klinkenberg@student.utwente.nl ---------
> >     Date: Sat, 7 Sep 2002 23:32:59 +0200
> >     From: Rense Klinkenberg <r.klinkenberg@student.utwente.nl>
> > Reply-To: Rense Klinkenberg <r.klinkenberg@student.utwente.nl>
> >  Subject: [gollem] Re: FTP Login Failing (backends.php)
> >       To: gollem@lists.horde.org
> >
> > >
> >
> > I found that adding a '=' to line 74 of horde/gollem/lib/Gollem.php
fixes
> > the error of not extracting the username from the email adres.
> >
> > Attached is the patch.
> >
>
> Rense, either the patch didn't attach correctly, or i have absolutely no
idea
> how to apply this patch...
>
> Cheers,
>
> Rodolfo
>
>

Damn, outlook. I'll post it in the message instead than.
Else try
http://home.student.utwente.nl/r.klinkenberg/files/Gollem_strip_fix.patch

enjoy,

Rense



Index: Gollem.php
===================================================================
RCS file: /repository/gollem/lib/Gollem.php,v
retrieving revision 1.63
diff -u -r1.63 Gollem.php
--- Gollem.php 20 Aug 2002 02:02:28 -0000 1.63
+++ Gollem.php 8 Sep 2002 00:02:34 -0000
@@ -71,7 +71,7 @@
                                $gollem['params']);
         if (!empty($gollem['hordeauth'])) {
             $uid = Auth::getAuth();
-            if ($gollem['hordeauth'] != 'full' &&
+            if ($gollem['hordeauth'] !== 'full' &&
                 ($pos = strpos($uid, '@')) !== false) {
                 $uid = substr($uid, 0, $pos);
             }