Commit 56d0d416 authored by Thomas Sibley's avatar Thomas Sibley
Browse files

Disable RT::Authen::ExternalAuth while importing users from LDAP

Avoids extra user canonicalization calls which often go back to an
external info source, such as the same LDAP directory we just fetched
the info from.

This does mean you can no longer implement configurations where you
import from LDAP and use ExternalAuth to fetch different user info from
another source, but I think that's an acceptable tradeoff.
parent c646bd47
......@@ -11,6 +11,12 @@ BEGIN {
use lib '/opt/rt3/local/lib /opt/rt3/lib';
use RT;
RT::LoadConfig;
# Avoid extra user canonicalization calls by disabling RT::Authen::ExternalAuth
# while we import users from LDAP
@RT::Plugins = grep { $_ ne 'RT::Authen::ExternalAuth' }
@RT::Plugins;
RT::Init;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment