Derek Dresser | 2 Feb 15:18 2006

shared mysql contacts question

Hello,

I am running the current CVS versions of Horde/IMP/Turba,etc.

I recently set up a shared sql contacts list by doing the following

1. created shared_turba_objects table
2. created config sources.php entry (see below)
3. added permissions objects for turba,sources,Shared MySQL Addressbook and
assigned appropriate permissions

My intention was to set up a contacts list that is both readable and writable by
all our Horde users.  After doing this, I found that users could only access
entries where the 'owner_id' field contained their username (essentially
contacts they created).

I tried the following:
1. setting the owner_id field on all entries in the shared_turba_objects to ''
2. setting the following options (even though, as I understand it, these options
are deprecated)
   'public' => true,
   'readonly' => false,
   'browse' => true,
3. setting VERY open permissions on all the turba permissions objects
4. banging my head against the wall ;-)

None of these things allowed users to view any entries except those where the
owner_id was their username.

finally, I got this to work for everyone by commenting out the following line in
(Continue reading)

Michael Rubinsky | 2 Feb 15:42 2006

Re: shared mysql contacts question

Quoting Derek Dresser <ddresser <at> rnome.com>:

> Hello,
>
> I am running the current CVS versions of Horde/IMP/Turba,etc.
>
> I recently set up a shared sql contacts list by doing the following
>
> 1. created shared_turba_objects table
> 2. created config sources.php entry (see below)
> 3. added permissions objects for turba,sources,Shared MySQL Addressbook and
> assigned appropriate permissions

The shared address books in Turba work just like shares in other horde  
applications, such as Kronolith.  Shares are created using the 'My  
Address Books' link in the Turba menu.  To create a new read/write  
address book for all your Horde users, you should create the new  
address book under your account, or an admin account, and then edit  
the permissions on that address book.  This is done on the same  
addressbooks.php page....and the only setting you need to change in  
sources.php in relation to the shared stuff is 'use_shares' => true

Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk <at> horde.org

--

-- 
(Continue reading)

Derek Dresser | 2 Feb 22:01 2006

shared mysql contacts question


> Message: 2
> Date: Thu, 02 Feb 2006 09:42:23 -0500
> From: Michael Rubinsky <mike <at> theupstairsroom.com>
> Subject: Re: [turba] shared mysql contacts question
> To: turba <at> lists.horde.org
> Message-ID:
> 	<20060202094223.wwyw9ekwrfggkkw4 <at> portal.theupstairsroom.com>
> Content-Type: text/plain;	charset=ISO-8859-1;	DelSp="Yes";
> 	format="flowed"
>
> Quoting Derek Dresser <ddresser <at> rnome.com>:
>
>> Hello,
>>
>> I am running the current CVS versions of Horde/IMP/Turba,etc.
>>
>> I recently set up a shared sql contacts list by doing the following
>>
>> 1. created shared_turba_objects table
>> 2. created config sources.php entry (see below)
>> 3. added permissions objects for turba,sources,Shared MySQL Addressbook and
>> assigned appropriate permissions
>
> The shared address books in Turba work just like shares in other horde
> applications, such as Kronolith.  Shares are created using the 'My
> Address Books' link in the Turba menu.  To create a new read/write
> address book for all your Horde users, you should create the new
> address book under your account, or an admin account, and then edit
> the permissions on that address book.  This is done on the same
(Continue reading)

SAJChurchey | 3 Feb 15:48 2006
Picon

Fatal-Error non-existent class

I'm trying to install H3 with a lot of modules. All of the others are coming
up fine, but when I try to look at the Address Book, I get the following:

Notice: Undefined index: imsp in /usr/share/horde3/turba/config/sources.php
on line 490

Notice: Undefined variable: GLOBASL in
/usr/share/horde3/turba/config/sources.php on line 491

Notice: Undefined index: imsp in /usr/share/horde3/turba/config/sources.php
on line 492

Fatal error: Cannot instantiate non-existent class: imsp_auth in
/usr/share/horde3/lib/Net/IMSP/Auth.php on line 107

I'm pretty sure I installed all of the files. I'm using Debian 3.1 with
Apache 2 and PHP 4 and a MySQL 4 as the db. Any ideas on what I should be
looking for or where to look?

Not necessarily a related problem: I'm also having troubles with posts,
events, notes, etc. not showing up on the interface. Looking in the db all
of my additions are show; they're just not displayed in horde. This is
pretty much for any module atm. I'm using Turba, Mnemo, IMP, Kronolith and
nag. *

*Thanks,

SAJ*
*
--

-- 
(Continue reading)

Jan Schneider | 3 Feb 17:01 2006

Re: Fatal-Error non-existent class

Search the mailing list archive.

Zitat von SAJChurchey <sajchurchey <at> gmail.com>:

