Typos get me again!! I swear I'm dyslexic... Anyway, I've changed that and I'm still getting the debug line that it's selecting users from the RT database.
Set($EmailCompletionLdapServer, 'XX.XX.XX.XX'); Set($EmailCompletionLdapBase, 'dc=mydomain,dc=local'); Set($EmailCompletionLdapUser, 'distinguishedName of user'); Set($EmailCompletionLdapPass, 'pass'); Set($EmailCompletionLdapFilter, '(objectClass=person)'); Set($EmailCompletionLdapAttrSearch, [qw/mail cn/]); Set($EmailCompletionLdapAttrShow, "mail"); Set($EmailCompletionLdapMinLength, 4); Set($EmailCompletionRdbmsDisable, 1); As you can see, I've simplified my settings a fair bit more to try and get it to work... Still no LDAP values returned(not sure if the extension puts a debug line in showing the bind/search in the logs but that isn't there either), and the RT database is still being used. I restarted httpd after I made the changes, also tried using a completely new browser(in case there was client side caching going on)... is there a cache that needs cleaning on the server? Thanks! Mike. On Tue, May 24, 2011 at 10:11 PM, Roedel, Mark <[email protected]> wrote: > Might $EmailCompletionRdbmsDisable be the variable you want here? > > > From: Mike Johnson <[email protected]<mailto:[email protected]>> > Date: Tue, 24 May 2011 16:34:54 -0400 > To: <[email protected]<mailto: > [email protected]>> > Subject: [rt-users] RTx::EmailCompletion - LDAP setup error and RDBMS not > disabling > > Set($EmailCompletionRdmbsDisable, 1); > I have 2 issues I'm seeing now > > 1. the EmailCompletionRdmbsDisable doesn't seem to effect the lookup on > RT's database. In the debug logs I see this > > [Tue May 24 19:30:01 2011] [debug]: SELECT DISTINCT main.* FROM Users main > JOIN Principals Principals_1 ON ( Principals_1.id = main.id< > http://main.id/> ) WHERE (main.EmailAddress LIKE '%lori%') AND > (Principals_1.PrincipalType = 'User') ORDER BY main.Name ASC > (/opt/rt3/local/plugins/RTx-EmailCompletion/lib/RTx/EmailCompletion.pm:23) > > It's still searching RT's database. Now this could be linked to if the LDAP > is successful or not... but I would think the LDAP search would show up at > least? > > > -- Mike Johnson Datatel Programmer/Analyst Northern Ontario School of Medicine 955 Oliver Road Thunder Bay, ON P7B 5E1 Phone: (807) 766-7331 Email: [email protected]
