Hi,
I use SOGo 2.2.9a1 on Debian Wheezy.
I have my users stored in a mysql backend (corresponding to a
postfixadmin mysql database). Everything works good (integration with
Mozilla Thunderbird and Apple calendar, authentication on sogo web
interface, webmail, ...).
I try to use LDAP to define groups so i can invite a group
(corresponding with our mailing lists) and it should be converted into
as much personal invitations as users defined in that group.
Here is a part of my sogo.conf :
SOGoUserSources = (
{
KindFieldName = kind;
MultipleBookingsFieldName = multiple_bookings;
canAuthenticate = YES;
displayName = EasyFlirt;
id = easyflirt;
isAddressBook = YES;
type = sql;
userPasswordAlgorithm = sha;
viewURL =
"mysql://sogo:[email protected]:3306/sogo/sogo_view";
},
{
type = LDAP;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = cn;
baseDN = "ou=Lists,DC=2lm,DC=root";
bindDN = "cn=sogo,dc=2lm,dc=root";
bindPassword = "xxxxxxxxx";
canAuthenticate = YES;
displayName = "Nos listes de diffusion";
hostname = "localhost";
port = 389;
id = lists;
isAddressBook = YES;
MailFieldNames = (cn,mail);
scope = SUB;
}
);
here is an extract of LDAP group definition (with only 2 persons here) :
dn: cn=testlist,ou=Lists,dc=2lm,dc=root
objectClass: top
objectClass: groupOfUniqueNames
objectClass: extensibleObject
cn: testlist
description: Liste test
mail: [email protected]
uniqueMember: uid=joel.golliet,ou=People,dc=2lm,dc=root
uniqueMember: uid=sysmaster,ou=People,dc=2lm,dc=root
structuralObjectClass: groupOfUniqueNames
and an extract of personal ldif :
dn: uid=joel.golliet,ou=People,dc=2lm,dc=root
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: top
uid: joel.golliet
cn: joel.golliet
mail: [email protected]
givenName:: Joel
sn: GOLLIET
structuralObjectClass: inetOrgPerson
with same thing for the second user.
I do find the "[email protected]" adress in address book "Nos listes de
diffusion" in sogo web interface.
When i create en event and add "[email protected]" (that is proposed by
autocompletion) as intendee, it creates the event with this "fake user"
and send an email invitation to "[email protected]" and not each of the
users corresponding to this group.
That's not what i expected...
What did i did wrong ?
Thanks.
--
Document sans nom
*Joël Golliet* | Ingénieur Infrastructure & Système
2lMultimedia - Park Nord, Les Pléiades, 74370 - Metz-Tessy - FRANCE
<http://www.easyflirt-partners.biz>
Pensez à l'environnement, n'imprimez cet e-mail qu'en cas de réelle
nécessité
--
[email protected]
https://inverse.ca/sogo/lists