 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
briz
Joined: 30 Aug 2006 Posts: 2 Location: USA
|
Posted: Tue Oct 17, 2006 5:48 pm Post subject: Liveuser with LDAP |
|
|
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 |
|
 |
|
|
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
|
|