Quick question: if I try the new .07_1, and get this on login (whether as root or as a user in AD):
Undefined subroutine &RT::Authen::ExternalAuth::UserExists called at /opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth line 39, line 323. Have I borked something more basic, or would more info / my debug logs be useful to you? FYI, from what I see in the log, it doesn't even look like any attempt to query AD has been made, so I don't know what sort of cleverness I perpetrated here. ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Zuercher Sent: Thursday, November 06, 2008 5:24 PM To: [EMAIL PROTECTED] Cc: RT Users Subject: Re: [rt-users] CALLING EXTERNALAUTH TESTERS - v0.07_01 nowavailable. I'm still getting the same error: Can't call method "SetDisabled" on an undefined value at /opt/rt3/bin/../lib/RT/User_Overlay.pm line 1087. I installed over the top and recieved that error. so then I remove the RT_AUTH dir from the plugins folder and reinstalled again. Same error. Here is what the rt.log shows (looks promising): [Thu Nov 6 22:16:48 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:12) [Thu Nov 6 22:16:57 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:12) [Thu Nov 6 22:16:57 2008] [debug]: $pass defined (slinky), Running IsPassword (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:69) [Thu Nov 6 22:16:57 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:16:57 2008] [debug]: Trying External Authentication ( mccartyj ) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:24) [Thu Nov 6 22:16:57 2008] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:150) [Thu Nov 6 22:16:57 2008] [debug]: Trying external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:13) [Thu Nov 6 22:16:57 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (&(cn=mccartyj)(objectclass=Person)) == Attrs: dn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:40) [Thu Nov 6 22:16:57 2008] [debug]: Found LDAP DN: cn=McCartyJ,ou=Users,o=Dist86 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:72) [Thu Nov 6 22:16:57 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (member=cn=McCartyJ,ou=Users,o=Dist86) == Attrs: dn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:97) [Thu Nov 6 22:16:57 2008] [warning]: Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch.pm line 22. (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:136) [Thu Nov 6 22:16:57 2008] [info]: RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ): (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:136) [Thu Nov 6 22:16:57 2008] [debug]: RT::User::IsPassword EXTERNAL AUTH OKAY (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:26) [Thu Nov 6 22:16:57 2008] [debug]: UserExists params: username: mccartyj , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:271) [Thu Nov 6 22:16:57 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (&(objectclass=Person)(cn=mccartyj)) == Attrs: l,givenName,st,mail,uid,co,ou,postalCode,telephoneNumber,cn,o,cn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:301) [Thu Nov 6 22:16:57 2008] [debug]: UserExists params: username: mccartyj , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:271) [Thu Nov 6 22:16:57 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (&(objectclass=Person)(cn=mccartyj)) == Attrs: l,givenName,st,mail,uid,co,ou,postalCode,telephoneNumber,cn,o,cn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:301) [Thu Nov 6 22:16:57 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (&(objectclass=Person)(employmentStatus=Terminated)(cn=mccartyj)) == Attrs: uid (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:395) [Thu Nov 6 22:16:57 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:16:58 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:16:58 2008] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1031) [Thu Nov 6 22:16:58 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:16:58 2008] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1031) [Thu Nov 6 22:16:58 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:16 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:12) [Thu Nov 6 22:17:16 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:16 2008] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1031) [Thu Nov 6 22:17:19 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:12) [Thu Nov 6 22:17:19 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:19 2008] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1031) [Thu Nov 6 22:17:20 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:20 2008] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1031) [Thu Nov 6 22:17:20 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:23 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:23 2008] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1031) [Thu Nov 6 22:17:23 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:23 2008] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1031) [Thu Nov 6 22:17:23 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:40 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:12) [Thu Nov 6 22:17:48 2008] [debug]: $pass defined (slinky), Running IsPassword (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:69) [Thu Nov 6 22:17:48 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) [Thu Nov 6 22:17:48 2008] [debug]: Trying External Authentication ( mccartyj ) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:24) [Thu Nov 6 22:17:48 2008] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:150) [Thu Nov 6 22:17:48 2008] [debug]: Trying external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:13) [Thu Nov 6 22:17:48 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (&(cn=mccartyj)(objectclass=Person)) == Attrs: dn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:40) [Thu Nov 6 22:17:48 2008] [debug]: Found LDAP DN: cn=McCartyJ,ou=Users,o=Dist86 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:72) [Thu Nov 6 22:17:48 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (member=cn=McCartyJ,ou=Users,o=Dist86) == Attrs: dn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:97) [Thu Nov 6 22:17:48 2008] [warning]: Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch.pm line 22. (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:136) [Thu Nov 6 22:17:48 2008] [info]: RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ): (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:136) [Thu Nov 6 22:17:48 2008] [debug]: RT::User::IsPassword EXTERNAL AUTH OKAY (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:26) [Thu Nov 6 22:17:48 2008] [debug]: UserExists params: username: mccartyj , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:271) [Thu Nov 6 22:17:48 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (&(objectclass=Person)(cn=mccartyj)) == Attrs: l,givenName,st,mail,uid,co,ou,postalCode,telephoneNumber,cn,o,cn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:301) [Thu Nov 6 22:17:48 2008] [debug]: UserExists params: username: mccartyj , service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:271) [Thu Nov 6 22:17:48 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (&(objectclass=Person)(cn=mccartyj)) == Attrs: l,givenName,st,mail,uid,co,ou,postalCode,telephoneNumber,cn,o,cn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:301) [Thu Nov 6 22:17:48 2008] [debug]: LDAP Search === Base: o=dist86 == Filter: (&(objectclass=Person)(employmentStatus=Terminated)(cn=mccartyj)) == Attrs: uid (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:395) [Thu Nov 6 22:17:48 2008] [crit]: User #13 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123) On Thu, Nov 6, 2008 at 4:06 PM, Mike Peachey <[EMAIL PROTECTED]> wrote: Aaron Zuercher wrote: wedding vegetables? :D Yes. :) Mike, I'll test it ASAP, can I install over top of the old version or do I need to remove it? what is the recommended uninstall method? Over the top is fine. User_Vendor.pm is still there, but has been reduced to almost nothing. All the functionality has been moved out to: lib/RT/Authen/ExternalAuth.pm lib/RT/Authen/ExternalAuth/LDAP.pm lib/RT/Authen/ExternalAuth/DBI.pm Uninstallation is a manual affar I'm afraid. For RT-3.6.x you basically need to remove every file detailed in the MANIFEST file, but for RT-3.8.x you should just be able to remove the local/plugins/RT-Authen-ExternalAuth directory. -- 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: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
