MyBB Community Forums

Full Version: Updated LDAP module for OpenLDAP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
^ do you mean that the plugin is not showing install & activate option ?
which type of database you are using ? [it is shown at the home page of forum admin panel]
(2020-02-04, 04:01 PM)bschalck Wrote: [ -> ]
(2017-09-21, 09:18 PM)mvreijn Wrote: [ -> ]Important Notice

For those who stumble upon this thread in search of an LDAP module, I have rounded up all code and created an official plugin from it.

MyBB LDAP Authentication: https://community.mybb.com/mods.php?acti...w&pid=1043


Hello,

I wanty to use it, but when I paste the file in inc/plugins/, I got an error


SQL Error: 0 - ERREUR: la colonne « mybbldap_ldapserver » n'existe pas LINE 1: SELECT * FROM mybb_settings WHERE name="mybbldap_ldapserver" ^
Query: SELECT * FROM mybb_settings WHERE name="mybbldap_ldapserver"


Do you know why ?
Im getting the same error. Im using Postgresql, did you manage to solve it ?

(2020-02-05, 08:11 AM).m. Wrote: [ -> ]^ do you mean that the plugin is not showing install & activate option ?
which type of database you are using ? [it is shown at the home page of forum admin panel]
yes, the plugin does not show and instead it shows that error he mentioned.
I can't get this to work. Is there exact instructions on how to setup and configure this?
This plugin have a bug, if you use with proxy dn and password:

$dn = $user["dn"];

should be replaced with

$dn = ldap_get_dn($ld, $user);

Reason: ldap_first_entry will return a resource, not an array.
Pages: 1 2