![]() |
Return from LONG vacation. Problems still exist. Here is current status.
a) Yes, LDAP is enabled per PHPInfo(). b) After hacking the calls to verify_authentication in includes/ldapAuth/controller.php the behaviour changes and we have varied success but new users cannot join. Here are the changes applied: Code:
$ grep -n verify_authentication controller.php Current Problem: LDAP now works for one user (previously registered) and fails for another (never registered). user kthompso is able to be deleted (via admincp or MySQL data row delete). User kthompso can then use LDAP to register and shows as logged in. Another user (never having logged in before) is able to login with LDAP and it gives a success screen, but then returns to the NON-logged in screen. The user is NOT added to the vb_users table. Why is ldapAuth/controller.php calling the variable with three parameters when 6 are required by includes/function_login.php This LDAP integration is critical to our design. Any help is appreciated. |
I'm currently having some problems getting this plugin to work as well - after logging in I only get to see an empty screen (...login.php?do=login)
If anyone has some advice or if anyone experienced this problem as well, please let me know... Thanks in advance! |
Anyone had any success modifying this to use ldap_bind instead? Then you would not have to use anonymous bind for Microsoft as an example. I've been playing around trying to change the ldap_connect to bind but not too much success unfortunately.
Cheers! |
Nice hack, works like a charm. Except...
[S]I set up vBulletin with the usual "Admin" account. After adding the hack, I logged in as myself with my LDAP ID - which automagically created my user ID in the user database. Then I logged on as Admin again gave my user ID administrative permissions. (I'll be wanting to give a couple of other users subsets of admin privledges as well). Well, what happens is that I can not log into the Admin CP with my LDAP ID. * I can log into the forums with my LDAP ID just fine. * And I can log into the Admin CP with 'Admin' just fine. * But I can't log into the Admin CP with my LDAP ID. * And I can't log into the forums with 'Admin'. My theory here is that there is a different log-in process for the Admin CP and it is trying to verify my password against the vBulletin database. Familiar with this problem? Am I just missing something?[/S] Nevermind! Missed the comment in the description that says LDAP is not used for the admin or moderation control panels. That's not going to work for me. I need it to check the LDAP directory and the database in all cases. I will settle for just checking LDAP, but would rather it check both. Sounds like I need to do some digging. |
Thought I'd throw this out there for everyone's consideration. We're looking at using vBulletin for our intranet, so LDAP became very important. What also became important is that we remove any hint of anonymity. My LDAP ID, for instance, is A000657 - which says nothing about who I am. It would be far better if my full name appeared in my profile somewhere.
So here's what I did. I added a bit of code to controller.php that would retrieve my full name, location, and title from LDAP and stick them in the additional user profile fields. Then I went into the Admin CP and made sure the user can not modify these fields. Here's what the code looks like. The attributes "l", "title", and "fullName" may be different in your configuration. PHP Code:
|
Quote:
If you are absolutly sure that all the code is correct, then the problem might be that you don't have the LDAP extension in PHP. Check your php.ini file for "extension=php_ldap.dll". If it's not there, you may need to reinstall PHP and include the LDAP extension. |
Gabbs - did you solve it? I am having the same problem and I dont have a clue.
|
he< guys, i am sorry i did not help anyone of you. was a really busy early/mid/end summer. i move to my new house, had wedding, was on honeymoon, at the university the winter semesters started, but now i do have more time again.
so anything i can help with, or any patch i should look at? any feature request? thanks to those like, zachery, who helped others out of their problems. i read that one of you added that problem with displaying the "real" name. i solved that in another version of the plugin, probably ill add that stuff later on to this realease. (small database change and template change). so then, let the postin begin :) -malc |
Quote:
-malc |
Does php have LDAP support compiled into it?
|
All times are GMT. The time now is 09:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|