General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] LDAP filter question


Chronological Thread 
  • From: Jean Raby < >
  • To:
  • Subject: Re: [SOGo] LDAP filter question
  • Date: Tue, 23 Apr 2013 10:42:28 -0400

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 = '*'";

--
Jean Raby

:: +1.514.447.4918 (x120) :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)



Archive powered by MHonArc 2.6.18.

Top of page