[rt-users] RTx::EmailCompletion - LDAP setup error and RDBMS not disabling

Mike Johnson mike.johnson at nosm.ca
Wed May 25 09:13:03 EDT 2011


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 <MarkRoedel at letu.edu> wrote:

> Might $EmailCompletionRdbmsDisable be the variable you want here?
>
>
> From: Mike Johnson <mike.johnson at nosm.ca<mailto:mike.johnson at nosm.ca>>
> Date: Tue, 24 May 2011 16:34:54 -0400
> To: <rt-users at lists.bestpractical.com<mailto:
> rt-users at lists.bestpractical.com>>
> 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: mike.johnson at nosm.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110525/b0d385d5/attachment.htm>


More information about the rt-users mailing list