Re: [rt-users] RT-Authen-ExternalAuth User could not be created: Could not set user info

2010-03-11 Thread Mike Peachey
Brian Forquer wrote:
> I have done various modifications to by RT_SiteConfig.pm , I have done
> searching and read the README’s.
> 
> I am having problems getting RT-Authen-ExternalAuth I am not sure if it
> is supposed to create logins in RT by default if it finds it in AD but I
> have tried just logging in and also creating a user neither works.

[Wed Mar 10 23:24:00 2010] [debug]: ExternalInfoPriority not defined.
User information (including user enabled/disabled cannot be
externally-sourced
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:40)

Set ExternalInfoPriority.

Also, do not set anything that is empty. ie dont set group => '', just
comment out or remove the group option.



-- 
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://www.jennic.com
__
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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

Re: [rt-users] RT-Authen-ExternalAuth User could not be created: Could not set user info

2010-03-10 Thread Robert Gabriel
On 11 March 2010 01:48, Brian Forquer  wrote:
> I have done various modifications to by RT_SiteConfig.pm , I have done
> searching and read the README’s.
>
> I am having problems getting RT-Authen-ExternalAuth I am not sure if it is
> supposed to create logins in RT by default if it finds it in AD but I have
> tried just logging in and also creating a user neither works.

The little that I know, I had this problem yesterday.

Seems to be that if you try and create a new user, the plugin looks in
LDAP/AD and tries to map the specified attributes.
If the user doesn't exist in LDAP/AD it cannot set user info.

Remove the plugin temporarily to allow the creation of users I suppose.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


[rt-users] RT-Authen-ExternalAuth User could not be created: Could not set user info

2010-03-10 Thread Brian Forquer
I have done various modifications to by RT_SiteConfig.pm , I have done 
searching and read the README's.
I am having problems getting RT-Authen-ExternalAuth I am not sure if it is 
supposed to create logins in RT by default if it finds it in AD but I have 
tried just logging in and also creating a user neither works.


Trying to login no user created.

[Wed Mar 10 23:24:00 2010] [debug]: RT's GnuPG libraries couldn't successfully 
read your configured GnuPG home directory (/opt/rt3/var/data/gpg). PGP support 
has been disabled (/opt/rt3/bin/../lib/RT/Config.pm:400)
[Wed Mar 10 23:24:00 2010] [debug]: Reloading RT::User to work around a bug in 
RT-3.8.0 and RT-3.8.1 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)
[Wed Mar 10 23:24:00 2010] [debug]: ExternalInfoPriority not defined. User 
information (including user enabled/disabled cannot be externally-sourced 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:40)
[Wed Mar 10 23:24:00 2010] [debug]: Attempting to use external auth service: 
My_LDAP 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)
[Wed Mar 10 23:24:00 2010] [debug]: SSO Failed and no user to test with. 
Nexting 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)
[Wed Mar 10 23:24:00 2010] [debug]: Autohandler called ExternalAuth. Response: 
(0, No User) 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)
[Wed Mar 10 23:24:11 2010] [debug]: RT's GnuPG libraries couldn't successfully 
read your configured GnuPG home directory (/opt/rt3/var/data/gpg). PGP support 
has been disabled (/opt/rt3/bin/../lib/RT/Config.pm:400)
[Wed Mar 10 23:24:11 2010] [debug]: Reloading RT::User to work around a bug in 
RT-3.8.0 and RT-3.8.1 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)
[Wed Mar 10 23:24:11 2010] [debug]: ExternalInfoPriority not defined. User 
information (including user enabled/disabled cannot be externally-sourced 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:40)
[Wed Mar 10 23:24:11 2010] [debug]: Attempting to use external auth service: 
My_LDAP 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)
[Wed Mar 10 23:24:11 2010] [debug]: Calling UserExists with $username 
(bforquer) and $service (My_LDAP) 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)
[Wed Mar 10 23:24:11 2010] [debug]: UserExists params:
username: bforquer , service: My_LDAP 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)
[Wed Mar 10 23:24:11 2010] [debug]: LDAP Search ===  Base: BLANKED == Filter: 
(&(objectClass=Person)(sAMAccountName=bforquer)) == Attrs: 
l,cn,st,mail,sAMAccountName,co,streetAddress,postalCode,telephoneNumber,sAMAccountName,physicalDeliveryOfficeName,sAMAccountName
 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:304)
[Wed Mar 10 23:24:11 2010] [debug]: Checking Username:  bforquer 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:123)
[Wed Mar 10 23:24:11 2010] [debug]: 
RT::Authen::ExternalAuth::CanonicalizeUserInfo called by RT::User 
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm 20 with: 
Disabled: 0, EmailAddress: , Gecos: bforquer, Name: bforquer, Privileged: 0 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:451)
[Wed Mar 10 23:24:11 2010] [warning]: Use of uninitialized value $_[1] in join 
or string at /usr/local/lib/perl5/site_perl/5.10.0/Log/Dispatch.pm line 21, 
 line 514. 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:459)
[Wed Mar 10 23:24:11 2010] [debug]: Attempting to get user info using this 
external service:  
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:459)
[Wed Mar 10 23:24:11 2010] [info]: 
RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Disabled: 0, 
EmailAddress: , Gecos: bforquer, Name: bforquer, Privileged: 0 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:537)
[Wed Mar 10 23:24:11 2010] [error]: Couldn't create user bforquer: Could not 
set user info 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:130)
[Wed Mar 10 23:24:11 2010] [debug]: Autohandler called ExternalAuth. Response: 
(0, No User) 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)
[Wed Mar 10 23:24:11 2010] [error]: FAILED LOGIN for bforquer from 
172.20.41.100 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)

Logging in as root and trying to create myself as a user

[Wed Mar 10 23:27:54 2010] [debug]: Reloading RT::User to work around a bug in 
RT-3.8.0 and RT-3.8.1 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)
[Wed Mar 1