[KLUG Members] LDAP search
lists at elite4god.com
lists at elite4god.com
Mon Jul 11 11:31:39 EDT 2005
>> I'm trying to write an LDAP filter that will exclude a specific OU from
>> the results.
>> I have (&(objectclass=user)(!(objectclass=computer)))
>> This works but I have an ou called users that contains all the system
>> users I don't want included in the results.
>
> ? So you only want objectclass of "computer"?
No this gives everything EXCEPT computer.
It's Yes on user and No on computer. This works. I get all 2000 users. No
computers.
More information about the Members
mailing list