<font color='black' size='2' face='Arial, Helvetica, sans-serif'>
<div>I have been trying to configure my RT to communicate with my ldap, but I have been running into problems. I did install the perl module below is my configuration and error after I restart apache (apache failed to restart):<br>
<br>
<br>
# THE BASICS:<br>
<br>
Set($rtname, 'TAG');<br>
Set($Organization, 'TAG');<br>
Set($CorrespondAddress , '<A href="mailto:helpdesk@test.action.go">helpdesk@test.action.go</A>');<br>
Set($CommentAddress , '<A href="mailto:webmaster@test.action.go">webmaster@test.action.go</A>');<br>
Set($Timezone , 'EDT'); # obviously choose what suits you<br>
Set($MinimumPasswordLength, "8");<br>
<br>
# THE DATABASE:<br>
<br>
Set($DatabaseType, 'mysql'); # e.g. Pg or mysql<br>
<br>
# These are the settings we used above when creating the RT database,<br>
# you MUST set these to what you chose in the section above.<br>
<br>
Set($DatabaseUser , 'rtuser');<br>
Set($DatabasePassword , 'wibble');<br>
Set($DatabaseName , 'rt3'); # Ensure this is set to rt3!<br>
<br>
# THE WEBSERVER:<br>
<br>
Set($WebPath , "");<br>
Set($WebBaseURL , "<A href="http://helpdesk.tag.test.go%22/" target=_blank>http://helpdesk.TAG.test.go"</A>;);<br>
<br>
#THE EMAIL SERVER<br>
<br>
Set($SendmailPath , "/usr/sbin/sendmail");<br>
Set($SendmailArguments,"-oi -t -ODeliveryMode=b -OErrorMode=m");<br>
Set($UseFriendlyFromLine, 1);<br>
Set($FriendlyFromLineFormat, "\"%s via RT\" <%s>");<br>
Set($TruncateLongAttachments, undef);<br>
#THE LDAP SERVER<br>
Set(@Plugins, qw(RT::Authen::ExternalAuth));<br>
Set($EmailCompletionUnprivileged,"privileged");<br>
# Following is LDAP authorization block<br>
Set($ExternalAuthPriority, [ 'My_LDAP' ]);<br>
Set($ExternalInfoPriority, [ 'My_LDAP' ]);<br>
Set($AutoCreateNonExternalUsers, 1);<br>
Set($ExternalSettings, {<br>
'My_LDAP' => { ## GENERIC SECTION<br>
'type' => 'ldap',<br>
'server' => '192.168.5.0',<br>
'user' => 'administrator',<br>
'pass' => '*********',<br>
'base' => 'dc=action,dc=test,dc=go',<br>
# The filter to use to match RT-Users<br>
'filter' => '(sAMAccountName=%u)',<br>
# A catch-all example filter: '(objectClass=*)'<br>
#<br>
# The filter that will only match disabled users<br>
#'d_filter' => '(FILTER_STRING)',<br>
'd_filter' => '(&(objectCategory=person)(objectClass=user))',<br>
# A catch-none example d_filter: '(objectClass=FooBarBaz)'<br>
#<br>
'net_ldap_args' => [ version => 3 ],<br>
# Does authentication depend on group membership? What group name?<br>
#'group' => 'GROUP_NAME',<br>
# What is the attribute for the group object that determines membership?<br>
#'group_attr' => 'GROUP_ATTR',<br>
## RT ATTRIBUTE MATCHING SECTION<br>
# The list of RT attributes that uniquely identify a user<br>
'attr_match_list' => [ 'Name',<br>
'EmailAddress'<br>
#'RealName'<br>
],<br>
# The mapping of RT attributes on to LDAP attributes<br>
'attr_map' => { 'Name' => 'cn',<br>
'EmailAddress' => 'test.action.go',<br>
'WorkPhone' => 'telephoneNumber',<br>
'MobilePhone' => 'mobile',<br>
'RealName' => 'displayName',<br>
'NickName' => 'preferredName',<br>
'Organization' => 'Location',<br>
'Address1' => 'mailstop',<br>
'City' => 'homeCity',<br>
'State' => 'st',<br>
'Zip' => 'postalCode',<br>
'Country' => 'co'<br>
}<br>
}<br>
}<br>
);<br>
1;<br>
<br>
<br>
Error from log is:<br>
[Wed Jun 09 16:26:50 2010] [notice] caught SIGTERM, shutting down<br>
[Wed Jun 9 20:26:53 2010] [error]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check $<br>
[Wed Jun 9 20:27:04 2010] [error]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check $<br>
[Wed Jun 09 16:27:13 2010] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.5 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal$<br>
[Wed Jun 09 16:30:30 2010] [notice] caught SIGTERM, shutting down<br>
[Wed Jun 9 20:30:33 2010] [error]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check $<br>
[Wed Jun 9 20:30:44 2010] [error]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check $<br>
[Wed Jun 09 16:30:53 2010] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.5 with Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal$<br>
[Wed Jun 09 16:49:20 2010] [notice] caught SIGTERM, shutting down<br>
[Wed Jun 09 16:49:23 2010] [error] Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib /etc/perl /u$<br>
[Wed Jun 09 16:49:23 2010] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server UHC:80, exiting...<br>
[Wed Jun 9 20:54:04 2010] [error]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check $<br>
[Wed Jun 9 20:54:16 2010] [error]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check $<br>
<br>
<br>
Thanks in advance </div>
<!-- end of AOLMsgPart_2_4e11321a-cca7-470c-829c-2060f9385f25 --><br>
<br>
<div style="CLEAR: both"></div>
</font>