Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Dev

Re: LDAP (was: user_field in C::P::A::Store::LDAP)

 

 

Catalyst dev RSS feed   Index | Next | Previous | View Threaded


catalyst at fadetoblack

Dec 3, 2007, 4:07 AM

Post #1 of 1 (938 views)
Permalink
Re: LDAP (was: user_field in C::P::A::Store::LDAP)

> I think the intent here is that your search results might not be unique,
> and
> so you still have to check the actual user_field to see if you have the
> right object. In practice, it's hard to see a situation where this makes
> much sense... if the search filter returned more than one object (and we
> process the filter with the login credentials) then we probably have a
> failure condition anyway.

Or at the very least you would need to try and authenticate against each
record in turn - the module as it stands at the moment only tries to auth
against the first returned result that also passed the coded user_field
filter.


That said, now I've got past LDAP auth I'm thinking about registering and
amending users. I'm looking at Model::LDAP, and it occurs to me that it
would probably be better if the Auth worked nicely with Model::LDAP. From my
first cursory glance, it looks like I'll have to reconfigure some of the
same LDAP server settings, additionally we've got code duplication where the
accessor methods are setup.

Carl


_______________________________________________
Catalyst-dev mailing list
Catalyst-dev [at] lists
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev

Catalyst dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.