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 (/opt/rt3/share/html/autohandler:273) [Mon Nov 3 14:20:10 2008] [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:276) [Mon Nov 3 14:20:11 2008] [debug]: RT::Date used Time::ParseDate to make '2008-10-31' 1225436400 (/opt/rt3/bin/../lib/RT/Date.pm:209) [Mon Nov 3 14:20:11 2008] [debug]: RT::Date used Time::ParseDate to make '2008-11-06' 1225958400 (/opt/rt3/bin/../lib/RT/Date.pm:209) [Mon Nov 3 14:20:11 2008] [debug]: RT::Date used Time::ParseDate to make '2008-10-31' 1225436400 (/opt/rt3/bin/../lib/RT/Date.pm:209) [Mon Nov 3 14:20:11 2008] [debug]: RT::Date used Time::ParseDate to make '2008-11-06' 1225958400 (/opt/rt3/bin/../lib/RT/Date.pm:209) [Mon Nov 3 14:20:11 2008] [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:276) [Mon Nov 3 14:20:11 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:22:29 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:22:30 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:22:48 2008] [warning]: Transaction->Create couldn't, as you didn't specify an object type and id (/opt/rt3/bin/../lib/RT/Record.pm:1439) [Mon Nov 3 14:22:48 2008] [error]: Couldn't get principal for not loaded object (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1113) [Mon Nov 3 14:22:48 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:22:48 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:22:48 2008] [debug]: LDAP Search === Base: dc=canyonpartners,dc=local == Filter: (&(sAMAccountName=juser)(objectClass=*)) == Attrs: dn (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:185) [Mon Nov 3 14:22:48 2008] [debug]: Found LDAP DN: CN=Joe User,OU=Users,OU=Century City,OU=Americas,OU=Testing,DC=canyonpartners,DC=local (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:217) [Mon Nov 3 14:22:48 2008] [info]: RT::User::IsExternalPassword External Auth OK ( My_LDAP ): juser (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:281) [Mon Nov 3 14:22:48 2008] [debug]: RT::User::IsPassword External auth SUCCEEDED (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:360) [Mon Nov 3 14:22:48 2008] [info]: Autocreated authenticated user juser ( 14 ) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:64) [Mon Nov 3 14:22:48 2008] [debug]: LDAP Search === Base: dc=canyonpartners,dc=local == Filter: (&(objectClass=*)(sAMAccountName=juser)) == 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:22:48 2008] [debug]: LDAP Search === Base: dc=canyonpartners,dc=local == Filter: (&(objectClass=*)(userAccountControl:1.2.840.113556.1.4.803:=2)(sAMAccountName=juser)) == Attrs: uid (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm:893) [Mon Nov 3 14:22:48 2008] [crit]: User #14 has principal of Group type (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1123)
_______________________________________________ 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
