Thank you, I will give it a try tomorrow morning.

---
Martin Rabl

Am 03.01.2012 um 19:33 schrieb Francis Lachapelle <[email protected]>:

> Hi Martin
> 
> On 2012-01-03, at 11:50 AM, Martin Rabl wrote:
> 
>> I tried to transform a LDAP-Search-Command into a filter for the 
>> LDAP-SOGoUserSources.
>> 
>> My LDAP filter:
>> (&(objectClass=organizationalPerson)(memberOf=CN=Groupware-Accounts,CN=Users,DC=acme,DC=de)(!(userAccountControl=66050)))
>> 
>> My SOGo filter:
>> (objectClass='person' AND 
>> memberOf='CN=Groupware-Accounts,CN=Users,DC=acme,DC=de' AND NOT 
>> userAccountControl=66050)
>> 
>> Completely false, isn't it?
>> 
>> So, how to write a correct filter command? (I didn't find any further docs 
>> or howtos)
> 
> Try this :
> 
> objectClass='person' AND 
> memberOf='CN=Groupware-Accounts,CN=Users,DC=acme,DC=de' AND 
> userAccountControl <> 66050
> 
> 
> Francis
> 
> --
> [email protected] :: +1.514.755.3640 :: http://www.inverse.ca
> Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
> (http://packetfence.org)
> 
> -- 
> [email protected]
> https://inverse.ca/sogo/lists
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to