I suppose the search scope is not yet imlemented for groups... just for contacts... maybe i'l check that soon...
Andreas
Sasha Kacanski <skacanski(a)gmail.com> schrieb:
>Absolutely,
>
>btw, roundcube works great otherwise. This is a first product that can
>so
>well integrate with two imap cyrus servers, one as main mail server and
>other as long term archive. With remote plugin for two imaps, users can
>switch between mail and archive.
>
>Anyway here is the main.inc.php
>
>$rcmail_config['address_book_type'] = 'ldap';
>
>// In order to enable public ldap search, configure an array like the
>Verisign
>// example further below. if you would like to test, simply uncomment
>the
>example.
>// Array key must contain only safe characters, ie. a-zA-Z0-9_
>$rcmail_config['ldap_public'] = array (
> 'public' =>
> array (
> 'name' => 'Public Addressbook',
> 'hosts' =>
> array (
> 0 => 'some IP',
> ),
> 'port' => 389,
> 'use_tls' => false,
> 'ldap_version' => 3,
> 'user_specific' => false,
> 'base_dn' => 'ou=People,dc=xxx,dc=xxx',
> 'bind_dn' => 'cn=Some admin,dc=xxx,dc=xxx',
> 'bind_pass' => 'xxxxx',
> 'search_base_dn' => 'ou=People,dc=xxxx,dc=xxx',
> 'search_filter' => '(&(objectClass=posixAccount)(uid=%u))',
> 'search_bind_dn' => 'cn=Some admin,dc=xxxxx,dc=xxx',
> 'search_bind_pw' => 'xxxxxxx',
> 'search_dn_default' => '',
> 'auth_cid' => '',
> 'auth_method' => '',
> 'hidden' => false,
> 'searchonly' => false,
> 'writable' => false,
> 'LDAP_Object_Classes' =>
> array (
> 0 => 'top',
> 1 => 'inetOrgPerson',
> ),
> 'LDAP_rdn' => 'mail',
> 'required_fields' =>
> array (
> 0 => 'cn',
> 1 => 'sn',
> 2 => 'mail',
> 3 => 'uid',
> ),
> 'search_fields' =>
> array (
> 0 => 'uid',
> 1 => 'mail',
> 2 => 'cn',
> ),
> 'fieldmap' =>
> array (
> 'name' => 'cn',
> 'surname' => 'sn',
> 'firstname' => 'givenName',
> 'email' => 'mail',
> 'phone:home' => 'homePhone',
> 'phone:work' => 'telephoneNumber',
> 'phone:mobile' => 'mobile',
> 'street' => 'street',
> 'zipcode' => 'postalCode',
> 'locality' => 'l',
> 'country' => 'c',
> 'organization' => 'o',
> ),
> 'sort' => 'cn',
> 'scope' => 'one',
> 'filter' => '(objectClass=inetOrgPerson)',
> 'fuzzy_search' => true,
> 'vlv' => false,
> 'numsub_filter' => '(objectClass=organizationalUnit)',
> 'sizelimit' => '0',
> 'timelimit' => '0',
> 'referrals' => 1,
> 'groups' =>
> array (
> 'base_dn' => '',
> 'filter' => '(objectClass=groupOfNames)',
> 'object_classes' =>
> array (
> 0 => 'top',
> 1 => 'groupOfNames',
> ),
> 'member_attr' => 'member',
> 'name_attr' => 'cn',
> ),
> ),
>....
>
>
>
>Regards, --sasha
>
>
>On Sat, Feb 25, 2012 at 1:12 PM, Andreas Dick
><andudi(a)gmx.ch<javascript:_e({}, 'cvml', 'andudi(a)gmx.ch');>
>> wrote:
>
>> hei sasha
>> can you please show us your concerning part in main.inc.php?
>> this means at least:
>> - 'filter'
>> - 'scope'
>> - 'groups'
>>
>> Andreas
>>
>> Am Samstag, 25. Februar 2012, 11.04:09 schrieb Sasha Kacanski:
>> > Hi All,
>> >
>> > I setup a rouncube (svn current) with two cyrus imap servers and
>> > openldap/mysql.
>> > I managed to extend my ldap hierarchy to include following:
>> >
>> > ou=People,dc=xxxx,dc=org for public address book
>> >
>> > this works fine and all users are visible from the roundcube via
>public
>> > address - readonly book
>> >
>> > i have private address books under user uid
>> > uid=xxxx,ou=People,dc=xxxx,dc=org
>> > as ou=addressbook,uid=xxxx,ou=People,dc=xxxx,dc=org
>> >
>> >
>> > slapd.conf is modified with appropriate rules to allow users to
>create
>> > addditional address books and contacts
>> >
>> > everything works fine.
>> >
>> > I changed search criteria on the public address book to "one" from
>"sub"
>> to
>> > avoid picking up private group names under public address group
>listing.
>> >
>> > However, when I create user private address book, e.a.
>> >
>> > cn=My Friends,ou=addressbook,uid=xxxx,ou=People,dc=xxxx,dc=org
>> >
>> > this private group will show under both, public and private address
>space
>> > in roundcube.
>> >
>> > I thought that by limiting search criteria in public address space
>from
>> sub
>> > to one will prevent private address books from showing, but that
>did not
>> > work.
>> > What do you suggest as easiest approach to solve this issue.
>> >
>> > btw, I registered to http://www.roundcubeforum.net and I can't post
>> email
>> > to any forum.
>> > I sent email to support folks and nothing...
>> >
>> > Regards, --sasha
>> --
>> List info: http://lists.roundcube.net/users/
>> BT/4e624a41
>>
>
>
>
>--
>Aleksandar Kacanski
>
>
>
>--
>Aleksandar Kacanski
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
I modified my install so that the password plugin could use multiple
drivers. Email is by far the service my users use the most, but it
would be nice to keep their all their passwords in sync when the email
password changes. The main change is that the save function loops
through all selected drivers instead of just one. To avoid function
name collisions, drivers can optionally use a prefix (e.g.,
sql_save_password instead of save_password).
Works pretty well for me with unix accounts & samba accounts. Patch is
attached if there's interest.
I also have password plugin drivers for samba and unix accounts (using
expect instead of PAM). Not sure if it's OK to attach lots of files to
list posts.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Dt/xTBRWwgv/rcm.multipassword.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
I'm trying to tweak roundcubemail to allow recipient addresses without
a domain - e.g., "billy" instead of "billy(a)example.com". I'm sure this
is completely invalid, but postfix and my old webmail will tolerate it
for local users.
I'd like to do this "correctly" rather than just hack my changes in so
as to avoid upgrade problems later on (at least as much as possible).
Adding a config setting to selectively enable the behavior is
straightforward on the PHP side, but there's also a javascript-based
validation I need to bypass. Does the project have any standard or
recommended way for exposing main.inc.php settings to javascript?
Patch of what I changed is attached if it helps clarify. For the sake
of readability, it references the .js.src file instead of the minified
one.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/ca/aCDpcLdH/rcm-omit-domain.patc.gz
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
We are using rc 0.7.1 with messages cache enabled and we noticed that
our cache_messages table in mysql is full of cache records since upgrade
(1 month). These records should be purged after defined period of time.
Is that a bug? Should we delete records manually with cron job? Any
suggestions?
$rcmail_config['messages_cache']='db';
$rcmail_config['message_cache_lifetime']='1h';
Regards,
Jure Kranjc
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
http://trac.roundcube.net/ticket/1488331
I've code a plugin for that. I'd like to ask for your opinions.
Would you prefer to have a separate link 'Manage Plugins' in
settings section or should this plugin hook into designated
sections, f.e.:
uisettings -> display GUI related pluings,
addressbook-> display addressbook related plugins,
... and a link 'Misc' link to catch the rest in settings
navigation ?
Regards,
Rosali
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
What happened to $rcmail_config['date_today'] in main.inc.php?
The datetime on emails does not show as "Today" + time anymore, it
shows the full datetime on today's emails
Is there a new way to set
this?
Thanks!
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
the labels for the "spellcheckignore*" buttons on the settings page
are all the same (rcmfd_spellcheck_before_send).
I've attached a patch.
Regards,
Alex
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Mq/U7b9hHUi/fix_func.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
> Message: 1
> Date: Sun, 05 Feb 2012 19:19:15 +0100
> From: Roland Liebl <roland(a)roland-liebl.de>
> Subject: [RCD] Plugin to load plugins according to users choice
> To: "Dev List (Roundcube)" <dev(a)lists.roundcube.net>
> Message-ID: <69d7cab3d224de1fa671e302d0c100d6(a)roland-liebl.de>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> http://trac.roundcube.net/ticket/1488331
>
> I've code a plugin for that. I'd like to ask for your opinions.
>
> Would you prefer to have a separate link 'Manage Plugins' in
> settings section or should this plugin hook into designated
> sections, f.e.:
>
> uisettings -> display GUI related pluings,
> addressbook-> display addressbook related plugins,
> ... and a link 'Misc' link to catch the rest in settings
> navigation ?
>
> Regards,
> Rosali
Rosali,
I think this would be a great addition, as long as there would be a
mechanism similar to the "dont_override" array so that some plugins
could be required.
---
Arne Berglund
System Administrator, Internet Services
Lane Education Service District
Eugene, OR
____________
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
Ran a diff against 0.7.1 and my install and noticed that
config/mimetypes.php didn't get updated by the install script. Not sure
if this is by design or not, since that file might be modified by the
local installation.
No big deal, just a heads-up for later.
Thanks,
- R.
--
[__ Robert Sheldon
[__ Founder, No Problem
[__ Information technology support and services
[__ (530) 575-0278
[__ "You must be the change you wish to see in the world." -- Mahatma
Gandhi
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80