[RCU] LDAP date format should be unix timestamp, not Y-m-d

2012-09-09 Thread Achim
Hello list: I started using RC 0.8.1 yesterday, and wanted to congratulate everybody involved for a great piece of software: Thank you! LDAP has significantly improved, and I am now able to sync all fields from my iOS devices with an LDAP backend that can also be edited via RC. An

Re: [RCU] LDAP date format should be unix timestamp, not Y-m-d

2012-09-09 Thread A.L.E.C
On 09/09/2012 02:30 PM, Achim wrote: I have tried to update rcmail_format_date_col() from program/steps/addressbook/func.inc (using date format string s for timestamp), and format_date() from program/steps/addressbook/func.inc but RC still writes the date field as Y-m-d, independent of what I

[RCU] LDAP import/export from RC generated vCards

2012-09-09 Thread Achim
Hello again: It appears that RC uses some tricks to generate valid LDAP records upon import. The following setting 'required_fields' = array('cn', 'givenName', 'sn', 'mail' ), populates all 4 fields correctly for records that a) have a value for field FN that contains at least two

[RCU] LDAP email addresses

2012-09-09 Thread Achim
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

Re: [RCU] LDAP email addresses

2012-09-09 Thread Achim
Small correction: When I proceed to edit any of those 3 email entries (eg u...@work.com, u...@home.org, u...@other.net) in RC, only the last entry (u...@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

Re: [RCU] LDAP email addresses

2012-09-09 Thread A.L.E.C
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'

Re: [RCU] LDAP email addresses

2012-09-09 Thread Achim
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

Re: [RCU] LDAP date format should be unix timestamp, not Y-m-d

2012-09-09 Thread Achim
Hello Alec: On 2012-09-09 15:58, A.L.E.C wrote: On 09/09/2012 02:30 PM, Achim wrote: I have tried to update rcmail_format_date_col() from program/steps/addressbook/func.inc (using date format string s for timestamp), and format_date() from program/steps/addressbook/func.inc but RC still