Hi Team
I am using “RT 4.4.2” on “CentOS Linux release 7.3.1611”
I am trying to get user authentication via windows Active Directory but some how not able to succeed in it.
I also tried installing “RT::Authen::ExternalAuth” but it gives the below error
Error: Your installed version of RT (4.4.2) is too new; this extension only works with versions older than 4.4.0.
So ignoring above error assuming Externalauth is by default supported in this latest version followed the setting provided on internet site, below is my RT_SiteConfig.pm file for your reference. Let me know in case any more information is needed.
RT_SiteConfig.pm file for reference.
Set( $CommentAddress, ‘a@abc.com’ );
Set( $CorrespondAddress, ‘a@abc.com’ );
Set( $DatabaseHost, ‘localhost’ );
Set( $DatabaseName, ‘rt4’ );
Set( $DatabasePassword, ‘xxxxxxx’ );
Set( $DatabasePort, ‘’ );
Set( $DatabaseType, ‘SQLite’ );
Set( $DatabaseUser, ‘rt_user’ );
Set( $Organization, ‘tkt-01’ );
Set( $OwnerEmail, ‘b@abc.com’ );
Set( $SendmailPath, ‘/usr/sbin/sendmail’ );
Set( $WebDomain, ‘tkt-01’ );
Set( $WebPort, ‘80’ );
Set( $rtname, ‘tkt-01’ );
LDAP Configurations
LDAP Authentication
Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::LDAPImport));
LDAP USER IMPORT
Set($LDAPCreatePrivileged, 1);
Set($LDAPUpdateUsers, 1);
Set($LDAPHost,‘activedirectory.abc.com’);
Set($LDAPUser,‘activedirectory\LDAPBind’);
Set($LDAPPassword,‘xxxxxxxx’);
#my base OU for users, yours will probably differ
Set($LDAPBase,‘ou=Users,dc=abc,dc=com’);
Set($LDAPFilter, ‘(&(objectClass=person))’);
Set($LDAPMapping, {
Name => ‘sAMAccountName’,
EmailAddress => ‘mail’,
Organization => ‘department’,
RealName => ‘cn’,
NickName => ‘givenName’,
ExternalAuthId => ‘sAMAccountName’,
Gecos => ‘sAMAccountName’,
WorkPhone => ‘telephoneNumber’,
MobilePhone => ‘mobile’,
Address1 => ‘streetAddress’,
City => ‘l’,
State => ‘st’,
Zip => ‘postalCode’,
Country => ‘co’
});
1;