add line:
return;
just before </%init> line.
Jim, it's not a good practice to output things from main autohandler
and its callbacks, code hasn't reached content of the <html> tag, yet.
On 8/12/06, Philip Kime <[EMAIL PROTECTED]> wrote:
RT 3.6.1
When I put the code from
http://wiki.bestpractical.com/index.cgi?LdapAutocreateAuthCallback
in
/usr/local/rt/local/html/Callbacks/LDAP/autohandler/Auth
(I'm using the LDAP overlay stuff too, naturally, not just this callback).
The RT command returns:
/usr/local/rt/bin/rt show ticket/100
Use of uninitialized value in pattern match (m//) at /usr/local/rt/bin/rt
line 8
75.
rt: Malformed RT response from
http://nops-infradev01.shopzilla.com.
(Rerun with RTDEBUG=3 for details.)
DEBUG output suggests to me that there are two newlines being returned
before the HTTP response from the server, which is confusing the RT command?
If I remove
/usr/local/rt/local/html/Callbacks/LDAP/autohandler/Auth
it works fine again. Any ideas?
PK
--
Philip Kime
NOPS Systems Architect
310 401 0407
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
--
Best regards, Ruslan.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com