General discussion on installation and configuration of SOGo

Text archives Help


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


Chronological Thread 
  • From: Martin Rabl < >
  • To:
  • Subject: Re: [SOGo] LDAP-Filter - How to use?
  • Date: Wed, 04 Jan 2012 09:20:00 +0100

Hi Francis,

ok - just tried it, here my report:

- The Symbol for NOT '<>' has to be a &lt;&gt;, or an ugly error will happen:
2012-01-04 08:55:54.880 sogod[10710] File NSDictionary.m: 628. In -[NSDictionary initWithContentsOfFile:] Contents of file '/data0/srv/sogo/GNUstep/Defaults/.GNUstepDefaults' does not contain a dictionary
<0x0x20e8c20[SOGoStartupLogger]> No configuration found. SOGo will not work properly.

Thats clear, because of an improper XML-Config-File (ok, I could set it with 'defaults' - but, its Unix ;-) )

Are you shure, there is not a better symbol for unequal like '!=' or "IS NOT EQ"?


- after removing my account from the Groupwaregroup and done a login (trial) the following errormessage apears:
"object not found: SOGo => mra"
Thats - hm - ugly. But a kind of login will be denied, as wished.
I think, SOGo checks my password, let me in but did not found further userdata (or something else)

Greetings,
Martin

Am 03.01.2012 19:36, schrieb Martin Rabl:
Thank you, I will give it a try tomorrow morning.

---
Martin Rabl

Am 03.01.2012 um 19:33 schrieb Francis
Lachapelle< >:

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)

--

https://inverse.ca/sogo/lists


--
Greetings,

Martin Rabl



Archive powered by MHonArc 2.6.18.

Top of page