Ldap overlay with callback

Hello,

I’ve been successfully using the LDAP Overlay
(Request Tracker Wiki) for some
time now and I’d like to start using LdapAutocreateAuthCallback
http://wiki.bestpractical.com/index.cgi?LdapAutocreateAuthCallback
My RT installation (3.4.4.1 installed form a debian package) didn’t have
the “local” directory structure so I created:

/usr/share/request-tracker3.4/local/html/Callbacks/LDAP/autohandler/ and
added the code from LdapAutocreateAuthCallback
http://wiki.bestpractical.com/index.cgi?LdapAutocreateAuthCallback to
a file called Auth. I’ve restarted apache but RT does not seem to be
aware of this Callback code. New users who attempt to login to the web
interface for the first time (who exist in AD/LDAP) are not allowed to
login. The logs show:

[Thu Jul 27 15:03:23 2006] [error]: FAILED LOGIN for someuser from
some.ip.address (/usr/share/request-tracker3.4/html/autohandler:191)

A point in the right direction would be appreciated.

Hello!On 7/27/06, Matt Nichols mnichols@wayport.net wrote:

I’ve been successfully using the LDAP Overlay
(Request Tracker Wiki)
for some time now and I’d like to start using LdapAutocreateAuthCallback…
My RT installation (3.4.4.1 installed form a debian package) didn’t have the
“local” directory structure so I created:

/usr/share/request-tracker3.4/local/html/Callbacks/LDAP/autohandler/
and added the code from LdapAutocreateAuthCallback to a file called Auth.
I’ve restarted apache but RT does not seem to be aware of this Callback
code. New users who attempt to login to the web interface for the first time
(who exist in AD/LDAP) are not allowed to login. The logs show:

[Thu Jul 27 15:03:23 2006] [error]: FAILED LOGIN for someuser from
some.ip.address (/usr/share/request-tracker3.4/html/autohandler:191)

A point in the right direction would be appreciated.

Check the HTML source of the login page. If there’s a line like so:

…in the page, then it’s loading and I can’t tell you what’s going
wrong without more info. If that line isn’t there, the callback isn’t
loading and I’m not sure if callbacks are honored in RT 3.4.x.

Anyone here have this working with a 3.4.x install?

Thanks!

–j
Jim Meyer, Geek at Large purp@acm.org

Thanks Jim,

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.

-MattFrom: sciocco@gmail.com on behalf of Jim Meyer
Sent: Sat 7/29/2006 11:02 PM
To: Matt Nichols
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] ldap overlay with callback

Hello!