EllisLab text mark
Advanced Search
     
New extension: EE 2.0 LDAP
Posted: 06 July 2010 02:14 PM   [ Ignore ]
Joined: 2010-03-03
5 posts

I have been working on a 2.0-compatible version of the ee-ldap-extension hosted at google code. I posted my changes there but haven’t heard back from the developers. I could really use some feedback on the approach as I haven’t worked on EE before. Does this look like a good start?

Add a user to the “non-ldap users” in settings before enabling this extension, so you can still log in to the CP if there is an issue with the implementation or with your LDAP settings.

Thanks!

File Attachments
ldapee.zip  (File Size: 5KB - Downloads: 182)
 
Posted: 06 July 2010 07:38 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2008-02-28
2331 posts

Hi there,
trying to test out…now getting
URL: system/index.php?S=0&D=cp&C=login&M=authenticate
—-
Connecting to LDAP…
—-
And can not login into CP…it is a sandbox so no biggie but just an FYI

 Signature 

Defeat is a state of mind; no one is ever defeated until defeat has been accepted as a reality.

 
Posted: 06 July 2010 11:02 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2010-03-03
5 posts

Thanks for trying it out… sorry it blocks login. In the extension settings you can specify usernames that don’t use ldap to help debug, but that only works if you can log in to the CP to begin with! Maybe the extension should require a non-ldap-username be specified before it can be enabled, if possible.

 
Posted: 07 July 2010 09:26 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2008-02-28
2331 posts

It was not a big deal as long as super admin is logged in…if you log out it becomes an obstacle.
Easy to remove the extension through db but I am sure it will throw off some users. Have not had a luck to connect but it could my settings…it has been a while since I messed with ldap.

 Signature 

Defeat is a state of mind; no one is ever defeated until defeat has been accepted as a reality.