Hi,
<br>I am new to RT and installed RT4.05 in Ubuntu 11.10 with RT
External authentication.Active Directory users whose login ID is numeric(say 0001234 which will be their employee id ) cannot log in
in RT(user names not created in RT).
<br>All others whose AD Login ID are alphabet/alphanumeric(like b001) can log in (user name created in RT).
<br>I tried LDAP import also and it fails fails with messages like
<br> [warning]: Skipping user '0003503', as it is numeric
(/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:969)
<br><br>Is there any way to authenticate or import users from LDAP without changing AD user names?
<br><br>This is my RT External Auth Config file
<br><br><br>Set($ExternalAuthPriority, [ 'My_LDAP' ] );
<br> Set($ExternalInfoPriority, [ 'My_LDAP' ] );
<br> Set($ExternalServiceUsesSSLorTLS, 0);
<br> Set($AutoCreateNonExternalUsers, 0);
<br><br> Set($ExternalSettings, {
<br> 'My_LDAP' => {
<br><br> 'type' => 'ldap',
<br> 'server' => '<a href="http://serverr.domain.com">serverr.domain.com</a>',
<br> 'user' => 'cn=RT,ou=ouname,dc=example,dc=com',
<br> 'pass' => 'Welcome123',
<br> 'base' => 'dc=example,dc=com',
<br><br> 'filter' => '(&(ObjectCategory=User)(ObjectClass=Person))',
<br> 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)',
<br><br> 'tls' => 0,
<br> # 'ssl_version' => 3,
<br><br> 'net_ldap_args' => [ version => 3 ],
<br> # 'group' => 'cn=RT Users,dc=sps,dc=co,dc=in',
<br> # 'group_attr' => 'member',
<br><br> 'attr_match_list' => [ 'Name','EmailAddress' ],
<br> 'attr_map' => { 'Name' => 'sAMAccountName',
<br> 'EmailAddress' => 'mail',
<br> 'Organization' => 'physicalDeliveryOfficeName',
<br> 'RealName' => 'cn',
<br> 'ExternalAuthId' => 'AMAccountName',
<br> 'Gecos' => 'sAMAccountName',
<br> 'WorkPhone' => 'telephoneNumber',
<br> 'Address1' => 'streetAddress',
<br> 'City' => 'l',
<br> 'State' => 'st',
<br> 'Zip' => 'postalCode',
<br> 'Country' => 'co'
<br> }
<br><br>In RT_Site Config.PM
<br><br>Set(@Plugins, qw(RT::Authen::ExternalAuth
<br>RTx::Calendar
<br>RT::Extension::JSGantt
<br>RT::Extension::QuickCalls
<br>RT::Extension::SLA
<br>RTx::TicketlistTransactions
<br>RT::Extension::Utils
<br>RTx::WorkflowBuilder
<br>RT::Extension::NotifyOwners));
<br><br>require "/opt/rt4/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm";
<br>Set($AutoCreate, {Privileged => 1});
<br><br><br><br>Am i missing something ?
<br><br>Regards
<br>Murugan