PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Liveuser with LDAP

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Authentication
View previous topic :: View next topic  
Author Message
briz



Joined: 30 Aug 2006
Posts: 2
Location: USA

PostPosted: Tue Oct 17, 2006 5:48 pm    Post subject: Liveuser with LDAP Reply with quote

I have LiveUser configured to authenticate using Postgresql and then LDAP (through the PEARAuth wrapper and configured to look like Novell eDirectory) as back ends. Both of those were experiences to set up.

I have config.php configured with the LDAP params item 'attributes' set to return the array 'groupMembership' when a user is authenticated and the data are successfully retrieved and processed inside Auth::LDAP.php in a loop that uses the Auth.php line
$this->_auth_obj->setAuthData($attibuteName,$attributeValue);
to set the values in a session.

I am trying to hack a way to process the group memberships in LDAP for comparison with the group permissions for an application (page) in LiveUser. The whole point of using LiveUser is to work with groups and they are stored in eDirectory. How do I get at the stored values, if they are even stored. Auth.php seems to try to set a second session and I get the error messages:

Warning: session_regenerate_id(): Cannot send session cookie - headers already sent by (output started at /usr/share/php/LiveUser.php:572) in /usr/share/php/Auth.php on line 725

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/php/LiveUser.php:572) in /usr/share/php/Auth.php on line 749

Any ideas on how to hack this, short of writing a whole native LDAP driver?
Thanks,
Jim
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Authentication All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software