Grokbase
x

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

View PostFlat  Thread  Threaded | < Prev - Next >
Peter Karman RE: [Catalyst] New auth stuff and LDAP store...
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On 09/24/2007 09:55 AM, Alan Humphrey wrote:
> 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.
>

Thanks. That works. I'm using OpenLDAP too.

However, I'm concerned about a few things.

(1) the LDAP documentation is wrong.
(2) in grokking the Authentication.pm code, I see that the LDAP modules are
still working by virtue of a lot of code labeled 'BACKWARDS COMPATABILITY' and
'old-style' and warnings about the interface eventually disappearing. These
include get_user() instead of the newer find_user() et al.

As I have the time (and who knows how long that will last...), I'd still like
to bring the LDAP plugins up to speed. I'll hack on it a bit today and see
where I get.

--
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/

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 >