6.0.0-git
2019-04-24

[#2467] Address book is common to all
Summary Address book is common to all
Queue Turba
Queue Version 2.0.3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester vcputtini (at) consultecnica (dot) com (dot) br
Created 2005-08-17 (4998 days ago)
Due
Updated 2005-08-18 (4997 days ago)
Assigned 2005-08-18 (4997 days ago)
Resolved 2005-08-18 (4997 days ago)
Milestone
Patch No

History
2005-08-18 13:23:12 Michael Rubinsky Comment #10 Reply to this comment
You didn't configure Horde. All users are automatically being logged
in as the Adminstrator.
Ok, but I don't know resolve it :( I try and try .... but nothing.
can you help me?
You need to read the documentation in horde/docs/INSTALL file.  You'll 
need to choose what authentication backend you wish to use then use 
the administration->setup->horde page to configure it.
2005-08-18 13:18:26 Jan Schneider Comment #9 Reply to this comment
Read docs/INSTALL and ask on the mailing list if you need support.
2005-08-18 13:03:12 vcputtini (at) consultecnica (dot) com (dot) br Comment #8 Reply to this comment
You didn't configure Horde. All users are automatically being logged
in as the Adminstrator.
Ok, but I don't know resolve it :( I try and try .... but nothing.

can you help me?



thanks



my Horde conf.php

<?php

/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */

// $Horde: horde/config/conf.xml,v 1.74.2.13 2005/07/16 10:36:59 jan Exp $

$conf['debug_level'] = E_ALL;

$conf['max_exec_time'] = 0;

$conf['use_ssl'] = 2;

$conf['server']['name'] = 'ns1.consultecnica.com.br';

$conf['server']['port'] = 80;

$conf['compress_pages'] = true;

$conf['umask'] = 077;

$conf['session']['name'] = 'Horde';

$conf['session']['cache_limiter'] = 'nocache';

$conf['session']['timeout'] = 0;

$conf['cookie']['domain'] = 'consultecnica.com.br';

$conf['cookie']['path'] = '/horde-3.0.5';

//$conf['sql']['persistent'] = true;

//$conf['sql']['hostspec'] = 's1.consultecnica.com.br';

//$conf['sql']['username'] = 'horde3';

//$conf['sql']['password'] = 'mailhorde3';

//$conf['sql']['port'] = 3306;

//$conf['sql']['protocol'] = 'tcp';

//$conf['sql']['database'] = 'horde3';

//$conf['sql']['charset'] = 'iso-8859-1';

//$conf['sql']['phptype'] = 'mysql';

$conf['auth']['admins'] = array();

$conf['auth']['checkip'] = true;

$conf['auth']['params']['username'] = 'Administrator';

$conf['auth']['params']['requestuser'] = false;

$conf['auth']['driver'] = 'auto';

$conf['signup']['allow'] = false;

$conf['signup']['approve'] = true;

$conf['signup']['preprocess'] = false;

$conf['signup']['queue'] = false;

$conf['log']['priority'] = PEAR_LOG_NOTICE;

$conf['log']['ident'] = 'HORDE';

$conf['log']['params'] = array();

$conf['log']['name'] = '/tmp/horde.log';

$conf['log']['params']['append'] = true;

$conf['log']['type'] = 'file';

$conf['log']['enabled'] = true;

$conf['log_accesskeys'] = false;

$conf['prefs']['driver'] = 'none';

$conf['datatree']['driver'] = 'null';

$conf['group']['driver'] = 'datatree';

$conf['cache']['default_lifetime'] = 1800;

$conf['cache']['params']['dir'] = Horde::getTempDir();

$conf['cache']['driver'] = 'file';

$conf['token']['driver'] = 'none';

$conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';

$conf['mailer']['params']['sendmail_args'] = '-oi';

$conf['mailer']['type'] = 'sendmail';

$conf['vfs']['params']['vfsroot'] = '/tmp';

$conf['vfs']['type'] = 'file';

$conf['sessionhandler']['type'] = 'none';

$conf['problems']['email'] = 'webmaster@example.com';

$conf['menu']['always'] = false;

$conf['menu']['links']['help'] = 'all';

$conf['menu']['links']['options'] = 'authenticated';

$conf['menu']['links']['problem'] = 'all';

$conf['menu']['links']['login'] = 'all';

$conf['menu']['links']['logout'] = 'never';

$conf['hooks']['username'] = false;

$conf['hooks']['preauthenticate'] = false;

$conf['hooks']['postauthenticate'] = false;

$conf['hooks']['authldap'] = false;

$conf['kolab']['enabled'] = false;

/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */


2005-08-18 12:38:27 Jan Schneider Comment #7
State ⇒ Not A Bug
Reply to this comment
You didn't configure Horde. All users are automatically being logged 
in as the Adminstrator.
2005-08-18 12:13:24 vcputtini (at) consultecnica (dot) com (dot) br Comment #6 Reply to this comment
A interesting fact is wich I add a new contact in turba_objects the 
'owner_id' field is every filled with 'Administrator'. I think that 
this field must be fill whith the my login name.

See the example below:



mysql> select * from turba_objects;

+----------------------------------+---------------+-------------+------------------------------------------------------+----------------+----------------+--------------+--------------------------------+--------------------+--------------------+------------------+------------------+------------------+------------+--------------+----------------+--------------+---------------------+-----------------------+--------------------+

| object_id                        | owner_id      | object_type | 
object_uid                                           | object_members 
| object_name    | object_alias | object_email                   | 
object_homeaddress | object_workaddress | object_homephone | 
object_workphone | object_cellphone | object_fax | object_title | 
object_company | object_notes | object_pgppublickey | 
object_smimepublickey | object_freebusyurl |

+----------------------------------+---------------+-------------+------------------------------------------------------+----------------+----------------+--------------+--------------------------------+--------------------+--------------------+------------------+------------------+------------------+------------+--------------+----------------+--------------+---------------------+-----------------------+--------------------+

| f7ee9195ee871671b3d5313f158fcfa9 | Administrator | Object      | 
20050818091620.4w7zvcsfo1ds@ns1.consultecnica.com.br | NULL           
| Volnei Puttini | Volnei       | vcputtini@consultecnica.com.br |     
                |                    |                  |               
     |                  |            |              |                | 
              |                     |                       |           
           |

+----------------------------------+---------------+-------------+------------------------------------------------------+----------------+----------------+--------------+--------------------------------+--------------------+--------------------+------------------+------------------+------------------+------------+--------------+----------------+--------------+---------------------+-----------------------+--------------------+

1 row in set (0.01 sec)
2005-08-18 11:10:08 vcputini (at) consultecnica (dot) com (dot) br Comment #5 Reply to this comment
Yes, I change the address book tables name in sources.php and I try
insert a new contact and Turbas show a error message.
Ehm, care to share which error message?
Sorry! :) The message is;



