Re: [rt-users] RT::Authen::ExternalAuth v0.06 Released - Includes 3.8.xCompatibility
Sean McCreadie wrote: Hello Mike, Thank you and Kevin for working hard on this release, I am excited to hopefully get it working on my RT 3.8.1 server. I have installed the v0.06 release but I am running into difficulty getting it going. I have drilled over the lists trying to get info regarding the errors I am seeing but so far I have been unable to get users to authenticate with AD. I am running a Windows Server 2003 Active Directory, pretty sure anonymous binding is disabled. I have attached my SiteConfig file, as well as the logging in rt.log when I try to authenticate. I have tried many different ways of entering the 'user' value to no avail. I have no problem authenticating with the local root account. Im not sure how or where to look to see if the RT server is even attempting to authenticate users to AD, when I look through the rt.log file it doesn't appear to be. Thanks in advance for any insight. Can you turn off log stack traces and repost an rt.log? I'm having difficulty reading through the one you sent quickly and don't have a lot of time for reading v. slowly. FWIW, your RT_SiteConfig.pm looks right on the money. -- 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
Re: [rt-users] RT::Authen::ExternalAuth v0.06 Released - Includes 3.8.xCompatibility
Mike, Thank you for looking at my problem. I disabled the log stack traces as you suggested and attached the new log file. Now I can see that it is indeed authenticating my test user Joe User with my AD. The attached log file contains the results of first logging in successfully as root and then as Joe User. When I try to login as the AD user in the web UI I get the following error in the browser: Can't call method SetDisabled on an undefined value at /opt/rt3/bin/../lib/RT/User_Overlay.pm line 1087, line 514. Thanks again for all the help. Sean Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Peachey Sent: Monday, November 03, 2008 1:28 AM To: Sean McCreadie Cc: RT Users Subject: Re: [rt-users] RT::Authen::ExternalAuth v0.06 Released - Includes 3.8.xCompatibility Sean McCreadie wrote: Hello Mike, Thank you and Kevin for working hard on this release, I am excited to hopefully get it working on my RT 3.8.1 server. I have installed the v0.06 release but I am running into difficulty getting it going. I have drilled over the lists trying to get info regarding the errors I am seeing but so far I have been unable to get users to authenticate with AD. I am running a Windows Server 2003 Active Directory, pretty sure anonymous binding is disabled. I have attached my SiteConfig file, as well as the logging in rt.log when I try to authenticate. I have tried many different ways of entering the 'user' value to no avail. I have no problem authenticating with the local root account. Im not sure how or where to look to see if the RT server is even attempting to authenticate users to AD, when I look through the rt.log file it doesn't appear to be. Thanks in advance for any insight. Can you turn off log stack traces and repost an rt.log? I'm having difficulty reading through the one you sent quickly and don't have a lot of time for reading v. slowly. FWIW, your RT_SiteConfig.pm looks right on the money. -- 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 __ [Mon Nov 3 14:20:00 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:8) [Mon Nov 3 14:20:01 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:8) [Mon Nov 3 14:20:01 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:8) [Mon Nov 3 14:20:10 2008] [error]: Working around bug in RT and reloading RT::User (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:8) [Mon Nov 3 14:20:10 2008] [debug]: LDAP Search === Base: dc=canyonpartners,dc=local == Filter: ((objectClass=*)(sAMAccountName=root)) == Attrs: l,cn,st,mail,sAMAccountName,co,streetAddress,postalCode,telephoneNumber,sAMAccountName,physicalDeliveryOfficeName,sAMAccountName (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:853) [Mon Nov 3 14:20:10 2008] [debug]: Disable Check Failed :: ( My_LDAP ) root User not found (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:867) [Mon Nov 3 14:20:10 2008] [debug]: RT::User::IsExternalPassword Trying External authentication (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:52) [Mon Nov 3 14:20:10 2008] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:63) [Mon Nov 3 14:20:10 2008] [debug]: LDAP Search === Base: dc=canyonpartners,dc=local == Filter: ((sAMAccountName=root)(objectClass=*)) == Attrs: dn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:185) [Mon Nov 3 14:20:10 2008] [info]: My_LDAP AUTH FAILED: root User not found or more than one user found (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:208) [Mon Nov 3 14:20:10 2008] [info]: RT::User::IsExternalPassword External Auth Failed: root (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:294) [Mon Nov 3 14:20:10 2008] [debug]: RT::User::IsPassword External auth FAILED (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:360) [Mon Nov 3 14:20:10 2008] [info]: RT::User::IsInternalPassword AUTH OKAY: root (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:313) [Mon Nov 3 14:20:10 2008] [debug]: RT::User::IsPassword Internal auth SUCCEEDED (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:366) [Mon Nov 3 14:20:10 2008] [info]: Successful login for root from 10.10.51.69
Re: [rt-users] RT::Authen::ExternalAuth v0.06 Released - Includes 3.8.xCompatibility
Robert Munsch wrote: Bad link: it seems to be at http://search.cpan.org/~zordrak/RT-Authen-ExternalAuth-0.06_03/ and is marked Developer Release, if that matters. Please re-read carefully: Mike Peachey wrote: it may take some time for it to become available and propagate to the mirrors. Once done, you should be able to install it directly through the CPAN shell or find it here: http://search.cpan.org/~zordrak/RT-Authen-ExternalAuth-0.06/ Until then, you can install directly from the BPS SVN server's trunk 0.06_03 is the most recent devel release and when 0.06 is fully inserted into CPAN, it will show up as the latest release. -- 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
Re: [rt-users] RT::Authen::ExternalAuth v0.06 Released - Includes 3.8.xCompatibility
Hello Mike, Thank you and Kevin for working hard on this release, I am excited to hopefully get it working on my RT 3.8.1 server. I have installed the v0.06 release but I am running into difficulty getting it going. I have drilled over the lists trying to get info regarding the errors I am seeing but so far I have been unable to get users to authenticate with AD. I am running a Windows Server 2003 Active Directory, pretty sure anonymous binding is disabled. I have attached my SiteConfig file, as well as the logging in rt.log when I try to authenticate. I have tried many different ways of entering the 'user' value to no avail. I have no problem authenticating with the local root account. Im not sure how or where to look to see if the RT server is even attempting to authenticate users to AD, when I look through the rt.log file it doesn't appear to be. Thanks in advance for any insight. Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Peachey Sent: Saturday, November 01, 2008 11:46 AM To: RT Users; RT Devel Subject: [rt-users] RT::Authen::ExternalAuth v0.06 Released - Includes 3.8.xCompatibility Evening All, I am proud to announce the official release of RT::Authen::ExternalAuth v0.06 - the first release to be out-of-the-box compatible with RT 3.8.x. Thanks to everyone for being so patient in waiting for this, I know it has been a long time since 3.8.0 came out, but as many know I have been ridiculously busy. I want to extend MASSIVE thanks to Kevin Falcone for the work he put into this, it wouldn't have happened without him - at least not for some time. I have uploaded the release to CPAN, but it may take some time for it to become available and propagate to the mirrors. Once done, you should be able to install it directly through the CPAN shell or find it here: http://search.cpan.org/~zordrak/RT-Authen-ExternalAuth-0.06/ Until then, you can install directly from the BPS SVN server's trunk, I don't expect trunk to be changed at least until mid next week, so you can trust it to be the same as the release at least until it's available on CPAN. To get and install it from the SVN server: $ svn co http://code.bestpractical.com/bps-public/RT-Authen-ExternalAuth $ cd RT-Authen-ExternalAuth/trunk $ perl Makefile.PL $ make $ make install Have fun :) BTW, any bugs or feature requests should be submitted through the CPAN RT system at http://rt.cpan.org. -- 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 # Any configuration directives you include here will override # RT's default configuration file, RT_Config.pm # # To include a directive here, just copy the equivalent statement # from RT_Config.pm and change the value. We've included a single # sample value below. # # This file is actually a perl module, so you can include valid # perl code, as well. # # The converse is also true, if this file isn't valid perl, you're # going to run into trouble. To check your SiteConfig file, use # this comamnd: # # perl -c /path/to/your/etc/RT_SiteConfig.pm Set($LogToSyslog, 'debug'); Set($LogToScreen, 'debug'); Set($LogToFile , 'debug'); Set($LogDir, 'var/log'); Set($LogToFileNamed , rt.log);#log to rt.log Set($LogStackTraces, 1); Set($WebBaseURL , http://RT2:80;); Set($WebPath , ); Set($rtname, Canyon Partners); Set($Organization , Canyon Partners, LLC); Set($DatabaseUser , rt_user); Set($DatabasePassword , password); Set($FriendlyFromLineFormat , \%s via HelpDesk\ %s); Set($OwnerEmail , ''); Set($CorrespondAddress , '[EMAIL PROTECTED]'); Set($CommentAddress , '[EMAIL PROTECTED]'); Set($SendmailPath , /usr/sbin/sendmail); Set($Timezone , 'US/Pacific'); Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar MyAdminQueues MySupportQueues MyReminders RefreshHomepage MyLocks SavedSearchList)]); #Set(@Plugins,(qw(Extension::QuickDelete))); Set (@Plugins,(qw(RT::FM RTx::Calendar RT::Extension::TicketLocking RTx::EmailCompletion RT::Authen::ExternalAuth))); Set($EmailCompletionUnprivileged,everybody); Set( $EmailCompletionSearchFields, [qw(EmailAddress RealName Name)] ); Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, ['My_LDAP']); Set($ExternalServiceUsesSSLorTLS, 0); Set($AutoCreateNonExternalUsers, 0); Set($ExternalSettings, {'My_LDAP' = { ## GENERIC SECTION
Re: [rt-users] RT::Authen::ExternalAuth v0.06 Released - Includes 3.8.xCompatibility
Bad link: it seems to be at http://search.cpan.org/~zordrak/RT-Authen-ExternalAuth-0.06_03/ and is marked Developer Release, if that matters. -Original Message- or find it here: http://search.cpan.org/~zordrak/RT-Authen-ExternalAuth-0.06/ ___ 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