<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>RE: [rt-users] ldap overlay with callback</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>Thanks Jim,<BR>
<BR>
A fellow Debian user pointed out that I was putting the "Auth" code in the wrong directory. I put the LdapAutocreateAuthCallback code in the right place (/usr/local/share/request-tracker3.4/html/Callbacks/LDAP/autohandler/Auth) and things are working as they should now.<BR>
<BR>
-Matt<BR>
<BR>
-----Original Message-----<BR>
From: sciocco@gmail.com on behalf of Jim Meyer<BR>
Sent: Sat 7/29/2006 11:02 PM<BR>
To: Matt Nichols<BR>
Cc: rt-users@lists.bestpractical.com<BR>
Subject: Re: [rt-users] ldap overlay with callback<BR>
<BR>
Hello!<BR>
<BR>
On 7/27/06, Matt Nichols <mnichols@wayport.net> wrote:<BR>
> I've been successfully using the LDAP Overlay<BR>
> (<A HREF="http://wiki.bestpractical.com/index.cgi?LdapUserLocalOverlay">http://wiki.bestpractical.com/index.cgi?LdapUserLocalOverlay</A>)<BR>
> for some time now and I'd like to start using LdapAutocreateAuthCallback..<BR>
> My RT installation (3.4.4.1 installed form a debian package) didn't have the<BR>
> "local" directory structure so I created:<BR>
><BR>
> /usr/share/request-tracker3.4/local/html/Callbacks/LDAP/autohandler/<BR>
> and added the code from LdapAutocreateAuthCallback to a file called Auth.<BR>
> I've restarted apache but RT does not seem to be aware of this Callback<BR>
> code. New users who attempt to login to the web interface for the first time<BR>
> (who exist in AD/LDAP) are not allowed to login. The logs show:<BR>
><BR>
><BR>
><BR>
> [Thu Jul 27 15:03:23 2006] [error]: FAILED LOGIN for someuser from<BR>
> some.ip.address (/usr/share/request-tracker3.4/html/autohandler:191)<BR>
><BR>
><BR>
><BR>
> A point in the right direction would be appreciated.<BR>
<BR>
Check the HTML source of the login page. If there's a line like so:<BR>
<BR>
<!-- In autohandler/Auth callback --><BR>
<BR>
...in the page, then it's loading and I can't tell you what's going<BR>
wrong without more info. If that line isn't there, the callback isn't<BR>
loading and I'm not sure if callbacks are honored in RT 3.4.x.<BR>
<BR>
Anyone here have this working with a 3.4.x install?<BR>
<BR>
Thanks!<BR>
<BR>
--j<BR>
--<BR>
Jim Meyer, Geek at Large purp@acm.org<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>