General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] LDAP filter question


Chronological Thread 
  • From: Paul van der Vlis < >
  • To:
  • Subject: Re: [SOGo] LDAP filter question
  • Date: Tue, 23 Apr 2013 23:50:36 +0200

On 23-04-13 16:42, Jean Raby wrote:
> On 13-04-23 10:15 AM, Paul van der Vlis wrote:
>> Hello,
>>
>> I use LDAP authentication on a server, but there are some users in LDAP
>> who I don't want to give access to Sogo.
>>
>> They should be easy to filter, because they don't have an e-mail
>> address. Do you have an idea how to filter this?
>>
>> This does not work:
>> filter = "(!(mail=''))";
>> filter = "(!(mail=))";
>> filter = "(!(mail='*@*'))";
>> filter = "(!(mail=*@*))";
>>
>
> Do the opposite, add a filter to include all users with a mail attribute:
> filter = "mail = '*'";

Hey, this works!

Thanks!

With regards,
Paul van der Vlis.



--
Paul van der Vlis Linux systeembeheer, Groningen
http://www.vandervlis.nl/




Archive powered by MHonArc 2.6.18.

Top of page