Improve the module to support multiple ldap servers.
Regards, Ruslan. From phone. 2010 10 19 21:24 пользователь "Andrew Marosi" <amar...@lamparts.com> написал: > Thanks for the clarification Thomas. > Anyone have any ideas on how to accomplish the same result with a different solution? Thanks! > > -----Original Message----- > From: rt-users-boun...@lists.bestpractical.com [mailto: rt-users-boun...@lists.bestpractical.com] On Behalf Of Thomas Sibley > Sent: Tuesday, October 19, 2010 10:16 AM > To: rt-us...@bestpractical.com > Subject: Re: [rt-users] Multiple LDAP servers with EmailCompletion > > On 19 Oct 2010 11:52, Andrew Marosi wrote: >> I’ve been searching around but unable to locate the correct parameters >> for having more than one LDAP server to have EmailCompletion check >> against. Here’s the snippet from my RT_SiteConfig.pm: > > RTx-EmailCompletion doesn't support multiple LDAP servers like > ExternalAuth does. The multiple Set() lines for the same configuration > variable just overwrite it. > > Thomas > > >> Set($EmailCompletionLdapServer, "dc01.corp.XYZ.com"); >> >> Set($EmailCompletionLdapBase, "dc=corp,dc=XYZ,dc=com"); >> >> Set($EmailCompletionLdapUser, "rtldap"); >> >> Set($EmailCompletionLdapPass, "password"); >> >> Set($EmailCompletionLdapMinLength, 1); >> >> Set($EmailCompletionLdapFilter, "(objectclass=user)"); >> >> Set($EmailCompletionLdapServer, "dc02.XYZ2.com"); >> >> Set($EmailCompletionLdapBase, "dc=XYZ2,dc=com"); >> >> Set($EmailCompletionLdapUser, "otherrtldap"); >> >> Set($EmailCompletionLdapPass, "password"); >> >> Set($EmailCompletionLdapMinLength, 1); >> >> Set($EmailCompletionLdapFilter, "(objectclass=user)"); >> >> >> >> I have a feeling it doesn’t know which set of criteria to match against >> –and that’s why we end up getting sporadic results. >> >> >> >> We are using RT-Authen-ExternalAuth against the same two LDAP servers, >> and that’s working great for email->ticket creation/requestor creation >> as well as authentication. >> >> >> >> Thanks for any help! >> >> -Andy >> >