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
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to