I was really hoping that was it, but it's still saying it can't locate the user matching the info provided.

So seeing that Catalyst::Plugin::Authentication::LDAP was superceded by Catalyst::Authentication::Store::LDAP, I take it means that C::A::Store::LDAP does the authentication too.

But looking at C::A::Store::LDAP it says that it authenticates a user if it finds the user info in the LDAP store. So it's really not even looking a the passwords. So this looks like it's not really an Authentication module. But why would an Authenticaiton module be superceeded by a Store module?

UPDATE:
As an update I see that the first step is that C::A::Store::LDAP binds with the pre-set user and password, then it reconnects with the user and password sent in second time. Here's a copy of my config in memory if that helps:
do { my $a = { "Action::RenderView" => { ignore_classes => [ "DBIx::Class::ResultSource::Table", "DBIx::Class::ResultSourceHandle", "DateTime", ], scrubber_func => sub { ... }, }, "authentication" => { default_realm => "ldap", realms => { ldap => { credential => { class => "Password", password_field => "password", password_hash_type => "SHA-1", password_type => "self_check", }, store => { binddn => "myusername\@ad.mydomain.org", bindpw => "mypassword", class => "LDAP", ldap_server => "ldap://sub.ad.mydomain.org", ldap_server_options => { onerror => "warn", timeout => 30 +}, start_tls => 0, start_tls_options => { verify => "none" }, use_roles => 0, user_basedn => "DC=sub,DC=ad,DC=mydomain,DC=org", user_field => "sAMAccountName", user_filter => "(sAMAccountName=%s)", user_scope => "one", user_search_options => { deref => "always" }, }, use_session => 1, }, }, use_session => 1, }, "disable_component_resolution_regex_fallback" => 1, "home" => "/home/me/perl_modules/MyApp", "name" => "MyApp", "Plugin::Authentication" => 'fix', "Plugin::ConfigLoader" => {}, "root" => bless({ dirs => ["", "home", "me", "perl_modules", "MyApp", "root"], file_spec_class => undef, volume => "", }, "Path::Class::Dir"), "stacktrace" => { context => 3, verbose => 0 }, "static" => { debug => 1, dirs => [], ignore_dirs => [], ignore_extensions => ["tmpl", "tt", "tt2", "html", "xhtml"], include_path => ['fix'], mime_types => {}, mime_types_obj => bless({}, "MIME::Types"), no_logs => 1, }, }; $a->{"Plugin::Authentication"} = $a->{"authentication"}; $a->{"static"}{include_path}[0] = $a->{"root"}; $a; }

In reply to Re^2: Not Authenticating - Catalyst::Authentication::Store::LDAP by awohld
in thread Not Authenticating - Catalyst::Authentication::Store::LDAP by awohld

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.