<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
I've installed RT 4.0.8 on a RHEL 6.2 system and overall it's
working fine with one notable exception. We authenticate users
with Shibboleth, and once so authenticated they are able to create
tickets. First time users have their accounts auto-created. We
had a previous instance of RT 3.0.7 and used perl-based forms for
ticket creation. Auto-creation of accounts worked fine, with the
displayname, email, and userid returned from Shibboleth and passed
to RT. However, these same forms when used on RT 4.0.8 while they
*do* create the account if it doesn't exist, and it does set the
"Name" to the email address, the "EmailAddress" itself and
"RealName" are left blank.<br>
<br>
This means that users cannot get email on their tickets
(confirmatory or otherwise), unless an administrator goes in,
selects the account, and manually adds the email address. I've
tried several workarounds, including doing a mysql query to see if
the account exists, and if not, to create it using an RT CLI
command encased in backticks. This is contained in our "contact"
ticket creation form. I've experimented with several options,
including escaping the "@" in the email address. Recently, I used
Encode to ensure the values obtained from Shibboleth were
converted into UTF-8 before being passed to the RT CLI command,
and this *sort of* worked. Interestingly, it added the account
but dropped the letter "e" from the mymail.edu address (to leave
mymail.du). Also interesting, is if I bypass the Shibboleth
values and hard code in an email address like:<br>
<br>
my $clean_email = <a class="moz-txt-link-rfc2396E" href="mailto:skippy@mailme.edu">"skippy@mailme.edu"</a><br>
<br>
And pass it to the RT CLI command like:<br>
<br>
$result = `/opt/rt4/bin/rt create -t user add Name=$your_netid
EmailAddress=$clean_email `;<br>
<br>
...again, it works fine. <br>
<br>
I've been banging my head on this for awhile. Any insights would
be appreciated.<br>
<br>
John<br>
<br>
On 11/21/2012 1:03 PM, Guy Baxter wrote:<br>
</div>
<blockquote
cite="mid:CAKbVnZPmXz0x-iGBJAc6Ge3Mv8W4Uvx1GHjrYpUsF187nMHJ=g@mail.gmail.com"
type="cite"><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hi,</span>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I've
installed 4.0.8 on CentOS 6.3, satisfied all dependencies etc,
run the web installer to get things started, but I can't
actually get my RT pages to load. I've tried using all of the
apache options on web_deployment on the installation pages at <a
moz-do-not-send="true" href="http://bestpractical.com/"
target="_blank" style="color:rgb(17,85,204)">bestpractical.com</a> but
with no luck.</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">using
mod_fcgi and mod_fcgid I get 404 not found, with a corresponding
log entry in /var/log/httpd/error.log of:</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">File
does not exist: /opt/rt4/sbin/rt-server.fcgi</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">The
file does exist, and won't start manually even when invoked from
sbin with ./</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Trying
the mod_perl apache setup results in Apache failing to start:</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Undefined
subroutine &main::. called. END failed-- call queue aborted.
(/opt/rt4/sbin/../lib/RT.pm:341)</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Any
ideas - this has got me totally stuck!</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks
in advance.</div>
<div
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--------
We're hiring! <a class="moz-txt-link-freetext" href="http://bestpractical.com/jobs">http://bestpractical.com/jobs</a>
</pre>
</blockquote>
<br>
</body>
</html>