Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBulletin Ldap Authentication Plugin 1.0.1 Details »»
vBulletin Ldap Authentication Plugin 1.0.1
Mod Version: 1.01, by malcolmx (Coder) malcolmx is offline
Developer Last Online: Jan 2012 I like it Show Printable Version Email this Page

vB Version: 4.0.0 Rating: (12 votes - 3.33 average) Installs: 20
Released: 02 Jan 2010 Last Update: Never Downloads: 331
Not Supported Uses Plugins Code Changes Additional Files Re-usable Code  

This is a very small plugin for enabling ldap authentication for vBulletin Suite 4. The original version is from www.sartori.at.

if you need any help installing the plugin, please post into this thread here.

if you need any extra changes i will modify the plugin for extra charge.

In contrast to the ldap authentication from zemic my board can authenticate against every - already deployed - ldap directory without changeing the encryption type.

If the ldap user is not added in the VBulletin database, the user is automatically added the first time he authenticates against the ldap. if the user already exists then nothing is changed, except the authentication against the directory.

in the admin or moderator panel no user is authenticated against the directory.

Requirements
  • php with ldap support

Installation Notes:
  1. copy ldapAuth directory to your vb forum installation directory
  2. change the path to controller.php directory in ldap-plugin.xml
  3. copy the hooks_ldap.xml to FORUM_ROOT/includes/xml directory
  4. in login.php search for:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    add hook after if statement, becomes:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  5. activate plugin system (if not done already) in admincp
  6. in admin cp import the product at "Plugins & Products -> Download / Upload Plugins", use "Import Plugin Definitions XML File" at the bottom of the page, example import input './ldapAuth/ldap-plugin.xml'
  7. recheck if the include for controller.php is right
  8. in includes/class_bootstrap.php search for:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    and change:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    to:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  9. configure the ldap settings in: ldapconfig.inc.php
  10. test the product


Additional Notes:
If you are running a Microsoft Active Directory as Ldap server you have to change some settings to allow anonymous queries. This is described at
Novell and Microsoft


I would be happy if you support my modification in any way. Install or nominate it or donate some cents at paypal.

vBulletin 3.6 version

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
LDAP Authentication Haqa vBulletin 3.7 Add-ons 148 10 May 2013 13:50
vBulletin Ldap Authentication Plugin malcolmx vBulletin 3.6 Add-ons 116 14 Apr 2011 00:05
LDAP Authentication zemic vBulletin 3.6 Add-ons 61 08 Mar 2010 22:18

  #16  
Old 08 Feb 2010, 21:42
evilchili evilchili is offline
 
Join Date: Apr 2007
For those of you using OpenLDAP, you may need to specify:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Immediately following your call to ldap_connect. This will avoid a protocol error when binding.
Reply With Quote
  #17  
Old 08 Feb 2010, 21:58
evilchili evilchili is offline
 
Join Date: Apr 2007
Also that whole second connect/bind/search just to get the email address isn't necessary -- we already have in $searchResult. So just do:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #18  
Old 14 Mar 2010, 16:44
malcolmx malcolmx is offline
 
Join Date: May 2003
i am sorry, that i am was not that active in the last weeks. lots of work to do thanks for every one helping the other vbulletin users!

-malc
Reply With Quote
  #19  
Old 14 Mar 2010, 20:04
tuwebfacil tuwebfacil is offline
 
Join Date: Jan 2005
Just to help others, it's important to check that you have the php_ldap module, your php info should show something like this:


But I am currently having this problem:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any idea?
Attached Images
File Type: png Captura de pantalla 2010-03-14 a las 15.27.38.png (22.2 KB, 326 views)
Reply With Quote
  #20  
Old 14 Mar 2010, 20:48
malcolmx malcolmx is offline
 
Join Date: May 2003
Originally Posted by tuwebfacil View Post
Just to help others, it's important to check that you have the php_ldap module, your php info should show something like this:


But I am currently having this problem:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any idea?
show me the contents of the ldapconfig file.
-malc
Reply With Quote
  #21  
Old 14 Mar 2010, 21:07
tuwebfacil tuwebfacil is offline
 
Join Date: Jan 2005
Here is


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #22  
Old 15 Mar 2010, 20:41
FFSBC FFSBC is offline
 
Join Date: Apr 2009
Didn't work with server 2003 AD - use LDAP Authentication Mod 1.5 by Haqa

Tried this with vbulletin 4-0-2 Patch Level 1 and Server 2003 AD with no luck. Installed Haqa's LDAP mod version 1.5 (which I had previously used with version 3.8.2 without issues) and it worked on the first try without any other tweaking:

http://www.vbulletin.org/forum/showthread.php?t=196596
Reply With Quote
  #23  
Old 22 Mar 2010, 02:45
hamzi hamzi is offline
 
Join Date: Mar 2010
can ldap login work while also enabling non-ldap users to register ? Even if registration is done manually by the administrator? I like to have users who are'nt on the ldap directory to be able to be members of the forum. Any help would be much appreciated.

thanks
Reply With Quote
  #24  
Old 25 Mar 2010, 03:12
hamzi hamzi is offline
 
Join Date: Mar 2010
Originally Posted by hamzi View Post
can ldap login work while also enabling non-ldap users to register ? Even if registration is done manually by the administrator? I like to have users who are'nt on the ldap directory to be able to be members of the forum. Any help would be much appreciated.

thanks
I might have found a solution.

I have changed the 'Hook Location' for the Ldap plugin from 'ldap_login_hook(ldap)' to 'login_failure'. I presumed that this would force it to login as usual and on failure it will try ldap. This works now.

Can you see any problems with this?
Reply With Quote
  #25  
Old 29 Mar 2010, 18:11
jgarland jgarland is offline
 
Join Date: Mar 2010
These are the worst instructions I have encountered in a long time. Your target audience varies, I am not stupid, and there doesnt seem tot be that many steps, yet this thread is unclear and I couldnt get it to work. I will move on to another LDAP plugin in hopes it works. Would be great if you could write them step by step.
Reply With Quote
  #26  
Old 29 Mar 2010, 18:16
jgarland jgarland is offline
 
Join Date: Mar 2010
The are the worst instructions. Why write a program if you arent taking the time to write instructions properly. I will review other ldap plugins.
Reply With Quote
  #27  
Old 01 Apr 2010, 19:29
danlavu danlavu is offline
 
Join Date: Dec 2009
jgarland,

That is completely unnecessary, a lot of people here do this on their spare time and all we're trying to do is help. So why don't we help you get it working, because it does work and you can contribute like the rest of us and write some better documentation?
Reply With Quote
  #28  
Old 20 May 2010, 18:38
cowbert cowbert is offline
 
Join Date: May 2010
Auth works but fails to create the user if the user does not already exist in vB, so you get logged out as soon as it redirects after logging in.
Reply With Quote
  #29  
Old 24 May 2010, 20:51
kfurloni kfurloni is offline
 
Join Date: May 2010
Hi,

I have tried this add on in 4.0.0 and i'm it is not functioning.
Is there a log file i can check to see if it trying to log onto the server? how can i troubleshoot this?

Keith
Reply With Quote
  #30  
Old 27 Jun 2010, 04:23
medikdave medikdave is offline
 
Join Date: Jun 2010
Originally Posted by kfurloni View Post
Hi,

I have tried this add on in 4.0.0 and i'm it is not functioning.
Is there a log file i can check to see if it trying to log onto the server? how can i troubleshoot this?

Keith
I have the same request. Is there any way to debug the process?

Dave
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 20:18.

Layout Options | Width: Wide Color: