Hello
Am 2015-05-26 um 14:38 schrieb Michal Boruvka:
> Hello,
> if I enable filter = "objectClass=groupOfNames" in group source, then
> group decomposition in calendar stop working.
> Is it bug or some misconfiguration?
>
> {
> type = ldap;
> CNFieldName = cn;
> UIDFieldName = cn;
> IDFieldName = cn;
> //filter = "objectClass=groupOfNames";
> baseDN = "dc=sss,dc=cz";
> bindDN = "cn=manager,ou=accounts,dc=sss,dc=cz";
> bindPassword = sss;
> canAuthenticate = YES;
> displayName = "SSS skupiny";
> hostname = ldap://ldap1.sss.cz:389;
> id = skupiny;
> isAddressBook = YES;
> }
>
> group example:
>
> dn: [email protected],dc=sss,dc=cz
> objectClass: kolabGroupOfNames
> objectClass: groupOfNames
> cn: [email protected]
> mail: [email protected]
> member: uid=mibor2,ou=onlymail,ou=mail,ou=accounts,dc=sss,dc=cz
> member: uid=ahoj9999,ou=onlymail,ou=mail,ou=accounts,dc=sss,dc=cz
>
>
Misconfiguration.
In your SOGoUserSource with
filter="objectClass=groupOfNames";
you state, that only people can login to SOGo who have
objectClass=groupOfNames
Be assured, none of your users will have that, as this is an objectClass
used for groups only.
Check the description of GroupObjectClasses.
perhaps that is what you are looking for.
But I would suggest to add a seperate SOGoUserSource for your groups, e.g:
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
UIDFieldName = cn;
IDFieldName = cn;
baseDN = "dc=sss,dc=cz";
bindDN = "cn=manager,ou=accounts,dc=sss,dc=cz";
bindPassword = sss;
canAuthenticate = YES;
displayName = "SSS skupiny";
hostname = ldap://ldap1.sss.cz:389;
id = skupiny;
isAddressBook = YES;
},
{
type = ldap;
CNFieldName = cn;
UIDFieldName = cn;
IDFieldName = cn;
GroupObjectClasses = ("groupOfNames");
filter = "objectClass=groupOfNames";
baseDN = "dc=sss,dc=cz";
bindDN = "cn=manager,ou=accounts,dc=sss,dc=cz";
bindPassword = sss;
canAuthenticate = YES;
displayName = "SSS skupiny groups";
hostname = ldap://ldap1.sss.cz:389;
id = skupiny_groups;
isAddressBook = YES;
}
);
Kind regards,
Christian Mack
--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416
smime.p7s
Description: S/MIME Cryptographic Signature
