Hi, I implemented an ldap search so that I could do a proper bind for an individual address book. The login name is used to search for the DN to bind with. The attached patch requires additional settings for the address book:
and introduces another expansion, %dn, e.g.:
%dn will be replaced by the DN that the above ldap search yielded.
I hope that this patch could be included in the code base. Let me know if there is anything I need to fix.
Thanks for roundcube!
~David
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/Eh/ygMuYsrH/0001-Use-search_base.patch Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/ BT/aba52c80
Hi all,
just something that I recently came to realize:
When replying to messages (in plain text mode), RC does not automatically wrap the text, so I find myself (usually subconsciously) inserting hard line breaks in order to keep the text somewhat aligned.
I acknowledge that this is due to the edit box being larger than the used space, and thus the program not "realizing" that lines should break automatically for readability. I'm used to using Thunderbird in "daily life", which does this automatically (i.e., inserts virtual/soft line breaks in the editor at 80(?) characters so the layout is preserved. All this while still preserving hard line breaks in an intuitive fashion, i.e. when starting a new paragraph.
So, I'm just wondering: Am I the only one bothered by this? Should there be an option, or maybe a plugin, to enable this behavior? (Maybe there even exists one already?) I'm not horribly experienced in Javascript anymore, but I'd be willing to investigate on how to fix it, and I'm pretty sure it should be doable. Any comments, hints, etc., are more than welcome!
Sorry folks, this post is probably quite difficult to read, because horribly aligned, but that was my point: this is usually what happens when I'm writing longer replies using Roundcube (and sorry Dave, for "hijacking" a part of your post to illustrate it, because it's what I used as reference for the rough in-editor alignment).
Cheers, Chris
On Mon, 13 Sep 2010 23:52:44 +0200, David Mohr damailings@mcbf.net wrote:
Hi, I implemented an ldap search so that I could do a proper bind for an individual address book. The login name is used to search for the DN to bind with. The attached patch requires additional settings for the
List info: http://lists.roundcube.net/dev/ BT/aba52c80
Ok, this one might be more readable; simply quoting my original mail from Thunderbird, where the quoted text is re-aligned using TB's edit functions; (and what I'm writing right now should also be properly aligned without any extraneous line breaks). So, is there a way to achieve this sort-of WYSIWYG behavior for composing plain text mails (not HTML) in Roundcube? (I might have simply missed some option somewhere as well).
Thanks & cheers, Chris
Am 14.09.2010 00:49, schrieb Christoph Langguth:
Hi all,
just something that I recently came to realize:
When replying to messages (in plain text mode), RC does not automatically wrap the text, so I find myself (usually subconsciously) inserting hard line breaks in order to keep the text somewhat aligned.
I acknowledge that this is due to the edit box being larger than the used space, and thus the program not "realizing" that lines should break automatically for readability. I'm used to using Thunderbird in "daily life", which does this automatically (i.e., inserts virtual/soft line breaks in the editor at 80(?) characters so the layout is preserved. All this while still preserving hard line breaks in an intuitive fashion, i.e. when starting a new paragraph.
So, I'm just wondering: Am I the only one bothered by this? Should there be an option, or maybe a plugin, to enable this behavior? (Maybe there even exists one already?) I'm not horribly experienced in Javascript anymore, but I'd be willing to investigate on how to fix it, and I'm pretty sure it should be doable. Any comments, hints, etc., are more than welcome!
Sorry folks, this post is probably quite difficult to read, because horribly aligned, but that was my point: this is usually what happens when I'm writing longer replies using Roundcube (and sorry Dave, for "hijacking" a part of your post to illustrate it, because it's what I used as reference for the rough in-editor alignment).
Cheers, Chris
On Mon, 13 Sep 2010 23:52:44 +0200, David Mohrdamailings@mcbf.net wrote:
Hi, I implemented an ldap search so that I could do a proper bind for an individual address book. The login name is used to search for the DN to bind with. The attached patch requires additional settings for the
_______________________________________________ List info: http://lists.roundcube.net/dev/ BT/7651fdc9
List info: http://lists.roundcube.net/dev/ BT/aba52c80
On 13.09.2010 23:52, David Mohr wrote:
I implemented an ldap search so that I could do a proper bind for an individual address book. The login name is used to search for the DN to bind with. The attached patch requires additional settings for the address book:
- 'search_base_dn' => 'ou=users,dc=foo,dc=bar',
- 'search_filter' => '(&(objectClass=posixAccount)(uid=%u))',
and introduces another expansion, %dn, e.g.:
- 'base_dn' => 'ou=%dn,ou=addressbook,dc=foo,dc=bar',
%dn will be replaced by the DN that the above ldap search yielded.
I hope that this patch could be included in the code base. Let me know if there is anything I need to fix.
It looks good. Open a ticket in trac, please.