[rt-users] CLI - response / status problem

Jason Taylor jtaylor at bastyr.edu
Tue Oct 26 17:06:36 EDT 2004


I've been trying to use the CLI without success.  I've finally tracked 
down the problem there being no newline, let alone two, after the 
status.  This is on FreeBSD 4.10.  I'm using mod_auth_kerb for external 
authentication, but with basic (vs. negotiate).  Here are the applicable 
lines from httpd.conf:

      LoadModule auth_kerb_module   libexec/apache2/mod_auth_kerb.so
      AuthName "Request Tracker"
      AuthType Kerberos
      KrbMethodNegotiate off
      KrbMethodK5Passwd on
      Krb5Keytab /etc/krb5.keytab
      KrbAuthRealms MIDDLEEARTH.PRV
      KrbSaveCredentials off
      KrbVerifyKDC off

I also made the following one line mod to the rt script after line 749:

$ua->credentials('pippin:1080', 'Request Tracker', $config{user}, 
($config{passwd} || read_passwd()));

Any pointers on where to look next much appreciated.

-----

pippin# setenv RTDEBUG 3
pippin# bin/rt ls -s -o -Priority "Status='stalled'"
POST http://pippin:1080/REST/1.0/search/ticket
Content-Length: 217
Content-Type: multipart/form-data; boundary=xYzZY
Cookie: RT_SID_middleearth.prv.1080=8923586e5278e619e6b224bdfa017bd4

--xYzZY
Content-Disposition: form-data; name="format"

s
--xYzZY
Content-Disposition: form-data; name="orderby"

-Priority
--xYzZY
Content-Disposition: form-data; name="query"

Status='stalled'
--xYzZY--
HTTP/1.1 200 OK
Connection: close
Date: Tue, 26 Oct 2004 20:46:28 GMT
Server: Apache/2.0.52 (FreeBSD) mod_perl/1.99_16 Perl/v5.8.5 
mod_fastcgi/2.4.2 DAV/2 mod_auth_kerb/5.0-rc5 PHP/5.0.2 SVN/1.0.8
Content-Type: text/plain; charset=ISO-8859-1
Client-Date: Tue, 26 Oct 2004 20:46:28 GMT
Client-Peer: 172.16.1.27:1080
Client-Response-Num: 1
Client-Transfer-Encoding: chunked

RT/3.2.2 200 Ok188: A2PC: Facilities - Parking
191: A2PC: Facilaties - Parking: Phase III
192: A2PC: Facilaties - Parking: Phase IV
51: Adding new donor listing option
rt: Malformed RT response from http://pippin:1080.




More information about the rt-users mailing list