bugPhamm (PHP LDAP Virtual Hosting Manager) - Bugs: bug #28553, Empty layout after login

 
 

bug #28553: Empty layout after login

Submitted by:  Emmanuel Seyman <eseyman>
Submitted on:  Mon 11 Jan 2010 12:52:32 PM UTC  
 
Category: server-sideSeverity: 3 - Normal
Item Group: version 0.5.XStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 11 Jan 2010 12:52:32 PM UTC, original submission:

If you log in Phamm with a dn, you will not get a level setting
for your session. With Phamm's default settings, the next screen
will have an empty layout (only the header and the footer will
be shown) since you need a level setting to perform most
mail-related functions and all other plugins are disabled by
default.

I believe this snippet of code (from lib/login.php) is responsible.

// @todo $proposed will be real DN and level
if (strpos($login_username, '=') && strpos($login_username, ','))
{
$proposed["dn"] = $login_username;
$proposed["login_username"] = $login_username;
}

Emmanuel Seyman <eseyman>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by eseyman (Submitted the item)
  •  

    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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1