> I'm trying to install H3 with a lot of modules. All of the others are coming
> up fine, but when I try to look at the Address Book, I get the following:
>
>
> Notice: Undefined index: imsp in /usr/share/horde3/turba/config/sources.php
> on line 490
>
> Notice: Undefined variable: GLOBASL in
> /usr/share/horde3/turba/config/sources.php on line 491
>
> Notice: Undefined index: imsp in /usr/share/horde3/turba/config/sources.php
> on line 492
>
> Fatal error: Cannot instantiate non-existent class: imsp_auth in
> /usr/share/horde3/lib/Net/IMSP/Auth.php on line 107
>
> I'm pretty sure I installed all of the files. I'm using Debian 3.1 with
> Apache 2 and PHP 4 and a MySQL 4 as the db. Any ideas on what I should be
> looking for or where to look?
>
> Not necessarily a related problem: I'm also having troubles with posts,
> events, notes, etc. not showing up on the interface. Looking in the db all
> of my additions are show; they're just not displayed in horde. This is
> pretty much for any module atm. I'm using Turba, Mnemo, IMP, Kronolith and
> nag. *
>
(Continue reading)

Tony Lay | 3 Feb 17:03 2006
Picon

Creating a use_shares database from scratch

Good Morning Folks,

I've had some difficulty upgrading my database to the "use_shares" from public.

When I ran the public_to_horde_share.php the script just hangs.  I
don't really mind...I have the database backed up.  My question is if
I were to create a new database from scratch, what tables; etc should
I add for the use_shares functionality to work?  It seems out of the
box that the localsql sources are working per user.  Then I could just
make the database from scratch and import the data.

I'm not much of a coder, or else I'd start writing some error
reporting in to the script to see where it's dying.  After I hit (1)
for the go ahead I gave it a good 4 hours and the process still wasn't
doing a thing.

My current specs - JIC

Regards,

-Tony Lay

I am currently on
horde     (3.2-cvs)
turba  H3 (2.2-cvs)
imp    H3 (4.2-cvs)

OS
FreeBSD phoenix 5.4-STABLE FreeBSD 5.4-STABLE #1: Wed Oct 12 21:02:40 EDT 2005

(Continue reading)

Michael Rubinsky | 4 Feb 02:17 2006

Re: Fatal-Error non-existent class

Quoting SAJChurchey <sajchurchey <at> gmail.com>:

> I'm trying to install H3 with a lot of modules. All of the others are coming
> up fine, but when I try to look at the Address Book, I get the following:
>
>
> Notice: Undefined index: imsp in /usr/share/horde3/turba/config/sources.php
> on line 490
>

Read the comments in sources.php regarding the IMSP section. First,  
are you using an IMSP server?  If not, you can safely comment out or  
delete the entire IMSP example configuration.  If you are using an  
IMSP server, and a version of Horde earlier then 3.0.6 then you must  
configure the values in that section to suit your needs.  If you are  
using Horde 3.0.6 or greater, the configuration is available in via  
the configuration screens.

> Notice: Undefined variable: GLOBASL in
> /usr/share/horde3/turba/config/sources.php on line 491

This was a spelling error that will probably continue to haunt me for  
years to come... ;)

Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk <at> horde.org
(Continue reading)

S├ębastien RENON | 4 Feb 23:27 2006
Picon

question/problem about multi-valued ldap mail attribute

Hi julien

I've the same problem. You've found a solution by creating a hook function. Could you post this function in
this mailing list?

Thank you so much.
--

-- 
Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: turba-unsubscribe <at> lists.horde.org

Robert Carnecky | 5 Feb 03:05 2006

Name format option for client addressbook


I am using LDAP server as turba backend. I would like to apply  
'lastname, firstname' format option only for my personal addressbooks.  
My client addressbook (I need it in Hermes module) uses objectclass  
'pilotOrganization' and there is no reason to switch the order of 'o'  
and 'ou' attributes (usual organization and department) when browsing  
my client addressbook.

Any idea how to avoid this order changing when browsing addressbooks  
without lastname, firstname attributes?

Thanks for any hints
Robert

--

-- 
Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: turba-unsubscribe <at> lists.horde.org

Jan Schneider | 5 Feb 15:39 2006

Re: Name format option for client addressbook

Zitat von Robert Carnecky <horde <at> dbservice.com>:

>
> I am using LDAP server as turba backend. I would like to apply
> 'lastname, firstname' format option only for my personal addressbooks.
> My client addressbook (I need it in Hermes module) uses objectclass
> 'pilotOrganization' and there is no reason to switch the order of 'o'
> and 'ou' attributes (usual organization and department) when browsing
> my client addressbook.
>
> Any idea how to avoid this order changing when browsing addressbooks
> without lastname, firstname attributes?

Hack the code?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
--

-- 
Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: turba-unsubscribe <at> lists.horde.org


Gmane