![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| [MOD] LDAP Integration Greetings all, I've whipped up an LDAP integration module. It's entirely based on the WikiMedia LDAP plugin and all I've done is modify a few bits to work with Pligg. See here for more details Basically it validates the user against the LDAP and then if the user exists in the Pligg DB it will update the details with the latest password & email address. If not it will create a new user. Pligg will then continue on it's normal login procedure and validate the details against the newly created/edited user. This method provided minimal disruption to the core Pligg code. The code snippet below needs to be added to the Authenticate function in /libs/login.php to add a new hook for Pligg to use on authentication. Quote:
I have configured and tested it in my environment only. It may or may not support all of the functionality provided by the wikimedia plugin. I do not plan on making any improvements to this module as I am setting things up for a short term test environment. |
| Sponsored Links |
| ||||
| Great work and thanks for sharing, will try and report in here.
__________________ Get the latest Pligg nightly - updated daily and packed as an archive | Help to translate Pligg to other language Meme or Lame Magazine - a top rated niche site that sends more traffic - citizen media for Gizmophiles Have a Mobile phone try Dollars 5 Complete software to make your mobile complete |
| |||
| after install this module and edit the login.php and also the ldap.dll enable . am i need set the ldap_seeting.php ? i am not sure about the LDAP server name ? who should i check in my company? network admin? |
| |||
| Good work on adapting this mod. Thanks! |
| |||
| My LDAP server does not use any TLS or SSL, so I setup ldap_settings.php as: $LDAPEncryptionType = array("myhost" => "clear"); However, when I try to login as a user, I receive: Warning: ldap_start_tls() [function.ldap-start-tls]: Unable to start TLS: Can't contact LDAP server in /var/www/pligg/modules/ldap/ldap_main.php on line 166 What am I missing? |
| |||
| Found my issue, in ldap_main.php, you need to specify your domain: $_SESSION["LDAPDomain"] = "myhost"; |
| |||
| Hello, I have the LDAP integration working however the user's 'email' address/attribute is not being written to the local pligg database. Does anyone have some expertise with this module? Last edited by jalemathai : 05-13-2008 at 12:39 AM. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHPBB Integration with Pligg | Yankidank | Drawing Board | 64 | 06-07-2008 05:54 AM |
| LDAP integration guidance | kartiksubbarao | Core Development | 3 | 05-28-2008 10:58 AM |
| Pligg integration with SMF Forum | autoinc | Pligg Mods | 64 | 05-19-2008 01:22 AM |
| Flasm mp3/flv player integration | bgg | Suggestions | 1 | 03-06-2008 04:55 AM |
| Ldap ? | skelley | General Help | 3 | 09-10-2007 03:35 AM |




Linear Mode

