Re: [rt-users] External Authentication with LDAPS

2010-08-04 Thread Anthony BRODARD
It works! I've configured the connection without SSL (port 389) and it works fine. So, I've modify the file * /opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm * * * I add this perl module: *use Net::LDAPS;* And modify the function _GetBoundLdapObj ( l.422):

Re: [rt-users] External Authentication with LDAPS

2010-08-03 Thread Mike Johnson
filter is your LDAP query string to determine if a particular CN is a user. If you are connecting to an AD it would be ((objectCategory=User) (Object Class=Person)) d_filter is your LDAP query to determine disabled users. If you are connecting to an AD it would be a bitmask like so

Re: [rt-users] External Authentication with LDAPS

2010-08-02 Thread Anthony BRODARD
Hi Mike! Thanks for your replies. After i had try what you said in your last mail, i've decide to reinstall a new clean RT, and test only the external authentication plugin. So, this is a part of my new RT_SiteConfig, with your last recommendations: Set( @Plugins, qw(RT::Authen::ExternalAuth)

Re: [rt-users] External Authentication with LDAPS

2010-08-02 Thread Anthony BRODARD
And here, another logs generate with debug: [Mon Aug 2 12:05:00 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to ldap.blanked.fr(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437) [Mon Aug 2 12:05:00 2010] [debug]:

Re: [rt-users] External Authentication with LDAPS

2010-07-29 Thread Anthony BRODARD
Hi Mike, thanks to help me! I've turned on RT's debug mode ( addSet($LogToFile, '*debug*'); Set($LogDir, '/var/log/rt'); in my RT_Siteconfig.pm). Now, when I try to loggin with a LDAP account, this lines are written in my log file: [Thu Jul 29 07:46:08 2010] [debug]: Reloading RT::User

Re: [rt-users] External Authentication with LDAPS

2010-07-29 Thread Mike Johnson
If you read the ExternalAuth's RT_SiteConfig.pm in /RTROOT/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm It shows you how to set the port you are connecting on. Set that to the port your LDAP server is listening to. Good luck MIke. On Thu, Jul 29, 2010 at 4:04 AM, Anthony BRODARD

Re: [rt-users] External Authentication with LDAPS

2010-07-29 Thread Mike Johnson
make sure you reply to the list, very important to share all this so others can learn. The only thing I could think of is your LDAP settings are incorrect somewhere. Some things I found when I was setting things up 1. user = the fully qualified CN of the user(ie CN=Mike

[rt-users] External Authentication with LDAPS

2010-07-28 Thread Anthony BRODARD
Hi, I've installed RT 3.8.7 on a debian lenny with the manual procedure listed here: http://wiki.bestpractical.com/view/ExternalAuth So, now i try to configure my RT_Siteconfig.pm to acces at RT via my LDAPS serveur. This is a part of my configuration: #PLUGINS: Set(@Plugins,(qw(

Re: [rt-users] External Authentication with LDAPS

2010-07-28 Thread Mike Johnson
Hi, Try turning on RT's logging in debug mode. That helped me figure out what was going on with my ExternalAuth. In the log, before the FAILED line you should see a few lines showing you if it's connecting to your LDAP, finding user etc. Work from there! Mike. On Wed, Jul 28, 2010 at 3:23 AM,