[Top][All Lists]
[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: |
Tue, 23 Jul 2002 07:39:20 -0400 |
=================== BUG #895: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=895&group_id=509
Changes by: Stefan Ekman <address@hidden>
Date: 2002-Jul-23 11:39 (GMT)
------------------ Additional Follow-up Comments ----------------------------
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'));
?>
=================== BUG #895: FULL BUG SNAPSHOT ===================
Submitted by: stekman Project: phpGroupWare
Submitted on: 2002-Jul-23 11:19
Category: None Bug Group: 0.9.14 RC3
Severity: 5 - Major Priority: None
Resolution: None Assigned to: None
Status: Open 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-Jul-23 11: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'));
?>
File Attachments
****************
-------------------------------------------------------
Date: 2002-Jul-23 11: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