There was an error adding the new contact.

Contact your system administrator for further help.


2005-08-18 11:03:03 Jan Schneider Comment #4 Reply to this comment
Yes, I change the address book tables name in sources.php and I try
insert a new contact and Turbas show a error message.
Ehm, care to share which error message?
2005-08-18 10:57:03 vcputtini (at) consultecnica (dot) com (dot) br Comment #3 Reply to this comment
Your configuration is fine. Are you sure Turba is reading exactly
this address book entry? E.g. try to change the address book name.
Yes, I change the address book tables name in sources.php and I try 
insert a new contact and Turbas show a error message.
2005-08-18 08:15:23 Jan Schneider Comment #2
Summary ⇒ Address book is common to all
State ⇒ Feedback
Priority ⇒ 2. Medium
Reply to this comment
Your configuration is fine. Are you sure Turba is reading exactly this 
address book entry? E.g. try to change the address book name.
2005-08-17 17:28:51 vcputtini (at) consultecnica (dot) com (dot) br Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 3. High
Summary ⇒ TURBA-H3-2.0.3 - Address book is common to all
Queue ⇒ Turba
Reply to this comment
Hi,



I just installed turba-h3-2.0.3 to work with Horde 3.0.5 and IMP h3-4.0.3. I

am using mysql trying to achieve a different address book for each user.

Unfortunately this is not the case as every user can view the contacts that

someone else creates.

I could not find an appropriate solution to this problem - can anyone please

help?



My sources.php



$cfgSources['localsql'] = array(

     'title' => _("Meu Caderno de Endere├žos"),

     'type' => 'sql',

     // The default connection details are pulled from the Horde-wide SQL

     // connection configuration.

     //

     // The old example illustrates how to use an alternate database

     // configuration.

     //

     // New Example:

     // 'params' => array_merge($conf['sql'], array('table' => 
'turba_objects')),



     // Old Example:

     'params' => array(

          'phptype' => 'mysql',

          'hostspec' => 's1.XYZ.com.br',

          'username' => 'XXXX',

          'password' => 'XXXX',

          'database' => 'horde',

          'table' => 'turba_objects',

          'charset' => 'iso-8859-1'

     ),

     'map' => array(

         '__key' => 'object_id',

         '__owner' => 'owner_id',

         '__type' => 'object_type',

         '__members' => 'object_members',

         '__uid' => 'object_uid',

         'name' => 'object_name',

         'email' => 'object_email',

         'alias' => 'object_alias',

         'homeAddress' => 'object_homeaddress',

         'workAddress' => 'object_workaddress',

         'homePhone' => 'object_homephone',

         'workPhone' => 'object_workphone',

         'cellPhone' => 'object_cellphone',

         'fax' => 'object_fax',

         'title' => 'object_title',

         'company' => 'object_company',

         'notes' => 'object_notes',

         'pgpPublicKey' => 'object_pgppublickey',

         'smimePublicKey' => 'object_smimepublickey',

         'freebusyUrl' => 'object_freebusyurl'

     ),

     'search' => array(

         'name',

         'email'

     ),

     'strict' => array(

         'object_id',

         'owner_id',

         'object_type',

     ),

     'public' => false,

     'readonly' => false,

     'admin' => array(),

     'export' => true

);


Saved Queries