[rt-users] Could not load valid user - ExternalAuth

2013-07-02 Thread Mike Johnson
Hi all,

I need some help with understanding my setup :D It works for a good
majority of cases, but we want to do something new with AD and it's
breaking, and I think I assumed something about our setup that isn't quite
true... now I'm stuck on figuring out why my user isn't getting loaded.

We used Best Practical to help setup our ExternalAuth so that our LDAP
settings allowed emails from 2 types of emails to map to 1 RT account(don't
get me started on why people are potentially emailing from 2 accounts).

We had to ensure our AD had both email addresses listed, and we chose to
put them in the attribute mail, and pager respectively. Both emails will
end in @nosm.ca, but they are typically usern...@nosm.ca realn...@nosm.ca(ie.
aliases).

Anyway, our below $ExternalSettings works perfectly for the standard...

However, when we put a n...@nosm.ca email into either mail or pager, we are
getting a Could not load a valid user message and I'm not sure why...

Here is my settings(removed non-essential stuff like connection info, and
our ou structure/group names)
Set($ExternalSettings, {
   'NORMEDISA' =  {
'type'  =  'ldap',
'server'=  'XXX.XXX.XXX.XXX',
'user'  =  'XX',
'pass'  =  'XX',
'base'  =  'XX',
'filter'=  '((objectCategory=User) (ObjectClass=Person))',
'd_filter'  =
 '(userAccountControl:1.2.840.113556.1.4.803:=2)',
'tls'   =  0,
'ssl_version'   =  3,
'net_ldap_args' = [version =  3   ],
'group' =
'some_group',
'group_attr'=  'member',
'attr_match_list' = [
'Name',
'EmailAddress',
],
'attr_map' =  {
'Name'   = 'sAMAccountName',
'EmailAddress'   = ['mail', 'pager'],
'RealName'   = 'cn',
'ExternalAuthId' = 'sAMAccountName'
},
},
} );

The people that aren't getting in are ones that exist in AD, but don't have
an RT account. The AD account either has mail or pager, or both, and one of
them has a n...@nosm.ca value in one of those attributes.

I'm not sure where it's breaking...

Any thoughts?
Mike.
-- 
Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON   P7B 5E1
Phone: (807) 766-7331
Email: mike.john...@nosm.ca


[rt-users] Could not load valid user

2011-06-09 Thread Eric Stoycon
Greetings everyone,


I've been strugging with this weeoe for a few days and frankly I am stumped. 
Here is the situation. I need to users who are not in the RT users table to 
have the ability to reply to a ticket via email. I've gone though the mail 
list and tried several of the suggestions I found there but none have solved 
my isssue.

This is internal auth only no external auth in place. 

I've tried granting 'everyone' the 'ReplyToTicket' right and it fails.

Config options I have enabled
Set($WebFallbackToInternalAuth, 1);
Set($WebExternalAuto, 1);
Set($AutoCreateNonExternalUsers, 1);
Set($AutoCreate, Privileged = 0);

System Info
OS: RHEL 4
DB: MySql
RT ver: 3.8.2 (I know the version is old, but I am stuck with it for 
now)
Perl:   5.10.0

Any pointers would be wonderful

Thanks
Eric


signature.asc
Description: This is a digitally signed message part.


Re: [rt-users] Could not load valid user

2011-06-09 Thread Kevin Falcone
On Thu, Jun 09, 2011 at 12:44:35PM -0400, Eric Stoycon wrote:
 Greetings everyone,
 
 
 I've been strugging with this weeoe for a few days and frankly I am stumped. 
 Here is the situation. I need to users who are not in the RT users table to 
 have the ability to reply to a ticket via email. I've gone though the mail 
 list and tried several of the suggestions I found there but none have solved 
 my isssue.

