Hello again:
When I create up to 3 email address values via LDAP in iOS (mapping in RC: 'email' => 'mail'), all of them are nicely displayed in the RC address book.
When I proceed to edit any of those 3 email entries in RC, only the modified entry will be written back to LDAP, the other two disappear, which leads to data loss.
How can this be avoided?
Furthermore, would it be possible to map those (max 3 email values) to the "work", "home" and "other" email fields with LDAP like it is possible in the SQL address book? If I choose
'email:work' => 'mail',
'email:home' => 'mail',
'email:other' => 'mail',
as the mapping, I of course see all entries prefixed with all 3 categories. What I am looking for is to have mail[0] map to email:work, mail[1] to email:home and mail[2] to email:work.
Cheers, Achim
Small correction:
When I proceed to edit any of those 3 email entries (eg user@work.com, user@home.org, user@other.net) in RC, only the last entry (user@other.net) will be written back to LDAP, the other two disappear, which leads to data loss.
It would appear that the email field to LDAP only takes one value, and the current code overwrites the existing values with more recent values.
Hope that helps, Achim
On 2012-09-09 17:53, Achim wrote:
Hello again:
When I create up to 3 email address values via LDAP in iOS (mapping in RC: 'email' => 'mail'), all of them are nicely displayed in the RC address book.
When I proceed to edit any of those 3 email entries in RC, only the modified entry will be written back to LDAP, the other two disappear, which leads to data loss.
How can this be avoided?
Furthermore, would it be possible to map those (max 3 email values) to the "work", "home" and "other" email fields with LDAP like it is possible in the SQL address book? If I choose
'email:work' => 'mail', 'email:home' => 'mail', 'email:other' => 'mail',
as the mapping, I of course see all entries prefixed with all 3 categories. What I am looking for is to have mail[0] map to email:work, mail[1] to email:home and mail[2] to email:work.
Cheers, Achim _______________________________________________ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
On 09/09/2012 05:53 PM, Achim wrote:
Furthermore, would it be possible to map those (max 3 email values) to the "work", "home" and "other" email fields with LDAP like it is possible in the SQL address book? If I choose
'email:work' => 'mail', 'email:home' => 'mail', 'email:other' => 'mail',
as the mapping, I of course see all entries prefixed with all 3 categories. What I am looking for is to have mail[0] map to email:work, mail[1] to email:home and mail[2] to email:work.
For now, the only supported possibility is 'email' => 'mail:*'. See comments in default main.inc.php file.
Hello Alec:
On 2012-09-09 17:58, A.L.E.C wrote:
For now, the only supported possibility is 'email' => 'mail:*'. See comments in default main.inc.php file.
Thank you very much: setting the mapping to 'email' => 'mail:*' solves the issue of the overwritten values and makes it possible to edit either of the three values without problems.
This is a very valuable setting, I did not see that mentioned anywhere.
Thanks again, Achim