If you have "use strict;", it just means that you have to explicitly define your variables before you use them. That means that you either have to have a section where you define the variables that you're going to use such as:

my $foo;
my $bar;
my $baz;

or you have to define it the first time it's used (and only the first time), such as

#do some things
my $foo="bar";
$foo="baz";

It's designed to make sure that you don't have typos inside your variable names and is mostly just a matter of style more than anything else. That doesn't address your LDAP issue, but should help to show why the fatal error was occurring.

Aaron Zuercher wrote:
A followup:

I looked at the User_Vendor.pm file in the error and commented out the "use strict;" line at the beginning of the file. now I can login as root but not LDAP. I'm not a programmer so I don't understand the sigificance of that statement. Will my "fix" cause any other errors/problems? Is there a better option?

Thanks



On Wed, Nov 5, 2008 at 1:48 PM, Aaron Zuercher <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi guys,
    I've been following the discussions about ExternalAuth with great
    interest as I"ve been slowly working to move my 3.6.0 install to
    the most current version.  I'm trying to setup ExternalAuth to
    LDAP currently.  When its enabled I get this message in the
    browser when I try to login:

    Can't use string ("My_LDAP") as an ARRAY ref while "strict refs"
    in use at
    /opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm
    line 728, line 273.

    I cannot login as root (local) or LDAP.  I installed ExternaAUth
    v006 which I understand has a bug in it but i'm not sure if this
    is the same error or something different.  Can somone point me in
    the right direction?

    Thanks,
    Aaron


------------------------------------------------------------------------

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to