Please post a complete log message

 This is internal auth only no external auth in place. 
 
 I've tried granting 'everyone' the 'ReplyToTicket' right and it fails.
 
 Config options I have enabled
   Set($WebFallbackToInternalAuth, 1);
   Set($WebExternalAuto, 1);

These two only apply to external auth, if you're not using it, they
won't affect the system

   Set($AutoCreateNonExternalUsers, 1);

This only applies to RT-Authen-ExternalAuth and is unused in a vanilla RT

   Set($AutoCreate, Privileged = 0);

This syntax is invalid, fixing it might help

-kevin

 System Info
   OS: RHEL 4
   DB: MySql
   RT ver: 3.8.2 (I know the version is old, but I am stuck with it for 
 now)
   Perl:   5.10.0
 
 Any pointers would be wonderful
 
 Thanks
 Eric

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQEcBAABAgAGBQJN8PhzAAoJEPxXSAAVYnY8XRwH/349Kr79jJyc4yS4j6nnih05
 w4+Nli7c9DdUZnUMczwANzRRiR6+Nud1XsJ7zSKvlDwDnV3vHPYkgNLmzpmOiKvY
 va0C9DPfpayLBRd3UIfBElIOGBy9p+tc7+6ltPxdzByOy3o6xtt3FY8A9T2h1r92
 UKyRgKCwuTcaEiri8uiQgzV8SsIilmg6z4MNOQkkgGDtdVxq8l+cNGEyoAUqMqyV
 sUQwOOr/+DEl5bSzp3K/BsNMHSY0TAaNb7nAMbjVrMXxx0zF7egzuMDIAQLo5/Av
 WhqQj4z2mq+znu0uBYpK599ZVzlDNcupAnMUyOMCmgKM3JJnNFucWwJxiklwmB8=
 =TogE
 -END PGP SIGNATURE-



pgpmDykrKtuVK.pgp
Description: PGP signature


Re: [rt-users] Could not load valid user

2011-06-09 Thread Eric Stoycon
Kevin,
I fixed the syntax of that entry. 
It is still failing

Here is the revelent log section

[Thu Jun  9 17:41:44 2011] [crit]: HasRight called with no valid object 
(/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322)
[Thu Jun  9 17:41:44 2011] [crit]: HasRight called with no valid object 
(/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322)
[Thu Jun  9 17:41:44 2011] [error]: RT could not load a valid user, and RT's 
configuration does not allow
for the creation of a new user for this email 
(.x....@x.xxx).
 
You might need to grant 'Everyone' the right 'ReplyToTicket' for the
queue Scrip. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244)
[Thu Jun  9 17:41:49 2011] [crit]: : Could not send mail. 
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:478)
[Thu Jun  9 17:41:49 2011] [error]: Could not record email: Could not load a 
valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75)

On Thursday, June 09, 2011 12:51:57 PM Kevin Falcone wrote:
 On Thu, Jun 09, 2011 at 12:44:35PM -0400, Eric Stoycon wrote:
  Greetings everyone,
  
  
  I've been strugging with this weeoe for a few days and frankly I am
  stumped. Here is the situation. I need to users who are not in the RT
  users table to have the ability to reply to a ticket via email. I've
  gone though the mail list and tried several of the suggestions I found
  there but none have solved my isssue.
 
 Please post a complete log message
 
  This is internal auth only no external auth in place.
  
  I've tried granting 'everyone' the 'ReplyToTicket' right and it fails.
  
  Config options I have enabled
  
  Set($WebFallbackToInternalAuth, 1);
  Set($WebExternalAuto, 1);
 
 These two only apply to external auth, if you're not using it, they
 won't affect the system
 
  Set($AutoCreateNonExternalUsers, 1);
 
 This only applies to RT-Authen-ExternalAuth and is unused in a vanilla RT
 
  Set($AutoCreate, Privileged = 0);
 
 This syntax is invalid, fixing it might help
 
 -kevin
 
  System Info
  
  OS: RHEL 4
  DB: MySql
  RT ver: 3.8.2 (I know the version is old, but I am stuck with it for
  now) Perl:  5.10.0
  
  Any pointers would be wonderful
  
  Thanks
  Eric
  
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.11 (GNU/Linux)
  
  iQEcBAABAgAGBQJN8PhzAAoJEPxXSAAVYnY8XRwH/349Kr79jJyc4yS4j6nnih05
  w4+Nli7c9DdUZnUMczwANzRRiR6+Nud1XsJ7zSKvlDwDnV3vHPYkgNLmzpmOiKvY
  va0C9DPfpayLBRd3UIfBElIOGBy9p+tc7+6ltPxdzByOy3o6xtt3FY8A9T2h1r92
  UKyRgKCwuTcaEiri8uiQgzV8SsIilmg6z4MNOQkkgGDtdVxq8l+cNGEyoAUqMqyV
  sUQwOOr/+DEl5bSzp3K/BsNMHSY0TAaNb7nAMbjVrMXxx0zF7egzuMDIAQLo5/Av
  WhqQj4z2mq+znu0uBYpK599ZVzlDNcupAnMUyOMCmgKM3JJnNFucWwJxiklwmB8=
  =TogE
  -END PGP SIGNATURE-


Re: [rt-users] Could not load valid user

2011-06-09 Thread Kevin Falcone
On Thu, Jun 09, 2011 at 12:01:42PM -0700, Kenneth Crocker wrote:
Set($SenderMustExistInExternalDatabase, 1);

This config options doesn't exist in the 3.8 codebase.

Set($ValidateUserEmailAddresses, 1);
 
Set($AutoCreate, [Privileged , 0]);

I think you're getting lucky there, that's supposed to be a hashref
not an arrayref

and for our LDAP confiuration:
 
Set($AutoCreateNonExternalUsers, 1);

That's specific to RT::Authen::ExternalAuth

-kevin

Now, for all this to work, you have to make sure that you aren't granting 
 a world of rights
to the Unprivileged. We're very conservative about the control we grant 
 to our users and
ALWAYS use Groups. We do NOT grant ANY privileges to individual users. 
 That way, only the
Privileged get any real rights because they have to be in a group and 
 only Privileged
users can be in a group.
 
Hope this helps.
 
Kenn
LBNL
 
On Thu, Jun 9, 2011 at 10:48 AM, Eric Stoycon [1]estoy...@gmail.com 
 wrote:
 
  Kevin,
  I fixed the syntax of that entry.
  It is still failing
 
  Here is the revelent log section
 
  [Thu Jun 9 17:41:44 2011] [crit]: HasRight called with no valid object
  (/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322)
  [Thu Jun 9 17:41:44 2011] [crit]: HasRight called with no valid object
  (/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322)
  [Thu Jun 9 17:41:44 2011] [error]: RT could not load a valid user, and 
 RT's
  configuration does not allow
  for the creation of a new user for this email
  (.x....@x.xxx).
 
  You might need to grant 'Everyone' the right 'ReplyToTicket' for the
  queue Scrip. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244)
  [Thu Jun 9 17:41:49 2011] [crit]: : Could not send mail.
  (/opt/rt3/bin/../lib/RT/Interface/Email.pm:478)
  [Thu Jun 9 17:41:49 2011] [error]: Could not record email: Could not 
 load a
  valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75)
  On Thursday, June 09, 2011 12:51:57 PM Kevin Falcone wrote:
   On Thu, Jun 09, 2011 at 12:44:35PM -0400, Eric Stoycon wrote:
Greetings everyone,
   
   
I've been strugging with this weeoe for a few days and frankly I am
stumped. Here is the situation. I need to users who are not in the RT
users table to have the ability to reply to a ticket via email. I've
gone though the mail list and tried several of the suggestions I 
 found
there but none have solved my isssue.
  
   Please post a complete log message
  
This is internal auth only no external auth in place.
   
I've tried granting 'everyone' the 'ReplyToTicket' right and it 
 fails.
   
Config options I have enabled
   
Set($WebFallbackToInternalAuth, 1);
Set($WebExternalAuto, 1);
  
   These two only apply to external auth, if you're not using it, they
   won't affect the system
  
Set($AutoCreateNonExternalUsers, 1);
  
   This only applies to RT-Authen-ExternalAuth and is unused in a vanilla 
 RT
  
Set($AutoCreate, Privileged = 0);
  
   This syntax is invalid, fixing it might help
  
   -kevin
  
System Info
   
OS: RHEL 4
DB: MySql
RT ver: 3.8.2 (I know the version is old, but I am stuck with it for
now) Perl: 5.10.0
   
Any pointers would be wonderful
   
Thanks
Eric
   
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
   
iQEcBAABAgAGBQJN8PhzAAoJEPxXSAAVYnY8XRwH/349Kr79jJyc4yS4j6nnih05
w4+Nli7c9DdUZnUMczwANzRRiR6+Nud1XsJ7zSKvlDwDnV3vHPYkgNLmzpmOiKvY
va0C9DPfpayLBRd3UIfBElIOGBy9p+tc7+6ltPxdzByOy3o6xtt3FY8A9T2h1r92
UKyRgKCwuTcaEiri8uiQgzV8SsIilmg6z4MNOQkkgGDtdVxq8l+cNGEyoAUqMqyV
sUQwOOr/+DEl5bSzp3K/BsNMHSY0TAaNb7nAMbjVrMXxx0zF7egzuMDIAQLo5/Av
WhqQj4z2mq+znu0uBYpK599ZVzlDNcupAnMUyOMCmgKM3JJnNFucWwJxiklwmB8=
=TogE
-END PGP SIGNATURE-
 
 References
 
Visible links
1. mailto:estoy...@gmail.com


pgphFm8g1HrLq.pgp
Description: PGP signature


Re: [rt-users] Could not load valid user

2011-06-09 Thread Kevin Falcone
On Thu, Jun 09, 2011 at 01:48:06PM -0400, Eric Stoycon wrote:
 
 [Thu Jun  9 17:41:44 2011] [crit]: HasRight called with no valid object 
 (/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322)
 [Thu Jun  9 17:41:44 2011] [crit]: HasRight called with no valid object 
 (/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322)
 [Thu Jun  9 17:41:44 2011] [error]: RT could not load a valid user, and RT's 
 configuration does not allow
 for the creation of a new user for this email 
 (.x....@x.xxx).
  
 You might need to grant 'Everyone' the right 'ReplyToTicket' for the
 queue Scrip. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244)

This line

 [Thu Jun  9 17:41:49 2011] [crit]: : Could not send mail. 
 (/opt/rt3/bin/../lib/RT/Interface/Email.pm:478)

is actually indicative of a bad misconfiguration in your
RT_SiteConfig.pm that you should look into around SendmailPath

Once you get that cleared up, turning on LogStackTrace to 'error' will
tell you a lot more about what is causing your crits and errors.
Turning on debug logging may help also.

-kevin

 [Thu Jun  9 17:41:49 2011] [error]: Could not record email: Could not load a 
 valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75)


pgpwtgtFXJQu7.pgp
Description: PGP signature


Re: [rt-users] Could not load valid user

2011-06-09 Thread Kenneth Crocker
Kevin,

Yep. Wrong syntax. Now that I look at it, I don't really need to set it at
all because I believe RT defaults to UnPrivileged when adding a new user
automatically.

Kenn
LBNL

On Thu, Jun 9, 2011 at 12:15 PM, Kevin Falcone falc...@bestpractical.comwrote:

 On Thu, Jun 09, 2011 at 12:01:42PM -0700, Kenneth Crocker wrote:
 Set($SenderMustExistInExternalDatabase, 1);

 This config options doesn't exist in the 3.8 codebase.

 Set($ValidateUserEmailAddresses, 1);
 
 Set($AutoCreate, [Privileged , 0]);

 I think you're getting lucky there, that's supposed to be a hashref
 not an arrayref

 and for our LDAP confiuration:
 
 Set($AutoCreateNonExternalUsers, 1);

 That's specific to RT::Authen::ExternalAuth

 -kevin

 Now, for all this to work, you have to make sure that you aren't
 granting a world of rights
 to the Unprivileged. We're very conservative about the control we
 grant to our users and
 ALWAYS use Groups. We do NOT grant ANY privileges to individual users.
 That way, only the
 Privileged get any real rights because they have to be in a group
 and only Privileged
 users can be in a group.
 
 Hope this helps.
 
 Kenn
 LBNL
 
 On Thu, Jun 9, 2011 at 10:48 AM, Eric Stoycon [1]estoy...@gmail.com
 wrote:
 
   Kevin,
   I fixed the syntax of that entry.
   It is still failing
 
   Here is the revelent log section
 
   [Thu Jun 9 17:41:44 2011] [crit]: HasRight called with no valid
 object
   (/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322)
   [Thu Jun 9 17:41:44 2011] [crit]: HasRight called with no valid
 object
   (/opt/rt3/bin/../lib/RT/Principal_Overlay.pm:322)
   [Thu Jun 9 17:41:44 2011] [error]: RT could not load a valid user,
 and RT's
   configuration does not allow
   for the creation of a new user for this email
   (.x....@x.xxx).
 
   You might need to grant 'Everyone' the right 'ReplyToTicket' for the
   queue Scrip. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244)
   [Thu Jun 9 17:41:49 2011] [crit]: : Could not send mail.
   (/opt/rt3/bin/../lib/RT/Interface/Email.pm:478)
   [Thu Jun 9 17:41:49 2011] [error]: Could not record email: Could not
 load a
   valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75)
   On Thursday, June 09, 2011 12:51:57 PM Kevin Falcone wrote:
On Thu, Jun 09, 2011 at 12:44:35PM -0400, Eric Stoycon wrote:
 Greetings everyone,


 I've been strugging with this weeoe for a few days and frankly I
 am
 stumped. Here is the situation. I need to users who are not in
 the RT
 users table to have the ability to reply to a ticket via email.
 I've
 gone though the mail list and tried several of the suggestions I
 found
 there but none have solved my isssue.
   
Please post a complete log message
   
 This is internal auth only no external auth in place.

 I've tried granting 'everyone' the 'ReplyToTicket' right and it
 fails.

 Config options I have enabled

 Set($WebFallbackToInternalAuth, 1);
 Set($WebExternalAuto, 1);
   
These two only apply to external auth, if you're not using it,
 they
won't affect the system
   
 Set($AutoCreateNonExternalUsers, 1);
   
This only applies to RT-Authen-ExternalAuth and is unused in a
 vanilla RT
   
 Set($AutoCreate, Privileged = 0);
   
This syntax is invalid, fixing it might help
   
-kevin
   
 System Info

 OS: RHEL 4
 DB: MySql
 RT ver: 3.8.2 (I know the version is old, but I am stuck with it
 for
 now) Perl: 5.10.0

 Any pointers would be wonderful

 Thanks
 Eric

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)

 iQEcBAABAgAGBQJN8PhzAAoJEPxXSAAVYnY8XRwH/349Kr79jJyc4yS4j6nnih05
 w4+Nli7c9DdUZnUMczwANzRRiR6+Nud1XsJ7zSKvlDwDnV3vHPYkgNLmzpmOiKvY
 va0C9DPfpayLBRd3UIfBElIOGBy9p+tc7+6ltPxdzByOy3o6xtt3FY8A9T2h1r92
 UKyRgKCwuTcaEiri8uiQgzV8SsIilmg6z4MNOQkkgGDtdVxq8l+cNGEyoAUqMqyV
 sUQwOOr/+DEl5bSzp3K/BsNMHSY0TAaNb7nAMbjVrMXxx0zF7egzuMDIAQLo5/Av
 WhqQj4z2mq+znu0uBYpK599ZVzlDNcupAnMUyOMCmgKM3JJnNFucWwJxiklwmB8=
 =TogE
 -END PGP SIGNATURE-
 
  References
 
 Visible links
 1. mailto:estoy...@gmail.com



