[rt-users] Implementing LDAP Authentication in RT 4.0.2
Izz Abdullah
Izz.Abdullah at hibbett.com
Fri Sep 16 11:23:08 EDT 2011
Ok...so I changed it to:
Set($ExternalAuthPriority, ['My_LDAP']);
Set($ExternalInfoPriority, ['My_LDAP']);
#and for weird one off testing, since it is a list, I even tried ['My_LDAP',]; by adding a comma to denote a list of one item.
I am still receiving "Can't use string ("My_LDAP") as a HASH ref while "strict refs" in use at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 63."
Line 63 is:
my $config = $RT::ExternalSettings->{$service};
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Friday, September 16, 2011 10:07 AM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Implementing LDAP Authentication in RT 4.0.2
On Fri, Sep 16, 2011 at 09:51:11AM -0500, Izz Abdullah wrote:
> Here is the LDAP config porting in my RT_SiteConfig file:
>
> Set($ExternalAuthPriority, 'My_LDAP');
>
> Set($ExternalInfoPriority, 'My_LDAP');
Those aren't correct. From the example config:
Set($ExternalAuthPriority, [ 'My_LDAP',
The [ is important, you're returning a list of 1 item, not a single item. Make sure you also keep the closing ].
-kevin
More information about the rt-users
mailing list