Remove Message

I would like to get rid of the following message

User could not be created: Must specify ‘Name’ attribute

This happens when trying to create users and on some emails when the auto create is enabled.

Can someone give me a little direction to get rid of this?

Thanks

Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726 * 262-783-6261 ext. 2296
bbaker@copesan.commailto:cstephan@copesan.com
www.copesan.comhttp://www.copesan.com/
“Servicing North America with Local Care”

I would like to get rid of the following message

User could not be created: Must specify ‘Name’ attribute

This happens when trying to create users and on some emails when the auto create is enabled.

Can someone give me a little direction to get rid of this?

This is an error, RT users must have a username (a unique username).

I don’t know how you’re autocreating users, but you may wish to
emulate what RT does with users created via email and set Name equal
to the email address as well as EmailAddress equal to the email.

-kevin

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?

Thanks
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726 . 262-783-6261 ext. 2296
bbaker@copesan.com

“Servicing North America with Local Care”-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Friday, December 20, 2013 9:49 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Remove Message

On Thu, Dec 19, 2013 at 06:28:24PM +0000, Bryon Baker wrote:

I would like to get rid of the following message

User could not be created: Must specify ‘Name’ attribute

This happens when trying to create users and on some emails when the auto create is enabled.

Can someone give me a little direction to get rid of this?

This is an error, RT users must have a username (a unique username).

I don’t know how you’re autocreating users, but you may wish to emulate what RT does with users created via email and set Name equal to the email address as well as EmailAddress equal to the email.

-kevin

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.

-kevin

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@copesan.com

"Servicing North America with Local Care"From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Friday, December 20, 2013 3:59 PM
To: rt-users@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.

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@copesan.com

"Servicing North America with Local Care"From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Bryon Baker
Sent: Friday, December 20, 2013 4:23 PM
To: rt-users@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@copesan.com

“Servicing North America with Local Care”

From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Friday, December 20, 2013 3:59 PM
To: rt-users@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.