[rt-users] Intergration with LDAP

Nelson Pereira npereira at protus.com
Tue Apr 8 15:19:40 EDT 2008


So what are you saying?

         # The filter to use to match RT-Users
         'filter'                    =>  '(cn=*)',
         # The filter that will only match disabled users
         'd_filter'                  =>  '(objectClass=*)',


????????????



-----Original Message-----
From: mpeac at jennic.com [mailto:mpeac at jennic.com] On Behalf Of Mike
Peachey
Sent: Tuesday, April 08, 2008 3:18 PM
To: Chaim Rieger
Cc: Nelson Pereira; rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Intergration with LDAP

Chaim Rieger wrote:
> Nelson Pereira wrote:
>> What Im wondering, is what are theses 2 bellow lines and do I need
them?
>>         # The filter to use to match RT-Users
>>         'filter'                    =>  '*',
>>         # The filter that will only match disabled users
>>         'd_filter'                  =>  '*',
>>   
> 
> shouldnt filter be cn=*


While I think I wrote the code so that it would be tolerant of the lack 
of them, LDAP filters should ALWAYS be enclosed in parentheses:
  (cn=*)

And, I'm not sure why, but it seems the preferred method of having an 
LDAP "catch-all" filter is to use objectClass:
(objectClass=*)
--
Kind Regards,




More information about the rt-users mailing list