Re: [SOGo] LDAP filter question
Le 23/04/2013 23:50, Paul van der Vlis a écrit : 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. Hello, it seems that : filter = mail = '*'; doesn't work with sogo package 2.0.5.20130422-1 on debian 7... it doesn't work for me.. the caracter jocker * is not considered! nice day -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] LDAP filter question
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=*@*)); With regards, Paul van der Vlis. -- Paul van der Vlis Linux systeembeheer, Groningen http://www.vandervlis.nl/ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] LDAP filter question
On 23/04/13 10:15, Paul van der Vlis wrote: This does not work: filter = (!(mail='')); filter = (!(mail=)); filter = (!(mail='*@*')); filter = (!(mail=*@*)); Try: filter = (!(mail=*)) -- Ludovic Marcotte +1.514.755.3630 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] LDAP filter question
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
Re: [SOGo] LDAP filter question
On 23-04-13 16:35, Ludovic Marcotte wrote: filter = (!(mail=*)) This gives an error: object not found: mailtest. Where mailtest is the user. Sogo version 1.3.16 from Debian 7. With regards, Paul van der Vlis. -- Paul van der Vlis Linux systeembeheer, Groningen http://www.vandervlis.nl/ -- users@sogo.nu https://inverse.ca/sogo/lists