[rt-users] Trouble with LDAP authentication (equivalent config)

Mike Peachey mike.peachey at jennic.com
Thu Jul 3 13:02:45 EDT 2008

mailing list wrote:
> --- On Thu, 7/3/08, Mike Peachey <mike.peachey at jennic.com> wrote:
> [stuff deleted]
>>> I'm running perl 5.8.5 and I just installed the Net::LDAP (forgot)
>>> and configure the User_Local.pm file to use LDAP (matched that of
>>> prod.).
>>> rt_error returns the below, and I'm wondering if I need to reinstall
>>> fast-cgi?
>>> [Wed Jul 02 15:44:33 2008] [error] [client x.x.x.42]
>> FastCGI: server "/opt/rt3/bin/mason_handler.fcgi"
>> stderr: [Wed Jul  2 20:44:33 2008] [error]: FAILED LOGIN for
>> mike from x.x.x.42 (/opt/rt3/share/html/autohandler:251),
>> referer: http://rt-test.domain.com/
>> You need to turn on debug-level logging to determine the cause.
> I turned the "DEBUG => 1" but the entry in the rt_error log file is the same as above.  I've also recompile fast-cgi still no go (every time I
> made changes to RT, I stop apache, remove the cache, restart apache).
> tcpdump still shows the login page never send a request to the LDAP
> server.  Is there a command or switch within RT that I can test
> (initiates) login without going through the web? (to make certain that
> RT uses Net::LDAP to initiates, etc.)

You have got the Auth callback that actually calls the LDAP code haven't 
you? It would be in $RTHOME/local/html/Callbacks I think.

Kind Regards,


Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

More information about the rt-users mailing list