MyBB Community Forums

Full Version: Need help with LDAP Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everybody

For my forum I need authentication against a LDAP Directory.
I have a lot of experience with PHP and LDAP but I am new to MyBB.

Since I am going to release the plugin to the public I hope to get some support from the community.

The first question I have is where to start. Is it possible to use hooks for the authentication and registration process or do you need to replace files?

I appreciate any help!

Thanks.
*bump*
Not really sure if this is what you want but yes there are hooks in the member.php file and in the inc/datahandler/user.php file too
Hi Headie,
You can do it either with plugin hooks, or Welcome to the MyBB Integrator / MyBB SDK / MyBB API
http://phpdave.com/MyBBIntegrator/
Obviously, authentication alone isn't enough, you'll need to create the existing accounts in MyBB and figure out user-sync for all new members in the future.

~60 to 80% of this is "really easy", but finishing all the details can eat up some time. Hope you can get it finished.