[dev] cyrsql.php vs cyrus.php

Ilya mail at krel.org
Wed Aug 27 20:54:34 PDT 2003


and the patch is attached

On Wed, Aug 27, 2003 at 11:34:36PM -0400, Ilya wrote:
>  the add definatelly doenst work correct for cyrus.php
> it created:
> usertestimp at host.com (\HasNoChildren)
> instead of
> user.testimp at host.com (\HasNoChildren)
> and testimp at host.com in userfiled with host.com in domain field (my guess on
> first look is that domain field is not honored).
> 
> 
> On Wed, Aug 27, 2003 at 11:19:57PM -0400, Ilya wrote:
> > Hi guys, I'd like to update the driver for cyrus/sql to again work with virtual
> > domains, there were a lot of changes since i last looked at it. But there is a
> > cyrus.php now which seems to be base on cyrsql.php and independent of backend for user storage.
> > I was wondering if i should make changes to cyrus.php instead of cyrsql.php
> > right now when i use cyrsql as admin driver i get that all features are disabled
> > and with cyrus i get listing of users but without their virtual domains, i
> > havent tried adding/removing users yet. I want to get virtual domain supported
> > first.
> > 
> > please let me know which way to go ;)
> > 
> > thx a lot
> > 
> > -- 
> > Horde developers mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: dev-unsubscribe at lists.horde.org
> 
> -- 
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
-------------- next part --------------
--- cyrus.php.new	Wed Aug 27 23:49:19 2003
+++ cyrus.php	Wed Aug 27 23:51:27 2003
@@ -11,6 +11,7 @@
  *   'imap_dsn'      The full IMAP DSN (i.e. {localhost:993/imap/ssl/novalidate-cert} )
  *   'backend'       The complete hash for the Auth_* driver that cyrus
  *                   authenticates against (eg SQL, LDAP).
+ *   'separator'     Hierarchy separator to use (e.g., is it user/mailbox or user.mailbox)
  *
  * Optional values:
  *   'unixhier'       The value of imapd.conf's unixhierarchysep setting
@@ -29,6 +30,7 @@
  *   $conf['auth']['params']['drivers']['cyrus'] = array('driver' => 'cyrus',
  *                                                       'params' => array('cyradmin' => 'cyrus',
  *                                                                         'cyrpass' => 'password',
+ *                                                                         'separator' => '.',
  *                                                                         'imap_dsn' => '{maik.example.com/imap}'));
  *    $conf['auth']['params']['drivers']['cyrus']['params']['backend'] = array('driver' => 'sql',
  *                                                                             'params' => array('phptype' => 'mysql',


More information about the dev mailing list