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 |
#82
|
|||
|
|||
Hello there,
first: Thank you very much for this plugin. It's quite useful But I've got a problem. I just wanted to authenticate the admins against the LDAP, too, and tried the hint to comment out the following part: PHP Code:
The normal password - which worked before this change - does not work any more [what is quite logical ]... Can anyone help, please? Thanks a lot in advance! |
#83
|
|||
|
|||
I'm having trouble getting logged in. This, like another user here, is critical to a program we are working on internally.
++ -------- START -------- ++ ++ LoginType: Normal Login ++ LdapFiler: (cn=test) ++ LdapServer: connection successful ++ presearch /t Resource id #22,cn=test,cn=users,DC=pmac,DC=internal,(cn=test) ++ LdapSearch: there is no such user in the directory I get that in the debug. I've also based the search base just dc=pmac,dc=internal and placed the "test" user up in the top of the domain. The username is "test" and the cn is also test (according to ldp.exe). I get a word that there is a connection with no problem, but that the user does not exist. Weird. Any help is greatly appreciated. |
#84
|
|||
|
|||
Quote:
the dn is not right. that ,(cn=test) seems really wrong. what is the full dn to your user? (maybe ldp.exe show it). please post the content of the ldap config file (from my module). -malc |
#85
|
|||
|
|||
Expanding base 'CN=test,DC=pmac,DC=internal'...
Result <0>: (null) Matched DNs: Getting 1 entries: >> Dn: CN=test,DC=pmac,DC=internal 4> objectClass: top; person; organizationalPerson; user; 1> cn: test; 1> description: leave me for randyc; 1> givenName: test; 1> distinguishedName: CN=test,DC=pmac,DC=internal; There is a snippet of the ldp.exe results. this is only a test account I'm trying this with. |
#86
|
|||
|
|||
Also, here is some more info:
Warning: ldap_search() [function.ldap-search]: Search: Operations error in [path]/ldapAuth/controller.php on line 49 Warning: ldap_get_entries(): supplied argument is not a valid ldap result resource in [path]/ldapAuth/controller.php on line 50 That is the debug controller.php. I turned on PHP debugging for the server, so now it is spitting hte errors out. |
#87
|
|||
|
|||
bump -- anyone able to shine some light?
|
#88
|
|||
|
|||
Is it possible to use both this and the built in database?
We want both our employees and outside users to be able to sign up and use this service. |
#89
|
|||
|
|||
Quote:
Code:
cn=test,cn=users,DC=pmac,DC=internal,(cn=test) thanks -malc |
#90
|
|||
|
|||
Quote:
search for the ldap user (if not found) -> make internal auth -malc |
#91
|
|||
|
|||
MalcomX,
Sorry to have bugged this month. After two days of constant tweaking, I've made a change to the script. My final problems lie here: At the end of controller.php when it calls upon function_login.php from VB, it is giving errors about missing arguments. I get these, however, I can still login no problem. Essentially, if I shut off verbose error reporting, I can use this script error free :-). Do you want a copy of the changes I've made? For whatever reason, before ldap_search I had to ldap_bind with a username/password in order to be able to search below the base of the tree. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|