General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] LDAP-Filter - How to use?


Chronological Thread 
  • From: Francis Lachapelle < >
  • To:
  • Subject: Re: [SOGo] LDAP-Filter - How to use?
  • Date: Tue, 3 Jan 2012 13:33:44 -0500

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

--

:: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence
(http://packetfence.org)




Archive powered by MHonArc 2.6.18.

Top of page