LDAP datasource for cakePHP

By euphrate (euphrate_ylb)
This article presents a simple LDAP datasource which can be used with the cake framework (both 1.1.x and 1.2.x). With this datasource, a cake web application should be able to interact with a LDAP 'database' (such as openldap or Microsoft Active Directory) just as if it was a Sql-like database.

Page 2: Download source code

Comments 470

CakePHP Team Comments Author Comments
 

Comment

1 Good job

hi

greatings, it is a very smart way of dealing with an LDAP directory

I was looking around for some kind of stuff
articles you mentionned at beginning of your didn't fully satisfied me too

I tested your solution in an application I work on for my job, works fine et really easy to use

have fun with coding C(R)UD ^^
Posted Jul 16, 2007 by Dia
 

Comment

2 Nice work

This is a great approach to handling LDAP directories. Any word on when C*UD will be ready? Feel free to contact me privately if you would like, I am really looking forward to the completion of this!
Posted Apr 7, 2008 by Scott Sanders
 

Comment

3 CRUD

I haven't had the time to write an article for the bakery yet, but I've extended euphrate's class to cover C*UD. For now, you can read the article here:

http://memdump.wordpress.com/2008/04/26/ldap-data-source-now-with-full-crud/
Hope it helps! I'd love to see some comments from people who make use the class.
Posted May 21, 2008 by Gonzalo Servat