[rt-users] RT::Authen::ExternalAuth error
Ben
uyhis at yahoo.com
Wed Sep 2 15:20:20 EDT 2009
Hi, All,
I have errors with RT 3.6.5 and RT-Authen-ExternalAuth-0.05 on my centos box.
following are error messages:
[Tue Sep 1 23:39:32 2009] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_DN_SYNTAX 34 (/usr/local/lib/rt3/lib/RT/User_Vendor.pm:1056)
[Tue Sep 1 23:39:32 2009] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_DN_SYNTAX 34 (/usr/local/lib/rt3/lib/RT/User_Vendor.pm:1056)
And my configuration:
Set( @Plugins, qw(RT::Authen::ExternalAuth) );
Set($ExternalAuthPriority, [ 'My_LDAP' ]);
Set($ExternalInfoPriority, [ 'My_LDAP' ]);
Set($ExternalServiceUsesSSLorTLS, 0);
Set($AutoCreateNonExternalUsers, 0);
Set($ExternalSettings, {
'My_LDAP' => {
'type'=>'ldap',
'auth'=>1,
'info'=> 1,
'server'=> 'tldap01.smith.com',
'user' => 'rt3',
'pass' => 'mypassword',
'base'=> 'ou=people,dc=smith,dc=com',
'filter'=> '(objectClass=person)',
'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)',
'tls' => 0,
'net_ldap_args' => [ version => 3 ],
# 'group' => 'GROUP_NAME',
# 'group_attr' => 'GROUP_ATTR',
'attr_match_list' => [ 'Name',
'EmailAddress',
'RealName',
'WorkPhone',
'Address2'
],
'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'
}
}
}
Am I doing soething wrong?
Thanks, Please advise.
Regards,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090902/74d69e61/attachment.htm>
More information about the rt-users
mailing list