Can't get ExternalAuth to work with Windows 2003 AD

I have a brand new install of RT 3.8.8 on CentOS 5.5 with the
RT-Authen-ExternalAuth. No matter what I do, I can’t seem to get RT to
let me log in with my AD login. I’ve tried changing the filter options,
etc with no luck. The debug log seems to indicate that it can’t bind
with the LDAP server; however, I can successfully bind with the same
user and filters using ldapsearch and also a small test script that I
wrote which uses Net::LDAP.

I have my RT_Siteconfig.pm, debug log, ldapsearch example, and test
script all in the following gist:
https://gist.github.com/1ba81d5642611de654f9

I would appreciate any suggestions.

John Alberts
Hosted Services
Exlibris USA
john.alberts@exlibrisgroup.com
cell: 1-508-878-2197

I just got my ExternalAuth working and the one thing I had to mess with
was the authenticating user. I used a syntax like this:

‘user’ =>
‘cn=rtuser,cn=users,dc=iesicorp,dc=tf,dc=prv’,

Peter Barton

IESI Corporation

Network Manager

work.817-632-4000

mobile.817-683-9635From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of John
Alberts
Sent: Friday, September 03, 2010 11:54 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Can’t get ExternalAuth to work with Windows 2003 AD

I have a brand new install of RT 3.8.8 on CentOS 5.5 with the
RT-Authen-ExternalAuth. No matter what I do, I can’t seem to get RT to
let me log in with my AD login. I’ve tried changing the filter options,
etc with no luck. The debug log seems to indicate that it can’t bind
with the LDAP server; however, I can successfully bind with the same
user and filters using ldapsearch and also a small test script that I
wrote which uses Net::LDAP.

I have my RT_Siteconfig.pm, debug log, ldapsearch example, and test
script all in the following gist:
https://gist.github.com/1ba81d5642611de654f9

I would appreciate any suggestions.

John Alberts
Hosted Services
Exlibris USA
john.alberts@exlibrisgroup.com
cell: 1-508-878-2197

Thanks for you response Pete.

I just figured out what it was.

At some point, I changed the ‘pass’ variable name to ‘password’. !!!

That’s all it was. :confused:

JohnOn 09/03/2010 02:52 PM, Peter Barton wrote:

I just got my ExternalAuth working and the one thing I had to mess
with was the authenticating user. I used a syntax like this:

‘user’ =>
‘cn=rtuser,cn=users,dc=iesicorp,dc=tf,dc=prv’,


Peter Barton

IESI Corporation

Network Manager

work.817-632-4000

mobile.817-683-9635

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] *On Behalf Of *John
Alberts
Sent: Friday, September 03, 2010 11:54 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Can’t get ExternalAuth to work with Windows 2003 AD

I have a brand new install of RT 3.8.8 on CentOS 5.5 with the
RT-Authen-ExternalAuth. No matter what I do, I can’t seem to get RT to
let me log in with my AD login. I’ve tried changing the filter options,
etc with no luck. The debug log seems to indicate that it can’t bind
with the LDAP server; however, I can successfully bind with the same
user and filters using ldapsearch and also a small test script that I
wrote which uses Net::LDAP.

I have my RT_Siteconfig.pm, debug log, ldapsearch example, and test
script all in the following gist:
https://gist.github.com/1ba81d5642611de654f9

I would appreciate any suggestions.


John Alberts
Hosted Services
Exlibris USA
john.alberts@exlibrisgroup.com mailto:john.alberts@exlibrisgroup.com
cell: 1-508-878-2197

John Alberts
Hosted Services
Exlibris USA
john.alberts@exlibrisgroup.com
cell: 1-508-878-2197