Hello

On 03.06.2015 14:09, Christian Mack wrote:
> Hello
> 
> Am 2015-06-02 um 19:07 schrieb Christian Albrecht:
>> Hello,
>>
>> we try to share a calendar from one user to a ldap group but it doesn't
>> work.
>>
>> User1 shares his calendar to the ldap group "group1" (right click on
>> calendar --> Sharing...). User2 try to subscribe the calender but he
>> can't see it in the list of the subscribe menu.
>>
>> We have no idea what we are doing wrong. In the logs there is no error.
>>
>> Thanks for your help!
>>
>> Best Regards
>> Christian
>>
>>
>>
>> *** LDIF of group:
>>
>> dn: cn=group1,ou=Groups,dc=dom,dc=de
>> objectClass: posixGroup
>> objectClass: top
>> objectClass: sambaGroupMapping
>> objectClass: x-SOGoGroup
>> cn: group1
>> description: description1
>> displayName: group1
>> gidNumber: 500
>> mail: gro...@dom.de
>> memberUid: user1
>> memberUid: user2
>> memberUid: user3
>> sambaGroupType: 2
>> sambaSID: S-1-5-21-1873110158-3897209530-3414510197-2001
>>
>>
>>
>>
>> *** Sogo config:
>>       ...
>>       {
>>           type = ldap;
>>           displayName = "UserSource1";
>>           id = ldap_users_sources_1;
>>           CNFieldName = cn;
>>           IDFieldName = uid;
>>           UIDFieldName = uid;
>>           baseDN = "ou=Users,ou=People,dc=dom,dc=de";
>>           bindDN = "cn=webmail,ou=Bind,ou=SpecialUser,dc=dom,dc=de";
>>           //bindFields = (uid);
>>           bindPassword = xxx;
>>           canAuthenticate = YES;
>>           hostname = ldaps://ldap.dom.de:636;
>>           isAddressBook = YES;
>>           MailFieldNames = ("mail",mailAlternateAddress);
>>           SearchFieldNames = ("cn","displayName","uid");
>>           filter = "ObjectClass='mailRecipient' AND
>> ObjectClass='posixAccount' AND
>> nsrole='cn=mainmembership,ou=people,dc=dom,dc=de'";
>>           mapping = {
>>               birthyear = "BirthYear";
>>               birthmonth = "BirthMonth";
>>               birthday = "BirthDay";
>>               mozillasecondemail = "mailAlternateAddress";
>>              };
>>       },
>>       {
>>           type = ldap;
>>           displayName = "Groups";
>>           id = ldap_users_sources_groups;
>>           CNFieldName = cn;
>>           IDFieldName = cn;
>>           UIDFieldName = cn;
>>           baseDN = "ou=Groups,dc=dom,dc=de";
>>           bindDN = "cn=webmail,ou=Bind,ou=SpecialUser,dc=dom,dc=de";
>>           //bindFields = (uid);
>>           bindPassword = xxx;
>>           canAuthenticate = YES;
>>           hostname = ldaps://ldap.dom.de:636;
>>           isAddressBook = NO;
>>           MailFieldNames = ("mail");
>>           SearchFieldNames = ("cn","displayName");
>>           filter = "ObjectClass='x-SOGoGroup'";
>>           GroupObjectClasses = ("groupOfUniqueNames","posixGroup");
>>           mapping = {
>>           };
>>       },
>>       ....
>>
> 
> You have to set isAddressBook = YES; for your Groups part.
> 
> 
> Kind regards,
> Christian Mack
> 

I tried isAddressBook = YES; but it does not work.

Kind regards,
Christian Albrecht
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to