[rt-users] User could not be loaded
Kevin Falcone
falcone at bestpractical.com
Mon Aug 23 15:43:35 EDT 2010
On Mon, Aug 23, 2010 at 12:27:58PM +1000, Steve Berg wrote:
> Hi all,
>
> I have RT set up and am using RT::Authen::ExternalAuth to authenticate
> users against LDAP which is working great. We now have an external
> company we are working with and they don't have LDAP accounts and
> when they send an email in to the RT system they receive a bounce that
> says:
>
> "User xxx at xxx.com could not be loaded in the mail gateway"
There is usually a more detailed error in the logs and sent to the
OwnerEmail
-kevin
> My RT_SiteConfig.pm looks like:
>
> # Any configuration directives you include here will override
> # RT's default configuration file, RT_Config.pm
> #
> # To include a directive here, just copy the equivalent statement
> # from RT_Config.pm and change the value. We've included a single
> # sample value below.
> #
> # This file is actually a perl module, so you can include valid
> # perl code, as well.
> #
> # The converse is also true, if this file isn't valid perl, you're
> # going to run into trouble. To check your SiteConfig file, use
> # this comamnd:
> #
> # perl -c /path/to/your/etc/RT_SiteConfig.pm
>
> Set( $rtname, 'x');
> Set(@Plugins, qw(RT::Authen::ExternalAuth) );
> Set($LogToFile , 'debug');
>
> Set($ExternalAuthPriority, ['My_LDAP']);
> Set($ExternalInfoPriority, ['My_LDAP']);
> Set($ExternalServiceUsesSSLorTLS, 1);
> Set($AutoCreateNonExternalUsers, 1);
>
> Set($ExternalSettings, {
> 'My_LDAP' => { ## GENERIC SECTION
> 'type' => 'ldap',
> 'server' => 'x',
> 'user' => 'x',
> 'pass' => 'x',
> 'base' => 'x',
> 'filter' => '(objectclass=user)',
> 'd_filter' =>
> '(userAccountControl:1.2.840.113556.1.4.803:=2)',
> 'tls' => 0,
> 'ssl_version' => 3,
> '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'
> }
> },
>
> }
> );
>
> 1;
>
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100823/eb9c3b4c/attachment.sig>
More information about the rt-users
mailing list