phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #895] Bug in anon_wrapper.php


From: nobody
Subject: [Phpgroupware-tracker] [Bug #895] Bug in anon_wrapper.php
Date: Sun, 15 Sep 2002 20:02:09 -0400

=================== BUG #895: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=895&group_id=509

Changes by: Mark A Peters <address@hidden>
Date: 2002-Sep-15 20:02 (EST5EDT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | skeeter
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed this by applying patch #517

https://savannah.gnu.org/patch/index.php?func=detailpatch&patch_id=517&group_id=509

Thanks,
Mark A Peters (Skeeter)



=================== BUG #895: FULL BUG SNAPSHOT ===================


Submitted by: stekman                   Project: phpGroupWare                   
Submitted on: 2002-Jul-23 07:19
Category:  API - phpGWapi               Bug Group:  0.9.14 RC3                  
Severity:  5 - Major                    Priority:  None                         
Resolution:  Fixed                      Assigned to:  skeeter                   
Status:  Closed                         Component Version:  None                
Platform Version:  Linux - RedHat       Reproducibility:  None                  

Summary:  Bug in anon_wrapper.php

Original Submission:  The anon_wrapper.php for anononymous logins does not 
work. The variable $login is deleted somewhere before the new session is 
created and the session->create needs to know that the passwd_type as text to 
make the correct authorization.

Patchfile attached.



Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Sep-15 20:02             By: skeeter
Fixed this by applying patch #517

https://savannah.gnu.org/patch/index.php?func=detailpatch&patch_id=517&group_id=509

Thanks,
Mark A Peters (Skeeter)

-------------------------------------------------------
Date: 2002-Sep-11 01:52             By: skwashd
Patch added to patch manager.

See:
https://savannah.gnu.org/patch/?func=detailpatch&patch_id=517&group_id=509

Thanks for that stekman.

-------------------------------------------------------
Date: 2002-Jul-23 07:39             By: stekman
In the "how to submit patches"-document I found that the patch should not be 
attached, instead included, so here it is again:

diff -aburN --exclude='CVS*' phpgroupware.old/anon_wrapper.php 
phpgroupware/anon_wrapper.php
--- phpgroupware.old/anon_wrapper.php   Wed Feb  6 17:07:06 2002
+++ phpgroupware/anon_wrapper.php       Tue Jul 23 13:52:57 2002
@@ -17,9 +17,6 @@
        // Global disabler
        // Detect bad logins and passwords, spit out generic message
 
-       // If your are going to use multiable accounts, remove the following 
lines
-       $login  = 'anonymous';
-       $passwd = 'anonymous';
 
        $GLOBALS['phpgw_info']['flags'] = array(
                'disable_Template_class' => True,
@@ -29,6 +26,12 @@
        );
        include('./header.inc.php');
 
-       $sessionid = $GLOBALS['phpgw']->session->create($login,$passwd);
+       // If your are going to use multiable accounts, remove the following 
lines
+       // You must create the useraccount and check its permissions before use
+       
+       $login  = 'anonymous';
+       $passwd = 'anonymous';
+
+       $sessionid = $GLOBALS['phpgw']->session->create($login,$passwd,'text');
        $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php'));
?>


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: 2002-Jul-23 07:19  Name: patchfile.diff  Size: 0KB   By: stekman
Patch against 0.9.14RC4
http://savannah.gnu.org/bugs/download.php?group_id=509&bug_id=895&bug_file_id=55


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=895&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]