Help: LDAP Authentication

Hi,

I wonder if anybody can help me with this… I am struggling to make
RT authenticate through LDAP. In order to use the RT login page,
I swtiched WebExternalAuth to ‘undef’ so that RT is not authenticating
using Apache. I have found a perl script to authenticate against LDAP
which returns me a true/false. I want RT to authenticate against LDAP
first and if the user doesn’t exist in the internal database, RT will
automatically create a new account for the authenticated user. What
changes should I make in this case. Any suggestion is appreciated!

Best Regards,
Shen, Tyler
Extranet Service Delivery Team
Scouts Australia Victorian Branch

Phone : 03 8543 9816
Facsimile : 03 8543 9840
E-mail : tyler.shen@vicscouts.asn.au

*** This email (including all attachments) contains confidential
information, which may be privileged. It is intended solely for the
identified recipient(s) to whom it is addressed. If you are not an
intended recipient, please notify Scouts Extranet Service Team
immediately and delete this message from your system. Please note that
any views or opinions presented in this email are solely those of the
author and do not necessarily represent those of the company. You may
not copy or use it for any purpose, or otherwise disclose its contents
to any person. ***

Shen, Tyler wrote:

I wonder if anybody can help me with this… I am struggling to make
RT authenticate through LDAP.

This approach uses a code overlay to retain the web based RT login and
fallback to internal authentiction if that fails.

http://www.justatheory.com/computers/programming/perl/rt/ldap_auth.html

An alternative approach is to use mod_auth_ldap, but that will require
WebExternalAuth = 1 and will use the built in browser auth popup,
fallback to external accounts may be possible but it would not be easy.

, RT will
automatically create a new account for the authenticated user. What
changes should I make in this case. Any suggestion is appreciated!

http://wiki.bestpractical.com/index.cgi?AutoCreateFromExternalUserInfo

The approach listed here also uses a code overlay.

Cheers

Adam Clarke
www.strategicdata.com.au