View Full Version : Active Directory Authentication
upnorth
01-21-2008, 06:28 PM
Does anyone know of a hack for implementing active directory authentication on a vBulletin forum? I've done a lot of searching and all I can find is a couple of LDAP ones.
Any help would be greatly appreciated.
Zebra
01-31-2008, 11:09 AM
We are looking also for this.. I think there is a market for it...
cheesegrits
01-31-2008, 05:25 PM
I've actually been researching this recently. The problem is that by default AD stores the users password in simple unicode representation of the cleartext password. But vB MD5 hashes the password in the browser before sending it to login.php.
I think if you install Services for UNIX (SFU) on your AD, it can be configured to keep an MD5 hashed password in a new msSFU30password field. However, to retireve and compare this attribute you would have to use LDAPS rather than LDAP, i.e. configure a cert on your AD.
Anyway, I'll update this thread as and when I make any progress on this.
An alternative would be to build a mod which uses SAMBA's ntlm_auth or winbind mechanisms. Again, more news if I make any progress on that.
-- hugh
Zebra
02-04-2008, 08:46 AM
We don't use UNIX etc. only windows with AD. But we hope that we find something.
Otherwise VB is exit..
cheesegrits
02-04-2008, 04:15 PM
Well the "Services For UNIX" on the AD doesn't imply that you have to be running UNIX. What it does is add some functionality to the underlying LDAP store that makes it easier for non-Windows apps to play in the same LDAP sandbox. Specifically, it gives you the option of storing a copy of the windows password in MD5 hashed format, which solves the problem I outlined above.
-- hugh
malcolmx
05-06-2008, 03:13 PM
to make it short. you can authenticate against active directory with ldap. Active directory is an ldap server with some extensions. so MS did the same as usual. take existing ideas, add something new and start the marketing..
i wrote an ldap plugin, which is available here. if you have any questions regarding this topic, do not hesitate to contact me.
https://vborg.vbsupport.ru/showthread.php?t=148573
maybe i did not understand the question? when authenticating it doesnt matter if the password is md5, sha or any other hash.
-malc
dellusionaldude
06-12-2008, 11:48 PM
Thanks, MalcolmX. Is this available for vb 3.7?
toscodav
03-08-2010, 03:20 PM
With this Plugin, Does the user still have to enter the username and Password?
We are looking for a single sign-on solution where the user is auto logged in when they log
into their PC.
to make it short. you can authenticate against active directory with ldap. Active directory is an ldap server with some extensions. so MS did the same as usual. take existing ideas, add something new and start the marketing..
i wrote an ldap plugin, which is available here. if you have any questions regarding this topic, do not hesitate to contact me.
https://vborg.vbsupport.ru/showthread.php?t=148573
maybe i did not understand the question? when authenticating it doesnt matter if the password is md5, sha or any other hash.
-malc
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.