Problem with WebExternalAuth

I went through apache.org/docs where I found an FAQ
http://httpd.apache.org/docs/misc/FAQ.html#remote-user-var in which Using
User Authentication talks about basic or digest. and 1 more link
http://www.faqts.com/knowledge_base/view.phtml/aid/733/fid/56 gives info
of how remote user name can be retrieved. I used this in
share/html/Elements/Header but it prints nothing. I’m confused. Why is it
not getting the name? how do i edit httpd.conf to utlize the REMOTE_USER.

I also tried PassEnv REMOTE_USER just before the foll lines in httpd.conf.
The name is still not displayed.
Alias /rt
/location/where/rt/is/installed/share/html
PerlRequire /location/where/rt/is/installed/bin/webmux.pl
<Location
/rt>
SetHandler perl-script
PerlHandler RT::Mason

I am missing something else, isn’t it. I feel so dumb right now as I’m
unable to figure out the problem. Any help will be greatly appreciated.
Thanks,
Parimala.

how do i edit httpd.conf to utlize the REMOTE_USER.

You use something like:

AuthName "Restricted Access" AuthType Basic AuthUserFile "etc/rt/valid-users" Require valid-user SetHandler perl-script PerlHandler RT::Mason

with a proper path for AuthUserFile. You also need to set

Set($WebExternalAuth , 1);

in RT_SiteConfig.pm

The users configured in AuthUserFile must have the same names
(but could have different passwords) as in the RT database.

Greetings,
,eM""=. a"-. Michael van Elst
dWWMWM" - :GM==; mlelstv@dev.de.cw.net
:WWMWMw=–. “W=’ cable & wireless
9WWMm==-.
”-Wmw-" CABLE & WIRELESS

You appear confused, have you considered hiring a consulting or
systems administrator?

I went through apache.org/docs where I found an FAQ
http://httpd.apache.org/docs/misc/FAQ.html#remote-user-var in which Using
User Authentication talks about basic or digest. and 1 more link
http://www.faqts.com/knowledge_base/view.phtml/aid/733/fid/56 gives info
of how remote user name can be retrieved. I used this in
share/html/Elements/Header but it prints nothing. I’m confused. Why is it
not getting the name? how do i edit httpd.conf to utlize the REMOTE_USER.

you do not need to modify share/html/Elements/Header. You need to
modify RT_SiteConfig.pm and httpd.conf. The former is an rt file, and
is documented, the latter is an apache file and is documented.

seph

thanks for all the information. my need is specific, i think. what i want
is that when a user logs onto the intarnet he/she should be automatically
created in RT database if username doen’t exist or if it does, be
validated. both steps should take the user to the home page without having
to login to RT. a single login is what i’m looking for.

i think i might have to pass the username from php script(thts what my
intranet uses) to RT’s perl script and then check the RT database for this
user and act accordingly. as i do not know perl, i would appreciate it if
you could answer one more question- should i create a seperate script to
do this or should i modify RT’s autohandler(here i assume tht auotohandler
is the one which takes care of login, authentication- correct me if i’m
wrong). which would be the best way to go about? thanks again for all the
feedback.

parimala.

thanks for all the information. my need is specific, i think. what i want
is that when a user logs onto the intarnet he/she should be automatically
created in RT database if username doen’t exist or if it does, be
validated. both steps should take the user to the home page without having
to login to RT. a single login is what i’m looking for.

you still seem confused. I strongly recommend hiring someone with a
solid understanding of perl and apache, to help you deploy the
solution you desire.

However, you’re describing an account autocreation feature that
already exists in rt.

seph