RT 3.8 - Cant create users in database when they send email

Hi,

I have external authentication set to AD LDAP and it works fine.

The problem now is when a end user sends an email from xxx@gmail.com to, RT 3.8 gives an error saying that the user cant be loaded from ldap and rt doesnt have the right configuration to create the user in the databse (internal).

What are the variables i need to set so the user is automatically created in the RT database when someone sends an email and dont exist in the external LDAP?

TIA,

Filipe

Portugal

i was under the impression that the whole point of having RT integrate with LDAP was to prevent such interaction by unauthenticated users?

just a thought…

:/-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Filipe José Silva Clemente
Sent: Thursday, October 02, 2008 7:26 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT 3.8 - Cant create users in database when they sendemail
Importance: High

Hi,

I have external authentication set to AD LDAP and it works fine.

The problem now is when a end user sends an email from xxx@gmail.com to, RT 3.8 gives an error saying that the user cant be loaded from ldap and rt doesnt have the right configuration to create the user in the databse (internal).

What are the variables i need to set so the user is automatically created in the RT database when someone sends an email and dont exist in the external LDAP?

TIA,

Filipe

Portugal

Did you edit the User_Vendor.pm?

Carbon60: Cloud Consulting - Services and Solutions rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Filipe José Silva Clemente
Sent: Thursday, October 02, 2008 7:26 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT 3.8 - Cant create users in database when they sendemail
Importance: High

Hi,

I have external authentication set to AD LDAP and it works fine.

The problem now is when a end user sends an email from xxx@gmail.com to, RT 3.8 gives an error saying that the user cant be loaded from ldap and rt doesnt have the right configuration to create the user in the databse (internal).

What are the variables i need to set so the user is automatically created in the RT database when someone sends an email and dont exist in the external LDAP?

TIA,

Filipe

Portugal

The information contained in this communication may be confidential or legally privileged and is intended only for the recipient named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication or its contents is strictly prohibited. If you have received this communication in error, immediately advise the sender and delete the original and any copies from your computer system.

Sorry, that will not work for what you want to do.

I also have the same problem, but RT is only internal for us.From: Auch, Benjamin
Sent: Thursday, October 02, 2008 7:31 AM
To: ‘Filipe José Silva Clemente’; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] RT 3.8 - Cant create users in database when they sendemail

Did you edit the User_Vendor.pm?

From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Filipe José Silva Clemente
Sent: Thursday, October 02, 2008 7:26 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT 3.8 - Cant create users in database when they sendemail
Importance: High

Hi,

I have external authentication set to AD LDAP and it works fine.

The problem now is when a end user sends an email from xxx@gmail.com to, RT 3.8 gives an error saying that the user cant be loaded from ldap and rt doesnt have the right configuration to create the user in the databse (internal).

What are the variables i need to set so the user is automatically created in the RT database when someone sends an email and dont exist in the external LDAP?

TIA,

Filipe

Portugal

The information contained in this communication may be confidential or legally privileged and is intended only for the recipient named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication or its contents is strictly prohibited. If you have received this communication in error, immediately advise the sender and delete the original and any copies from your computer system.

Auch, Benjamin wrote:

Did you edit the User_Vendor.pm?

Carbon60: Managed Cloud Services

And pay specific attention to:

If this is set to 1, then users should be autocreated by RT

as internal users if they fail to authenticate from an

external service.

Set($AutoCreateNonExternalUsers, 1);

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

