Hi everyone,
I have recently upgraded to the latest stable version (0.3.1). I was pleased to see that the users' private address books can now nicely be stored in LDAP as well. I like this because it enables address book synchronization with Thunderbird (albeit TB still can only access it read-only, but it's a step forward). So I wrote up a small plugin that can migrate the address books from SQL-backed storage to LDAP-backed one when a user logs in. The file goes into plugins/addrbook_sql2ldap/
I realize that this has a rather narrow scope and is probably only useful for a few people; nevertheless I'm attaching it here and leave it up to the maintainers to decide whether to include it in the distribution or to throw it away :-) License is GPL, of course.
This was written for 0.3.1, I don't know if there are any changes required for the latest development version. I doubt it, but in case there are, it should be a matter of minutes to adapt it because it's not exactly a lot of code.
Oh, one more completely unrelated thing: on every login, I keep getting the following warning in logs/errors: PHP Warning: sort() expects parameter 1 to be array, boolean given in program/include/rcube_imap.php on line 1118
It doesn't seem to do any harm, but if there's a suggestion for a fix, I'd be grateful. I have to admit I didn't really understand where it comes from ;-)
Best regads, Chris
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/Hq/RZioUZda/addrbook_sql2ldap.php Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/