[rt-users] LDAP d filter question

Kevin Falcone falcone at bestpractical.com
Fri Jul 9 10:27:28 EDT 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100709/49a6a7cc/attachment.sig>


More information about the rt-users mailing list