bugphpGroupWare - Bugs: bug #9687, Can not login after setup run with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9687: Can not login after setup run with register_globals turned off with LDAP Authentication

Submitted by:  None
Submitted on:  Mon 19 Jul 2004 01:36:40 AM UTC  
 
Item Group: 0.9.16.001Category: API - Setup
Severity: 4 - ImportantPriority: 7 - High
Status: Works For MePrivacy: Public
Assigned to: Philipp Kamps <fipsfuchs>Open/Closed: Closed
Component Version: BZIP2Operating System: GNU/Linux - RedHat/Fedora
Reproducibility: NonePlanned Release: None
Fixed Release: 

Wed 28 Jul 2004 09:09:35 AM UTC, comment #4:

I don't get the error. I can log in with the account I created in with the setup_demo script.

It would help if we would know which menu point in the gui provoked this bug...

The bug points to class_contacts_sql and not to LDAP in any case.

Philipp Kamps <fipsfuchs>In charge of this item.
Wed 28 Jul 2004 08:48:12 AM UTC, comment #3:

My dev install is register_globals = off. Setup is register_globals = off safe. I spent a fair bit of time making sure they would work with register_globals = off in 16.

login with SQL accounts in 16 works with register_globals = off

Side note, I fixed ldapmodify to work with the new schema in 001, ldap import/export need to be checked.

Dave Hall <skwashd>
Project Administrator
Wed 28 Jul 2004 08:39:12 AM UTC, comment #2:

I'm pretty sure that the setup scripts won't work with
register_globals = off. These scripts are very poor. I'm not sure if it is worth to debug errors like this one in theses scripts. If somebody provides a patch - I'm happy to apply it.

Philipp Kamps <fipsfuchs>In charge of this item.
Tue 27 Jul 2004 02:36:13 PM UTC, comment #1:

I will try with register_globals turned off ASAP to confirm this.

Btw the error is very strange LIMIT 15 is only a part of a request, so ... some values are dropped I guess.

Not sure if this is a LDAP error though, so I assinged to fipsfuch, but we need more info I think.

Hope I'm clear :)

Caeies

Caeies <Caeies>
Project Administrator
Mon 19 Jul 2004 01:36:40 AM UTC, original submission:

With register_globals turned off, after going through the setup process, choosing LDAP as the authentication type, and adding LDAP users and groups to the MySQL database, users receive the following error when logging in:

Database error: Invalid SQL: LIMIT 15
MySQL Error: 1064 (You have an error in your SQL syntax near 'LIMIT 15' at line 1)
File: /var/www/phpgroupware/phpgwapi/inc/class.contacts_sql.inc.php
Line: 862
Session halted.

Dropping all the tables from the database, turning on register_globals and going through setup again fixed the problem.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 14 Dec 2004 02:53:42 PM UTCfipsfuchsStatusNone=>Works For Me
  Open/ClosedOpen=>Closed
Wed 28 Jul 2004 08:48:12 AM UTCskwashdAssigned toNone=>fipsfuchs
Wed 28 Jul 2004 08:48:11 AM UTCskwashdSeverity2 - Minor=>4 - Important
Wed 28 Jul 2004 08:39:12 AM UTCfipsfuchsSeverity3 - Normal=>2 - Minor
  Assigned tofipsfuchs=>None
Tue 27 Jul 2004 02:36:12 PM UTCCaeiesAssigned toNone=>fipsfuchs

Back to the top


Powered by Savane 3.1-cleanup1