[rt-users] I am unable to use LDAP

Kevin Gagel gagel at cnc.bc.ca
Tue Jul 14 17:55:49 EDT 2009


Eric,

I'll work off line with you. I have just finished setting mine up and we are using the same version of RT (3.8.2).


Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel


--- Original message ---
Subject: [rt-users] I am unable to use LDAP
From: Eric Chatham <echatham at broadvox.com>
To: rt-users at lists.bestpractical.com <rt-users at lists.bestpractical.com>
Date: 07/14/2009 2:47 PM

  

Hello,
 
I have had some problem getting LDAP to work on my version of RT.  I am running RT version 3.8.2 and the version of RT::Authen::ExternalAuth I installed via CPAN is  0.08.  RT is installed on a CentOS 5.1 OS.  I tried using some examples from a Google search to try and modify RT_SiteConfig.pm, but when I try to log into the RT Webpage (with an LDAP user), it fails.  Beforehand, I did create the user as a “user” in RT,  but left the password blank.  Should I set a user up in RT first before trying to log the user into RT?  Here is an example of my RT_SiteConfig.pm settings.  Everytime I try to log in with an LDAP user, I get “Your username or password is incorrect.”  Can  I setup a log file to track this as well?  Please help and thank you for any assistance.
 
 
# Any configuration directives you include  here will override
# RT's default configuration file, RT_Config.pm
#
# To include a directive here, just copy the equivalent statement
# from RT_Config.pm and change the value. We've included a single
# sample value below.
#
# This file is actually a perl module, so you can include valid
# perl code, as well.
#
# The converse is also true, if this file isn't valid perl, you're
# going to run into trouble. To check your SiteConfig file, use
# this comamnd:
#
#   perl -c /path/to/your/etc/RT_SiteConfig.pm
 
# Set( $rtname, 'example.com');
# Set(@Plugins,(qw(Extension::QuickDelete)));
# Set($WebPath, "/rt3");
Set($rtname, "broadvox.local");
Set($Organization, 'broadvox.local');
# Set($CorrespondAddress, 'echatham at broadvox.net');
# Set($CommentAddress, 'echatham at infotelecom.us');
Set($Timezone, 'US/Eastern');
# Set($WebBaseURL, 'http://rt.broadvox.local/');
Set(@Plugins,(qw(RT::Authen::ExternalAuth)));
 
# Debugging
Set($LogToSyslog, 'info');
Set($LogStackTraces, 'debug');
 
# Database
# Set($DatabaseType, 'mysql');
# Set($DatabaseUser, 'rt_user');
# Set($DatabasePassword, 'rt_pass');
# Set($DatabaseRTHost, 'localhost');
 
# External Authentication
Set($ExternalAuthPriority, ['My_LDAP']);
 
# LDAP
Set($ExternalSettings,      {'My_LDAP' => {'type' => 'ldap',
                                          'auth' => 1,
                                          'info' => 1,
                                          'server' => 'clehbdc01.broadvox.local',
                                          'user' => 'secmanager',
                                          'pass' => '<password>',
                                          'port' => '389',
                                          'base' => 'ou=USA,dc=broadvox,dc=local',
                                          'filter' => '(objectclass=user)',
                                          'attr_match_list' => [ 'Name',
                                                                 'EmailAddress',
                                                                 'RealName',
                                                                 'WorkPhone',
                                                                 'Address2'
                                                                ],
                                          'attr_map' => {'Name' => 'sAMAccountName',
                                                         'EmailAddress' => 'mail',
                                                         'Orginazation' => 'physicalDeliveryOfficeName',
                                                         'RealName' => 'cn',
                                                         'ExternalAuthID' => 'sAMAccountName',
                                                         'WorkPhone' => 'telephoneNumber',
                                                         'Address1' => 'streetAddress',
                                                         'City' => 'l',
                                                         'State' => 'st',
                                                         'Zip' => 'postalCode',
                                                         'Country' => 'co'}
                                        }
                        });
1;
 
 
 
Eric Chatham
MIS Department
Phone: (216) 373-4683
Fax: (216) 373-4669
echatham at broadvox.com

 

CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090714/1f16b49b/attachment.htm>


More information about the rt-users mailing list