Grokbase
x

RE: [Catalyst] New auth stuff and LDAP store...

View PostFlat  Thread  Threaded | < Prev - Next >
Alan Humphrey RE: [Catalyst] New auth stuff and LDAP store...
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Here's what's working for me:


authentication:
   default_realm: users
   realms:
      users:
         credential:
            class: 'Password'
            password_type: 'self_check'

         store:      
            class: LDAP::Backend
            ldap_server: 'ldap://localhost:389'
            user_basedn: 'dc=birdwebdev,dc=dnsalias,dc=org'
            binddn: 'cn=admin,dc=birdwebdev,dc=dnsalias,dc=org'
            bindpw: 'xxxxx'


Note in particular the store class name.

FWIW, I'm using OpenLDAP.

- Alan



> -----Original Message-----
> From: Peter Karman [email protected: p...@peknet.com]
> Sent: Monday, September 24, 2007 7:33 AM
> To: The elegant MVC web framework
> Subject: Re: [Catalyst] New auth stuff and LDAP store...
>
>
>
> On 07/21/2007 10:02 PM, Jay K wrote:
> > For the benefit of the list:
> >
> > This issue has been resolved. It turned out to be a disagreement
> > between what C::P::Authenticaiton was trying to place in $user->store
> > () and what LDAP was trying to place in $user->store()
> >
> > LDAP was correct, and C::P::Authentication should keep it's grubby
> > little hands off of $user->store() - I am pushing a maintenance
> > release of C::P::Authentication to CPAN now. Should be available
> > from CPAN in a few hours.
> >
>
> I am now trying to use ::Store::LDAP 0.04 with ::Authentication 0.10002
> and I
> cannot seem to get the config right. I just asked about this on
> #catalyst and
> was advised to use the older pre-0.1 base Authentication plugin.
>
> I have a feeling I'm just not getting the config right. But if it is is
> more
> systemic than that, and the LDAP plugins need some help getting up to
> the
> latest Authentication API, I have tuits to spend on it and would gladly
> contribute code/tests/docs if I was told those were needed, and given a
> pointer
> to where to start.
>
> TIA
>
> --
> Peter Karman . [email protected: p...@peknet.com] . http://peknet.com/
>
>
> _______________________________________________
> List: [email protected: Cat...@lists.rawmode.org]
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-
> archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/


_______________________________________________
List: [email protected: Cat...@lists.rawmode.org]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Thread : Re: [Catalyst] New auth stuff and LDAP store...
1)
Peter Karman I am now trying to use ::Store::LDAP 0.04 with ::Authentication 0.10002 and I cannot seem to get...
2)
Alan Humphrey Here's what's working for me: authentication: default_realm: users realms: users: credential:...
3)
Peter Karman Thanks. That works. I'm using OpenLDAP too. However, I'm concerned about a few things. still...
4)
Adam Jacob I'll be happy to commit any of your patches and get a new release pushed out to CPAN. Adam...
5)
Peter Karman These patches seem to bring the LDAP plugins up the latest Authentication API, to support realms,...
6)
Peter Karman heh. that should be 'preferred' not 'preferred deprecated'. :/ +=head2 find_user($id) +Creates a...
7)
Adam Jacob Anyone willing to give this a test run and let me know if things are working correctly for them? I...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >