Re: [rt-users] Trouble Adding Users

2009-08-03 Thread Tim Gustafson
> Your logs point squarely at RT::Authen::ExternalAuth,
> not RT. I bet you've not looked at this config option:
> 
> # 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, 0);
> 
> The default setting of 0 prevents users from being created
> if they don't exist in LDAP

Actually, I did look at that option, but the name confused me.

But yes, that did it.  Thanks a million!

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
t...@soe.ucsc.edu
831-459-5354
___
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] Trouble Adding Users

2009-07-31 Thread Kevin Falcone
On Fri, Jul 31, 2009 at 10:41:47AM -0700, Tim Gustafson wrote:
> I'm trying to add a user to RT and it's failing with the following errors in 
> the log file.  These errors happen whether the user is added through the 
> admin interface, or by adding them as a watcher to a new ticket.  This is on 
> RT 3.8.4 on FreeBSD 7.2.  I tried adding users with a different name/e-mail, 
> which also failed.  And the user doesn't already exist - if you search for 
> the user, including disabled users, they do not appear.
> 

Your logs point squarely at RT::Authen::ExternalAuth, not RT.
I bet you've not looked at this config option:

# 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,0);

The default setting of 0 prevents users from being created if they
don't exist in LDAP

-kevin

> ==
> RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Address1: , 
> Address2: , AuthSystem: , City: , Comments: , ContactInfoSystem: , Country: , 
> Disabled: 0, EmailAddress: f...@bar.com, EmailEncoding: , ExternalAuthId: , 
> ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: , 
> MobilePhone: , Name: foo, NickName: , Organization: , PagerPhone: , 
> Privileged: , RealName: Foo Bar, Signature: , State: , WebEncoding: , 
> WorkPhone: , Zip:  (/usr/local/share/rt38/plugins/RT-Authen-ExternalAuth 
> /lib/RT/Authen/ExternalAuth.pm:536)
> 
> RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Address1: , 
> Address2: , AuthSystem: , City: , Comments: , ContactInfoSystem: , Country: , 
> Disabled: 0, EmailAddress: f...@bar.com, EmailEncoding: , ExternalAuthId: , 
> ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: , 
> MobilePhone: , Name: foo, NickName: , Organization: , PagerPhone: , 
> Privileged: , RealName: Foo Bar, Signature: , State: , WebEncoding: , 
> WorkPhone: , Zip:  (/usr/local/share/rt38/plugins/RT-Authen-ExternalAuth 
> /lib/RT/Authen/ExternalAuth.pm:536)
> 
> RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Comments: 
> Autocreated when added as a watcher, Disabled: 0, EmailAddress: f...@bar.com, 
> Name: foo, Privileged: 0, RealName: foo 
> (/usr/local/share/rt38/plugins/RT-Authen-ExternalAuth/lib/RT 
> /Authen/ExternalAuth.pm:536)
> 
> RT: Failed to create user f...@bar.com: Could not set user info 
> (/usr/local/lib/perl5/site_perl/5.8.9/RT/User_Overlay.pm:511 )
> 
> RT: Could not load create a user with the email address 'f...@bar.com' to add 
> as a watcher for ticket 40291 
> (/usr/local/lib/perl5/site_perl/5.8.9/RT/Ticket_Overlay.pm: 1113)
___
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


[rt-users] Trouble Adding Users

2009-07-31 Thread Tim Gustafson
I'm trying to add a user to RT and it's failing with the following errors in 
the log file.  These errors happen whether the user is added through the admin 
interface, or by adding them as a watcher to a new ticket.  This is on RT 3.8.4 
on FreeBSD 7.2.  I tried adding users with a different name/e-mail, which also 
failed.  And the user doesn't already exist - if you search for the user, 
including disabled users, they do not appear.

==
RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Address1: , Address2: 
, AuthSystem: , City: , Comments: , ContactInfoSystem: , Country: , Disabled: 
0, EmailAddress: f...@bar.com, EmailEncoding: , ExternalAuthId: , 
ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: , 
MobilePhone: , Name: foo, NickName: , Organization: , PagerPhone: , Privileged: 
, RealName: Foo Bar, Signature: , State: , WebEncoding: , WorkPhone: , Zip:  
(/usr/local/share/rt38/plugins/RT-Authen-ExternalAuth 
/lib/RT/Authen/ExternalAuth.pm:536)

RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Address1: , Address2: 
, AuthSystem: , City: , Comments: , ContactInfoSystem: , Country: , Disabled: 
0, EmailAddress: f...@bar.com, EmailEncoding: , ExternalAuthId: , 
ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: , 
MobilePhone: , Name: foo, NickName: , Organization: , PagerPhone: , Privileged: 
, RealName: Foo Bar, Signature: , State: , WebEncoding: , WorkPhone: , Zip:  
(/usr/local/share/rt38/plugins/RT-Authen-ExternalAuth 
/lib/RT/Authen/ExternalAuth.pm:536)

RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Comments: Autocreated 
when added as a watcher, Disabled: 0, EmailAddress: f...@bar.com, Name: foo, 
Privileged: 0, RealName: foo 
(/usr/local/share/rt38/plugins/RT-Authen-ExternalAuth/lib/RT 
/Authen/ExternalAuth.pm:536)

RT: Failed to create user f...@bar.com: Could not set user info 
(/usr/local/lib/perl5/site_perl/5.8.9/RT/User_Overlay.pm:511 )

RT: Could not load create a user with the email address 'f...@bar.com' to add 
as a watcher for ticket 40291 
(/usr/local/lib/perl5/site_perl/5.8.9/RT/Ticket_Overlay.pm: 1113)
==

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
t...@soe.ucsc.edu
831-459-5354

___
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