[rt-users] LDAP d filter question

Mike Peachey mike.peachey at jennic.com
Fri Jul 9 10:29:04 EDT 2010


Kevin Falcone wrote:
> On Fri, Jul 09, 2010 at 08:55:11AM +0100, Mike Peachey wrote:
>>> If you don't need it, make it the empty string
>>>
>> Have you tested that? I haven't checked within living memory, but my
>> general recommendation is to use something like (objectClass=ScoobyDoo)
>> so you guarantee not to match. I'm not sure than an empty string won't
>> cause a syntax failure on lookup.
> 
>    unless ($d_filter) {
>         # If we don't know how to check for disabled users, consider them all enabled.
>         $RT::Logger->debug("No d_filter specified for this LDAP service (",
>                             $service,
>                             "), so considering all users enabled");
>         return 0;
>     }
> 
> -kevin

Ah yes.
-- 
Kind Regards,

__________________________________________________

Mike Peachey, IT Systems Administrator
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
__________________________________________________



More information about the rt-users mailing list