The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBulletin Ldap Authentication Plugin Details »» | |||||||||||||||||||||||||
I am using vbulletin for a long time now and before there was the plugin system introduces i hacked every single version of vb to enable ldap authentication. with the introduction of the plugin system i have written a little plugin that works in every version since VBulletin 3.5. This Plugin is the buyable VBulletin Ligh Authentication from http://www.sartori.at. now its FREE.
Since its working and i will not enhance this small plugin anymore, i will make it public. If there are any enhancements, i can put it into my versioning system and update this plugin. 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
Installation Notes:
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. Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
|||
|
|||
i am sorry, but i had no time to help we had a cooling problem in our machine room, so i had some stressy days fixing broken and damaged machines..
if you need any help (if you give it one more try) ill help you. if it is possible for you and your company i can fix the problem for you. -malc |
#53
|
|||
|
|||
I'm looking at using this mod but was wondering
#1 will it work with vB 3.6.8 #2 for users authenticated by the LDAP server but not registered in vBulletin, from what I understand a new users created? If understood correctly what user group does the new user automatically get added to? |
#54
|
|||
|
|||
#1 probably yes
#2 yes, new users get created. users are added to the registered group (can be changed in the script with some vbulletin documentation reading) -fhs |
#55
|
|||
|
|||
First off....THIS IS A GREAT MOD!!!
One question that I do have is I've noticed that all the "User Registration Options" on the forum get by passed. i.e send welcome email, default registration options etc. which makes sense as you are creating a user directly in the db table. But is there anyway that I can set some of these user options and send an email notification to the admin, when the user is created and assigned to the registration group? Anyone able to help with this? |
#56
|
|||
|
|||
Sorry for the multiple post but I just ran into a small problem. My ID is setup as an administrator and when I attempt to log in the board will not take either my local vB password or my LDAP password? Any ideas? I'm able to log in directly to the admin cp which then provides rights to the forum but for some reason it doesn't by pass the LDAP for admins? Am I understanding this correctly that if you are an admin then it shouldn't use LDAP but instead use the vB id and password?
The info in my debug file is as follows: ++ ---------- START ------- ++ ++ LoginType: Normal Login ++ LdafFilter (uid=myUserID) ++ LdapServer connection successful ++ ldap bind did not succeed Does this mean that it doesn't think that my account is an admin account? |
#57
|
|||
|
|||
When I try this, I get an error saying that no password has been provided.. The form vairable is the same so I'm not sure what's going on. Any ideas?
|
#58
|
|||
|
|||
Quote:
PHP Code:
Steve |
#59
|
|||
|
|||
Great mod, but I have another slight problem.
The 'remember me' feature isn't working on my instance and I think it may be something to do with this mod. Has anyone else had the same problem? |
#60
|
|||
|
|||
Does anyone know how to modify this code to bypass the LDAP log-in for specific user groups?
|
#61
|
|||
|
|||
Fantastic mod.
Thanks malcolmx for building this. had a little bit of trouble at the start, but I have it working now for me. Thought I'd share my experience. 1.) all the installation steps were easy to follow. I got tripped up on the ldap_plugin.xml vs hooks_ldap.xml, but I realized my mistake pretty quickly. Maybe an update to the documentation to state which file gets uploaded? 2.) controller.debug.php was the key for me. A note to all you linux people out there, make sure the debug logfile exists first and that apache has permissions to write to it. I changed my debug file to /var/log/vbulletin_ldap.debug, logged in as root, so I did the following : cd /var/log/ touch vbulletin_ldap.debug chmod 666 vbulletin_ldap.debug chown apache:apache: vbulletin_ldap.debug after the chmod & the chown, I started seeing output in my .debug file. Another quick observation, I didn't have openldap-clients installed, so in reading the posts in this thread, all of the instructions of running "ldapsearch" won't work unless you have openldap-clients installed. Pretty easy from fedora: yum install openldap-clients So after that work, I'm up and running. In total, it took me ~1 hr to get everything running, which isn't bad. ldap authentication for MediaWiki took me longer. Thanks again malcolmx! -Brian |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|