We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

active directory integration

Development and Programming

Seamus's avatar
Seamus
47 posts
19 years ago
Seamus's avatar Seamus

Is it possible to integrate EE login with active directory? I am considering bidding on an enterprise level site that would like to provide their existing active directory database with logins to an EE powered site. Saw some rumblings awhile ago about LDAP integrationa and found this:

http://adldap.sourceforge.net/

       
ExpressionEngineer's avatar
ExpressionEngineer
148 posts
19 years ago
ExpressionEngineer's avatar ExpressionEngineer

Since EE v1.4.2 there is a hook called login_authenticate_start in the authenticate() function in cp.login.php.

I’ve used that hook a while back to handle this scenario in a small Extension: 1. authenticate username and password in AD LDAP. 2. if successful and username doesn’t exist in EE - add the member - otherwise skip to #3 3. login to EE

..of course, there are about a zillion other possible needs, but this is all I’ve had to produce.

edit: I vaguely remember having to hack something, but I can’t remember what is was, or if it was vital or just extra fluff

       
Seamus's avatar
Seamus
47 posts
19 years ago
Seamus's avatar Seamus

That’s all I needed to know. Thanks!

       
spasmoid's avatar
spasmoid
70 posts
18 years ago
spasmoid's avatar spasmoid
Since EE v1.4.2 there is a hook called login_authenticate_start in the authenticate() function in cp.login.php. I’ve used that hook a while back to handle this scenario in a small Extension: 1. authenticate username and password in AD LDAP. 2. if successful and username doesn’t exist in EE - add the member - otherwise skip to #3 3. login to EE ..of course, there are about a zillion other possible needs, but this is all I’ve had to produce. edit: I vaguely remember having to hack something, but I can’t remember what is was, or if it was vital or just extra fluff

If you could provide us with some code, we would be grateful.

       
Brent Cartier's avatar
Brent Cartier
87 posts
17 years ago
Brent Cartier's avatar Brent Cartier

Hi ExpressionEngineer,

It seems that there’s a lot of interest on the forums looking for any kind of LDAP extension.

Would you be interested in selling a version of your extension for EE 1.6.3? If so, I know I’d buy today. I realize it won’t/can’t meet everyone’s specific LDAP requirements, but it sounds like a great start.

Thanks for your time,

b

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.