haven't used them, so I couldn't say how well they work. I do know
that ActiveDirectory is microsoft's version of ldap and doesn't always
work quite the way you think it should. Personally, I use adLdap
(http://adldap.sourceforge.net/). I drop it in the vendors folder,
then create an instance of adldap in my users controller and do all my
authentication there. I've had good luck with it so far, but it's not
'cakey', so it might not be what you are looking for.
I hope that helps.
hydra12
On Nov 4, 4:11 am, Sebastian Göttschkes <sebastian.goettsch...@mpx-
e.de> wrote:
> Hi,
>
> I started using cakePHP not long ago and it's really nice. It works
> great for me and my time and effort building web apps has decreased.
> Thank you for this!
>
> Right now I got this problem: I need to authentificate not against a
> database but against a LDAP (Active Directory).
>
> In the database I got a table employees, containing all employees with
> their login name (not the password) and other data. When a employee is
> sending his login name and password, I want to authentificate him
> against the LDAP. If the password is correct AND his dataset is found
> in the table (using his login name), the login was correct and he can
> use the application.
>
> Is their an easy way to handle this task with cakePHP? I have searched
> the docs but only found the "normal" authentification against a
> database. This is not possible as there is no way for me to read the
> password from the LDAP into the database. I read something about
> models representing LDAP entries, but didn't found any information on
> that.
>
> I hope you guys can help me!
>
> Regards,
> Sebastian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment