Peter Karman wrote:
On 01/24/2008 03:45 PM, Andrew Peebles wrote:
Peter Karman wrote:
On 01/24/2008 02:49 PM, Andrew Peebles wrote:
perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 23 Jan 2008 23:30:57 GMT
Warning: Cannot install Catalyst::Authentication::Store::LDAP, don't
know what it is.
you forgot the ::Plugin part
My original email stated the error message coming from Catalyst, I just
cut-n-pasted it:
[warn] Store class "Catalyst::Authentication::Store::LDAP" not found,
trying deprecated ::Plugin:: style naming.
Then I tried to install the package listed in the warning ... ???
what does your config and 'use Catalyst qw( ... )' look like?
The default Authentication plugin will try and load the Store and Credential plugins from
the config, IIRC.
use Catalyst qw/
-Debug
ConfigLoader
Static::Simple
StackTrace
Authentication
Authentication::Store::LDAP
Authentication::Credential::Password
Authorization::Roles
Authorization::ACL
Session
Session::Store::FastMmap
Session::State::Cookie
/;
Config in the yml file, pretty much cut-n-paste from the new doc ...
class: Password for credentials and
class: LDAP for store
a
|
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/