[RndTbl] Odd LDAP issue

Sean Cody sean at tinfoilhat.ca
Tue Jul 17 14:57:29 CDT 2012


K.

Try variants of: 

 (&(&(uid=robert)(objectClass=clientAccount))(clientAccountEnabled=TRUE))

The & operator is diadic and the previous queries were triadic so factor out into two diadic operations.  Try the. Pole an filter on it's own to validate that component then. Ombine after.

Either that or your ldap filter implementation  isn't equating TRUE with the Boolean oid type.  Check for string issues like spaces or non-printables? (guessing at this point)

-- 
Sean (mobile)

On 2012-07-17, at 3:45 PM, Robert Keizer <robert at keizer.ca> wrote:

> On 12-07-17 02:42 PM, Sean Cody wrote:
>> Have you tried these filter variants?
>> clientAccountEnabled=1
>> clientAccountEnabled=0
> 
> Both above fail.
> 
>> &(clientAccountEnabled)
>> &(!clientAccountEnabled)
>> 
> 
> Invalid syntax ( Bad search filter ).
> 
> 
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.mb.ca
> http://www.muug.mb.ca/mailman/listinfo/roundtable
> 



More information about the Roundtable mailing list