[rt-users] could not load valid user message

2009-10-07 Thread David Griffith

Looking at the templates, I don't see where the could not load a valid 
user message is generated.  Am I missing something obvious?  Further, 
these messages always seem to come from h...@myrtserver.foo.com.  How can 
I change that?  Should I just alias that address to an autoresponder?

-- 
David Griffith
dgri...@cs.csubak.edu

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Could not load valid user

2008-06-04 Thread IT GUY
On Mon, Jun 2, 2008 at 1:10 PM, Ruben Lehmann [EMAIL PROTECTED] wrote:

 Hi

 I granted globally to 'Everyone' the right 'ReplyToTicket' but I still
 get this message:

 ---
 RT could not load a valid user, and RT's configuration does not allow
 for the creation of a new user for this email ([EMAIL PROTECTED]).

 You might need to grant 'Everyone' the right 'ReplyToTicket' for the
 queue Example.
 ---

 Regards


 Monzoon Networks AG
 Ruben Lehmann
 Network Engineer

 Riedthofstrasse 124, CH-8105 Regensdorf
 tel: +41 43 500 04 76 mobile: +41 78 656 47 72



 Try adding 'Everyone' the right 'Create Ticket' as well.

Yogesh


 --
 Nomadic Workers - hotspot.monzoon.net
 Wireless Internet - home.monzoon.net
 Surf the safer way - www.swissvpn.net
 --

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

 Community help: http://wiki.bestpractical.com
 Commercial support: [EMAIL PROTECTED]


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

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Re: [rt-users] Could not load valid user

2008-06-04 Thread Kenneth Crocker
IT Guy,


Maybe someone already mentioned this, but it sounds like you have 
conflicting configurations between looking for someone in the user DB 
and adding someone who isn't there. Hope this helps.


Kenn
LBNL
On 6/4/2008 9:46 AM, IT GUY wrote:
  
 On Mon, Jun 2, 2008 at 1:10 PM, Ruben Lehmann [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 Hi
 
 I granted globally to 'Everyone' the right 'ReplyToTicket' but I still
 get this message:
 
 ---
 RT could not load a valid user, and RT's configuration does not allow
 for the creation of a new user for this email ([EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]).
 
 You might need to grant 'Everyone' the right 'ReplyToTicket' for the
 queue Example.
 ---
 
 Regards
 
 
 Monzoon Networks AG
 Ruben Lehmann
 Network Engineer
 
 Riedthofstrasse 124, CH-8105 Regensdorf
 tel: +41 43 500 04 76 mobile: +41 78 656 47 72
 
  
  
 Try adding 'Everyone' the right 'Create Ticket' as well.
  
 Yogesh
 
 
 --
 Nomadic Workers - hotspot.monzoon.net http://hotspot.monzoon.net/
 Wireless Internet - home.monzoon.net http://home.monzoon.net/
 Surf the safer way - www.swissvpn.net http://www.swissvpn.net/
 --
 
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 http://wiki.bestpractical.com/
 Commercial support: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com
 http://rtbook.bestpractical.com/
 
 
 
 
 
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: [EMAIL PROTECTED]
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] Could not load valid user

2008-06-02 Thread Ruben Lehmann
Hi

I granted globally to 'Everyone' the right 'ReplyToTicket' but I still
get this message:

---
RT could not load a valid user, and RT's configuration does not allow
for the creation of a new user for this email ([EMAIL PROTECTED]).

