Subject: | ExternalAuth |
Date: | Thu, 17 Feb 2011 15:51:21 +0300 |
To: | bug-RT-Authen-ExternalAuth [...] rt.cpan.org |
From: | "Ilya M." <thor [...] posudaoptom.ru> |
Hi!
Big troubles after installing ExternalAuth at my HelpDesk server.
Use RT 3.8.9 , RT-Authen-ExternalAuth-0.08.
After install plugin recieve:
Can't use string ("My_LDAP") as a HASH ref while "strict refs" in use at /opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 63, line 522.
SiteConfig.pm at opt/rt3/etc/
<...>
Set(@Plugins, qw(RT::Authen::ExternalAuth));
Set($ExternalAuthPriority, [ 'My_LDAP' ] );
Set($ExternalInfoPriority, [ 'My_LDAP' ] );
Set($ExternalServiceUsesSSLorTLS, 1);
Set($AutoCreateNonExternalUsers, 1);
Set($ExternalSettings,
'My_LDAP' => {
'type' => 'ldap',
'auth' => 1,
'info' => 1,
'server' => 'hidden',
'user' => 'cn=user,,dc=iods,dc=local',
'pass' => '<fhvfktQ',
'base' => 'ou=IODS,dc=iods,dc=local',
'filter' => '(objectClass=*)',
'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)',
'tls' => 1,
'ssl_version' => 3,
'net_ldap_args' => [ version => 3 ],
'attr_match_list' => [ 'Name',
'EmailAddress',
'RealName'
],
'attr_map' => { 'Name' => 'sAMAccountName',
'EmailAddress' => 'mail',
'Organization' => 'physicalDeliveryOfficeName',
'RealName' => 'cn',
'ExternalAuthId' => 'sAMAccountName',
'Gecos' => 'sAMAccountName',
'WorkPhone' => 'telephoneNumber',
'Address1' => 'streetAddress',
'City' => 'l',
'State' => 'st',
'Zip' => 'postalCode',
'Country' => 'co'
}
}
);
<...>
Mimorov Ilya
Сайт: http://www.posudaoptom.ru
Тел.: 8(812)603-2969
Факс: 8(812)591-7500