Re: [SOGo] otherMailbox vs mozillaSecondEmail attribute

2014-03-22 Thread Szládovics Péter

2014-03-21 23:40 keltezéssel, Djordje Crni írta:

Hi,
If otherMailbox LDAP attribute contains only one email address, this 
email address will be displayed as secondary email address in contact 
details.


If otherMailbox LDAP attribute contains more than one email address, 
only one email address will be displayed as secondary email address in 
contact details - because mozillaSecondEmail attribute is 
single-valued. Other email addresses given in otherMailbox won't be 
displayed in contact details.


otherMailbox contains one email address only, but one LDAP entry could 
have more otherMailbox attribute ;)

otherMailbox compatible with Samba4/Openchange mozillaSecondEmail not.
If more otherMailbox attribute is used the user could use more then two 
outgoing addresses when he/she composes a new mail. User searchable 
based on any of his/her email addresses - but true: in the card not 
shown just the first one.


--
Szládovics, Péter

Onlinedemo.HU http://www.onlinedemo.hu
Any sufficiently advanced technology is indistinguishable from magic.
/Arthur C. Clarke/
--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] otherMailbox vs mozillaSecondEmail attribute

2014-03-21 Thread Djordje Crni
Hi,

I've just found one interesting earlier discussion on the mailing list:

  From: Christian Mack  christian.m...@uni-konstanz.de
  To: users@sogo.nu
  Subject: Re: [SOGo] SOGo does not start with 2 SOGoUserSources
  Date: Wed, 15 Jan 2014 13:39:06 +0100

Christian Mack said:

Try instead with:
mapping = {
  mozillasecondemail = (otherMailbox, mozillasecondemail);
  mozillaworkurl = (wWWHomePage, mozillaworkurl);
  nsaimid = (sAMAccountName, nsaimid);
  street = (streetAddress, street);
};

I've looked once more section LDAP Attributes Mapping in SOGo -
Installation and Configuration Guide, and I don't understand why LDAP
Attributes Mapping has such confusing format. I was expecting something
like Cedric Perrot described:

mapping = {
  mozillasecondemail = otherMailbox;
  mozillaworkurl = wWWHomePage;
  nsaimid = sAMAccountName;
  street = streetAddress;
};

What is the purpose of repeating contact's attribute name?

And one more remark regarding otherMailbox vs mozillaSecondEmail attribute.
Please, note the following:

mozillaSecondEmail (xmozillasecondemail) is defined as:
  OID 1.3.6.1.4.1.13769.2.2
  IA5String
  Single-valued
  Defined in: Mozilla Address Book

otherMailbox is defined as:
  OID  0.9.2342.19200300.100.1.22
  DirectoryString
  Multi-valued
  Defined in: RFC 1274

If otherMailbox LDAP attribute contains only one email address, this email
address will be displayed as secondary email address in contact details.

If otherMailbox LDAP attribute contains more than one email address, only
one email address will be displayed as secondary email address in contact
details - because mozillaSecondEmail attribute is single-valued. Other
email addresses given in otherMailbox won't be displayed in contact details.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists