Hi, as in object i have two sources, one for Users and onw for Groups
I want to disable access to calendar module for tecnici group. Can you help me?
I have try in this way, but it doesn't works

SOGoUserSources = (

            {
                CNFieldName = cn;
                IDFieldName = uid;
                UIDFieldName = uid;
                baseDN = "ou=Users,dc=nethesis,dc=it";
                bindFields = uid;
                canAuthenticate = YES;
                displayName = "Users";
                hostname = localhost;
                id = users;
                isAddressBook = YES;
                port = ;
                type = ldap;


            },
            {
                CNFieldName = cn;
                IDFieldName = cn;
                UIDFieldName = cn;
                baseDN = "ou=Groups,dc=nethesis,dc=it";
                bindFields = cn;
                canAuthenticate = YES;
                displayName = "Groups";
                hostname = localhost;
                id = groups;
                isAddressBook = YES;
                port = ;
                type = ldap;
                ModulesConstraints = {
                        Calendar = {
                                cn = tecnici;
                        };
                };


This is a part of my ldif

dn: uid=alessio,ou=Users,dc=nethesis,dc=it
structuralObjectClass: inetOrgPerson
entryUUID: 262c41f4-934b-102f-964a-b7103f2b038f
creatorsName: cn=root,dc=nethesis,dc=it


dn: cn=tecnici,ou=Groups,dc=nethesis,dc=it
objectClass: posixGroup
objectClass: mailboxRelatedObject
cn: tecnici
memberUid: alessio

dn: uid=davide,ou=Users,dc=nethesis,dc=it
structuralObjectClass: inetOrgPerson
entryUUID: a6fd3fb8-9355-102f-964c-b7103f2b038f
creatorsName: cn=root,dc=nethesis,dc=it

--
Alessio Fattorini ([email protected])

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - [email protected]
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to