Not to hijack the thread (its related :slight_smile: I wanted to be able to
autocreate users in RT if they are already in LDAP. So if a new hire
sends a ticket in, the ticket will get created without me having to
create the user in RT manually. I used to use the ADimport script (ran
nightly for updates), but I was hoping I could do away with that. Will
this setting allow me to do that?

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Mike
PeacheySent: Thursday, October 02, 2008 8:34 AM
To: Auch, Benjamin
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT 3.8 - Cant create users in database whenthey
sendemail

Auch, Benjamin wrote:

Did you edit the User_Vendor.pm?

25

And pay specific attention to:

If this is set to 1, then users should be autocreated by RT

as internal users if they fail to authenticate from an

external service.

Set($AutoCreateNonExternalUsers, 1);

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

i believe the setting refers to creating RT accounts for users who failed to authenticate via an external service such as LDAP…

[mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Helmuth
RamirezSent: Thursday, October 02, 2008 7:45 AM
To: mike.peachey@jennic.com; Auch, Benjamin
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT 3.8 - Cant create users in databasewhenthey
sendemail

Not to hijack the thread (its related :slight_smile: I wanted to be able to
autocreate users in RT if they are already in LDAP. So if a new hire
sends a ticket in, the ticket will get created without me having to
create the user in RT manually. I used to use the ADimport script (ran
nightly for updates), but I was hoping I could do away with that. Will
this setting allow me to do that?

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Mike
Peachey
Sent: Thursday, October 02, 2008 8:34 AM
To: Auch, Benjamin
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT 3.8 - Cant create users in database whenthey
sendemail

Auch, Benjamin wrote:

Did you edit the User_Vendor.pm?

25

And pay specific attention to:

If this is set to 1, then users should be autocreated by RT

as internal users if they fail to authenticate from an

external service.

Set($AutoCreateNonExternalUsers, 1);

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Gabriel Cadieux wrote:

i believe the setting refers to creating RT accounts for users who failed to authenticate via an external service such as LDAP…

Correct. I agree it could be named better but the idea is, ExternalAuth
PROVIDES the method for autocreating LDAP users, that setting is just a
question about what you want to do with users who werent found in ldap.

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

Yeah, that’s what I thought…just wanted to confirm. Thanks

PeacheySent: Thursday, October 02, 2008 8:49 AM
To: Gabriel Cadieux
Cc: Helmuth Ramirez; Auch, Benjamin; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT 3.8 - Cant create users in databasewhenthey
sendemail

Gabriel Cadieux wrote:

i believe the setting refers to creating RT accounts for users who
failed to authenticate via an external service such as LDAP…

Correct. I agree it could be named better but the idea is, ExternalAuth
PROVIDES the method for autocreating LDAP users, that setting is just a
question about what you want to do with users who werent found in ldap.

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

If the error is something like:

“RT could not load a valid user, and RT’s configuration does not allow
for the creation of a new user for your email.”

Then maybe you haven’t given CreateTicket permissions to “Everyone”
on the particular queue.

JasinOn 2 Oct 2008, at 13:25, Filipe José Silva Clemente wrote:

Hi,

I have external authentication set to AD LDAP and it works fine.

The problem now is when a end user sends an email from xxx@gmail.com
to, RT 3.8 gives an error saying that the user cant be loaded from
ldap and rt doesnt have the right configuration to create the user
in the databse (internal).

What are the variables i need to set so the user is automatically
created in the RT database when someone sends an email and dont
exist in the external LDAP?

TIA,

Filipe
Portugal


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Hi,

What do I need to edit in the User_Vendor.pm file and whats the function of this file? Configuration too?

TIA,

Filipe

PortugalFrom: Auch, Benjamin [mailto:bauch@jcpgroup.com]
Sent: quinta-feira, 2 de Outubro de 2008 13:31
To: Filipe José Silva Clemente; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] RT 3.8 - Cant create users in database when they sendemail

Did you edit the User_Vendor.pm?

From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Filipe José Silva Clemente
Sent: Thursday, October 02, 2008 7:26 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RT 3.8 - Cant create users in database when they sendemail
Importance: High

Hi,

I have external authentication set to AD LDAP and it works fine.

The problem now is when a end user sends an email from xxx@gmail.com to, RT 3.8 gives an error saying that the user cant be loaded from ldap and rt doesnt have the right configuration to create the user in the databse (internal).

What are the variables i need to set so the user is automatically created in the RT database when someone sends an email and dont exist in the external LDAP?

TIA,

Filipe

Portugal

The information contained in this communication may be confidential or legally privileged and is intended only for the recipient named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication or its contents is strictly prohibited. If you have received this communication in error, immediately advise the sender and delete the original and any copies from your computer system.