Hey On Wed, Apr 30, 2008 at 3:49 PM, Aitch <[EMAIL PROTECTED]> wrote: > > Folks, this *can* be done if you dig deep enough. I know it is bad > karma to modify the source, but I've done it - to add LDAP > authentication capability to Auth. I even have the diffs against > 6311 :-) The trick is to look at the identify() method in auth.php. > Essentially the hard coded call to find needs to be replaced with an > if/else in two places - only 4 extra lines of "real" code, I was very > careful to use what is provided and completely minimise the hack. Wouldn't it be better to create a LdapAuth component that would inherit from Auth component instead of editing the core ?
-- Marcin Domanski http://kabturek.info --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
