[rt-users] WebExternalAuth in config.pm
Richard Fedoriuk
rfedoriuk at rnm.ca
Thu Dec 6 15:35:45 EST 2001
Thanks for your suggestion Christian, but it seems that RT is
not performing system-authentication...
I tried setting Apache as you outlined unsuccessfully, unless
I'm muddling the config file (likely)... have you been successful
in configuring RT for external auth?
Further, whenever I set WebExternalAuth in config.pm, I am unable
to log into RT using the conventional browser interface, getting
a "You are not an authorized user" message in RT...
FYI, here is the config I'm using:
<VirtualHost 10.3.251.166>
DocumentRoot /opt/rt2/WebRT/html
ServerName localhost
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /opt/rt2/bin/webmux.pl
<Directory /opt/rt2/WebRT/html>
AuthUserFile /opt/rt2/rtremote
require valid-user
</Directory>
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
with the AuthUserFile containing the same password as that is used in
RT, this was generated using htpasswd (also it happens to be same passwd
as the system passwd for same user in this case), and $REMOTE_USER has
been set to the same user...
any other suggestions welcome, thanks again...
- Richard
__________________________________________________
Richard Fedoriuk
Build Manager
Rogers iMedia
Ph: (416) 642-4826
rfedoriuk at imedia.rogers.com
-----Original Message-----
From: rt-users-admin at lists.fsck.com
[mailto:rt-users-admin at lists.fsck.com]On Behalf Of Christian Gilmore
Sent: Wednesday, December 05, 2001 5:30 PM
To: rfedoriuk at rnm.ca; 'Rt-Users'
Subject: RE: [rt-users] WebExternalAuth in config.pm
Richard,
Do you have your apache configured for external authentication as well? It
needs to have "require valid-user" or similar set as well as the auth
directives that come with it (AuthUserFile, etc.). Is the userid in the
AuthUserFile identical to the userid within RT? Last, the password in RT
and the password in your external system are mutually exclusive. One has
nothing to do with the other.
Regards,
Christian
> -----Original Message-----
> From: rt-users-admin at lists.fsck.com
> [mailto:rt-users-admin at lists.fsck.com]On Behalf Of Richard Fedoriuk
> Sent: Wednesday, December 05, 2001 1:57 PM
> To: Rt-Users
> Subject: [rt-users] WebExternalAuth in config.pm
>
>
>
> I'm trying to write a ticket using an external cgi program which
> posts the necessary fields to $RT-Host://Tickets/Display.html
> (I don't need to view the ticket afterwards, I just want to post
> it to RT)
>
> I can successfully post to a test cgi-script this way, however I
> seem to be having problems authenticating in RT...
>
> I have tried setting "WebExternalAuth" in the config.pm file (and
> restarted Apache), and setting $REMOTE_USER to a valid RT account,
> but it is still failing...
>
> can anyone help me on this?
>
> appreciate your time,
> - Richard
>
> __________________________________________________
> Richard Fedoriuk
> Build Manager
> Rogers iMedia
> Ph: (416) 642-4826
> rfedoriuk at imedia.rogers.com
>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
More information about the rt-users
mailing list