[rt-users] Remove Message

Bryon Baker bbaker at copesan.com
Fri Dec 20 17:25:11 EST 2013


By the way for the Emails it does not happen all the time.  It is very sporadic and I cannot figure out the pattern.

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  .  262-783-6261 ext. 2296
bbaker at copesan.com
www.copesan.com
"Servicing North America with Local Care"


-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Bryon Baker
Sent: Friday, December 20, 2013 4:23 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Remove Message

This is the message when RT tries to create a user with incoming email
	User could not be created: User creation failed in mailgateway: Must specify 'Name' attribute (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:245)

This is the message when I try and create a user manually using Admin > User > Create
	User could not be created: Must specify 'Name' attribute

You sent me information related to external auth.  Does RT use the parameters in that area?
External Auth Config
{
  'Connect_LDAP' => {
                      'base' => 'DC=copesan,DC=local',
                      'pass' => 'Password not printed',
                      'net_ldap_args' => [
                                           'version',
                                           3
                                         ],
                      'filter' => '(&(ObjectCategory=User)(ObjectClass=Person))',
                      'attr_match_list' => [
                                             'Name',
                                             'EmailAddress'
                                           ],
                      'tls' => 0,
                      'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)',
                      'user' => 'CN=RQ Tracker,OU=Users_Special,OU=Copesan,DC=Copesan,DC=local',
                      'type' => 'ldap',
                      'server' => '192.168.250.49',
                      'attr_map' => {
                                      'City' => 'l',
                                      'RealName' => 'cn',
                                      'State' => 'st',
                                      'EmailAddress' => 'mail',
                                      'Gecos' => 'sAMAccountName',
                                      'Country' => 'co',
                                      'Address1' => 'streetAddress',
                                      'Zip' => 'postalCode',
                                      'WorkPhone' => 'telephoneNumber',
                                      'Name' => 'sAMAccountName',
                                      'Organization' => 'physicalDeliveryOfficeName',
                                      'ExternalAuthId' => 'sAMAccountName'
                                    }
                    },
  'Connect_MSSQL' => {
                       'pass' => 'Password not printed',
                       'table' => 'ReqTracker_HelpDesk',
                       'attr_match_list' => [
                                              'Name',
                                              'Gecos'
                                            ],
                       'p_field' => 'password',
                       'port' => '1433',
                       'p_check' => sub { "DUMMY" },
                       'u_field' => 'Email',
                       'database' => 'RapidTrax6a;Driver=SQLServer;DSN=SQLServer',
                       'dbi_driver' => 'ODBC',
                       'user' => 'HelpDeskOTRS',
                       'type' => 'db',
                       'server' => '192.168.250.29',
                       'attr_map' => {
                                       'City' => 'City',
                                       'RealName' => 'Realname',
                                       'State' => 'State',
                                       'EmailAddress' => 'Email',
                                       'Gecos' => 'Email',
                                       'Address1' => 'Address',
                                       'Zip' => 'Zip',
                                       'Name' => 'Email',
                                       'Organization' => 'Organization',
                                       'ExternalAuthId' => 'Email'
                                     }
                     }
}

Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  .  262-783-6261 ext. 2296
bbaker at copesan.com
www.copesan.com
"Servicing North America with Local Care"


-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Friday, December 20, 2013 3:59 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Remove Message

Don't send me personal email, I read the list, obey my Reply-To header and send your mail to the list.

On Fri, Dec 20, 2013 at 04:22:08PM +0000, Bryon Baker wrote:
> Thanks for the response Kevin.
> 
> This is happening when  RT creates users from incoming emails.
> 
> I am also using the external auth plugin.  Where in the config would I equate name to email address?

The default config shipped with RT::Authen::ExternalAuth sets the Name parameter, you must have removed that, but since you've not shown actual errors or a config, all anyone can do is guess.

https://metacpan.org/pod/RT::Authen::ExternalAuth::LDAP

-kevin




More information about the rt-users mailing list