You might need to grant 'Everyone' the right 'ReplyToTicket' for the
queue Example.
---

Regards


Monzoon Networks AG
Ruben Lehmann
Network Engineer

Riedthofstrasse 124, CH-8105 Regensdorf
tel: +41 43 500 04 76 mobile: +41 78 656 47 72

--
Nomadic Workers - hotspot.monzoon.net
Wireless Internet - home.monzoon.net
Surf the safer way - www.swissvpn.net
--

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


[rt-users] could not load valid user

2006-12-14 Thread Chris Dunning
I've been using RT 3.4.5 for some time now and with much success.  Today
I upgraded to the latest 3.6.1.  The web interface is looking good but I
can't get email piping to work - we make heavy use of that.

My alias file has this line:

helpdesk: |/usr/local/rt/bin/rt-mailgate --queue 'General' --url
http://rt.bluenoteweb.com/;

Using 3.4.5 I did not have the --queue 'General' in there, it
automatically created the ticket in the General queue if nothing else
was specified.  After the upgrade it gave me an error about not being
able to find the queue, so I added that.  Now I am seeing this error in
the logs:

Dec 14 12:17:44 beethoven RT: RT could not load a valid user, and RT's
configuration does not allow for the creation of a new user for this
email ([EMAIL PROTECTED]).  You might need to grant 'Everyone' the
right 'CreateTicket' for the queue General.
(/usr/local/rt/lib/RT/Interface/Email.pm:241)
Dec 14 12:17:44 beethoven RT: RT could not load a valid user, and RT's
configuration does not allow for the creation of a new user for your
email. (/usr/local/rt/lib/RT/Interface/Email.pm:241)
Dec 14 12:17:44 beethoven RT: Could not record email: Could not load a
valid user (/usr/local/rt/share/html/REST/1.0/NoAuth/mail-gateway:73)

The second error message is returned to the requester and copied to me. 
I have tried this using non-privileged users, email addresses that were
not previously in the database, and privileged users.  In all cases an
emailed message is returned with this same error.  I tried replying to a
ticket through the web interface and then replying to the reply - same
error.  The group everybody definitely has rights to createticket in
the general queue.  I have double and triple checked that setting.

I have looked through the wiki and the mailing list archives. 
Everything I've found I've tried and with no luck.  The rights are set
correctly.  We are not using LDAP or any external authentication.

What's the next step to try?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Re: [rt-users] could not load valid user

2006-12-14 Thread Chris Dunning
After entirely too much time spent working with this, I figured out the
problem.

In 3.4.5, RT assumed that if 'action' was not given it was
'correspond.'  Adding '--action correspond' to the aliases line takes
care of it.

I think the error message is quite a bit misleading, but I did figure it
out eventually.  I'll see if there's a place in the wiki where I can put
this.

Chris Dunning wrote:
 Using 3.4.5 I did not have the --queue 'General' in there, it
 automatically created the ticket in the General queue if nothing else
 was specified.  After the upgrade it gave me an error about not being
 able to find the queue, so I added that.  Now I am seeing this error in
 the logs:

 Dec 14 12:17:44 beethoven RT: RT could not load a valid user, and RT's
 configuration does not allow for the creation of a new user for this
 email ([EMAIL PROTECTED]).  You might need to grant 'Everyone' the
 right 'CreateTicket' for the queue General.
 (/usr/local/rt/lib/RT/Interface/Email.pm:241)
 Dec 14 12:17:44 beethoven RT: RT could not load a valid user, and RT's
 configuration does not allow for the creation of a new user for your
 email. (/usr/local/rt/lib/RT/Interface/Email.pm:241)
 Dec 14 12:17:44 beethoven RT: Could not record email: Could not load a
 valid user (/usr/local/rt/share/html/REST/1.0/NoAuth/mail-gateway:73)
   

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

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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