[rt-users] Problem with external authentication
Senoner Samuel
Samuel.Senoner at eurac.edu
Mon May 3 06:28:07 EDT 2004
After you set webexternalauth, did you stop and started your web server? restart is not enough.
SAmuel
-----Original Message-----
From: Marco Marongiu [mailto:bronto at tiscali.com]
Sent: Monday,03 May,2004 10:59
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Problem with external authentication
Hello
It's a couple of days that I google-digging the web, looking for a problem I am having, but every time I hit someone that solved the same problem I see that the setup they have is the same as mine, so here I am.
I am trying to set up RT 3.0.9 on a GNU/Linux Debian "testing". We already have an LDAP authentication against an Active Directory for the whole site, and I'd like RT to use it, so I set it up for external
authentication:
In /etc/request-tracker3/RT_SiteConfig.pm I set:
# If $WebExternalAuth is defined, RT will defer to the environment's # REMOTE_USER variable.
Set($WebExternalAuth , 1);
Set($WebExternalOnly , 1);
# If $WebFallbackToInternalAuth is undefined, the user is allowed a chance # of fallback to the login screen, even if REMOTE_USER failed.
Set($WebFallbackToInternalAuth , undef);
# $WebExternalAuto will create users under the same name as REMOTE_USER # upon login, if it's missing in the Users table.
Set($WebExternalAuto , 1);
Besides, I slightly modified Elements/Login on line 44 to show me the REMOTE_USER value, and it shows up correctly:
<& /Elements/TitleBoxStart, width=> "40%", titleright => loc("RT [_1]",
$RT::VERSION), title => loc("Login [$ENV{REMOTE_USER}]") ,
Nevertheless, I always get the login window instead of being "logged in"
directly. I tried with an already-defined user and with a non-defined
one... I read the autohandler trying to make sense of it, without
founding the cause of the problem. Surely I am doing something stupid
but I can't see what...
Any help?
Ciao and thanks
--bronto
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html
Sign up early, as class space is limited.
More information about the rt-users
mailing list