Ludovic Marcotte wrote:
> On 2016-03-13 15:10, Chris wrote:
>> Well there's an error. It isn't working like expected. Changing the LDAP
>> attribute has no influence.
> You cannot use filter = ... inside ModulesConstraints - which is limited
> to a single key/value pair.
>
> But you can combine ModulesConstraints and filter = ... within your
> SOGoUserSources.
>

Now, I've added an additional user source, but it isn't working:

...
baseDN = "dc=myorganization,dc=org";
hostname = ...
canAuthenticate = YES
...
 id = eas;
      isAddressBook = NO;
       filter = "(objectClass='inetOrgPerson') AND active-sync='enabled'";
      ModulesConstraints = {
       ActiveSync = {
            ou = people;
            };
       };
...

Users are all in the same LDAP branch, but some have the active-sync
attribute enabled.

- Chris

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to