Modifying a contact (2)

Marco Pirovano marco.pirovano@uni-bocconi.it
Fri, 07 Sep 2001 16:32:43 +0200


Hello,
I found the problem.

I looked in the turba_objects table and saw that the owner_id is:

pirovano@webmail.students.uni-bo

that is long 32 characters, but my e-mail address is:

pirovano@webmail.students.uni-bocconi.it

so I changed from 32 to 255 characters, and now it works well.

Is it right this change ?


Ciao,
Marco


* Marco Pirovano
* Universita' Bocconi, Area Sistemi Informatici e Telematici
* Piazza Sraffa, 15 20136 Milano - Italy
* Phone: +39 02 5836.3173  Fax: +39 02 5836.3160



>From chuck@horde.org Date: Fri,  7 Sep 2001 10:46:05 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 95034 invoked from network); 7 Sep 2001 14:46:36 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 7 Sep 2001 14:46:36 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id DB69F3A05; Fri,  7 Sep 2001 10:46:05 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Fri,  7 Sep 2001 10:46:05 -0400
Message-ID: <999873965.3b98ddadae328@marina.horde.org>
Date: Fri,  7 Sep 2001 10:46:05 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: turba@lists.horde.org
References: <5.1.0.14.0.20010907162749.00ac7c70@pop.uni-bocconi.it>
In-Reply-To: <5.1.0.14.0.20010907162749.00ac7c70@pop.uni-bocconi.it>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [turba] Modifying a contact (2)

Quoting Marco Pirovano <marco.pirovano@uni-bocconi.it>:

> pirovano@webmail.students.uni-bocconi.it
> 
> so I changed from 32 to 255 characters, and now it works well.

Yes, we should probably make all of the username fields we have 255 to account 
for people using email addresses as usernames.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.


>From tdavis@birddog.com Date: Fri,  7 Sep 2001 10:59:30 -0500
Return-Path: <tdavis@birddog.com>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 3710 invoked from network); 7 Sep 2001 16:01:20 -0000
Received: from softdnserror (HELO hermes.birddog.com) (63.125.164.131)
  by horde.org with SMTP; 7 Sep 2001 16:01:20 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f87G1KF32746
	for <turba@lists.horde.org>; Fri, 7 Sep 2001 11:01:20 -0500
Received: from 10.10.10.200 ( [10.10.10.200])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Fri,  7 Sep 2001 10:59:30 -0500
Message-ID: <999878370.3b98eee260d62@secure.birddog.com>
Date: Fri,  7 Sep 2001 10:59:30 -0500
From: Terry Davis <tdavis@birddog.com>
To: turba@lists.horde.org
References: <001b01c13687$51fbb5e0$0201000a@miniguys.com> <000d01c136c9$3d554790$0201000a@miniguys.com> <999812754.3b97ee924c435@marina.horde.org> <001d01c13731$99e8caa0$0201000a@miniguys.com> <999825738.3b98214a96d99@Mail.SavvyWorld.Net> <002701c13759$2f842150$0201000a@miniguys.com> <999872558.3b98d82eace51@Mail.SavvyWorld.Net>
In-Reply-To: <999872558.3b98d82eace51@Mail.SavvyWorld.Net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 10.10.10.200
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: Re: [turba] trouble writing to LDAP.... Undefined index:  dn in /usr/local/horde/turba/lib/Driver/ldap.php on line 285

you are correct.  The default is: access to * by * read .
There is also a search acl as well.
-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


Quoting Edwin Culp <eculp@EnContacto.Net>:

> Steve, AFAIK, you need an acl to be able to change as the general one I
> sent
> for openldap in the previous message.  Please correct me if I'm wrong but I
> 
> think slapd does not give write privileges by default.
> 
> ed
> 
> Quoting Steve Neuharth <steveneu@tiny.net>:
> 
> |   no, I have no aci's at all. I'm logging in as the root account....
> | stupid,
> | I know but I'm only testing.
> | public and readonly are set correctly...
> |   I think I'm getting closer but it's definitely time for bed.... If only
> I
> | could go without sleep, I'd probably get it working.
> | 
> | ----- Original Message -----
> | From: "Edwin Culp" <eculp@EnContacto.Net>
> | To: <turba@lists.horde.org>
> | Sent: Thursday, September 06, 2001 8:22 PM
> | Subject: Re: [turba] trouble writing to LDAP.... Undefined index: dn in
> | /usr/local/horde/turba/lib/Driver/ldap.php on line 285
> | 
> | 
> | > Do you have an access list in your slapd.conf that may be in
> | > conflict with what you are trying to do.  You might try a variant of
> | >
> | > access to * by * write
> | >
> | > in your slapd.conf until you work this out.
> | >
> | > I also assume that you have
> | >     'public' => true,
> | >     'readonly' => false
> | > in your turba/sources.php for testing?
> | >
> | > What is your acl
> | >
> | > Quoting Steve Neuharth <steveneu@tiny.net>:
> | >
> | > |   Thanks for the response. I'm still getting a big ol blank screen
> when
> | I
> | > | try to add a user to the directory.. is there any way to dump the
> bind
> | > | status to system variables so I can tell what is going on?
> | > |
> | > |
> | > | > Quoting Steve Neuharth <steveneu@tiny.net>:
> | > | >
> | > | > >   I changed bind_dn to dn and bind_password to password (duh) now
> I
> | get
> | > | no
> | > | > > error but I still get a white screen and the add fails.
> | > | > >   I also failed to mention that I'm running HEAD outta CVS.
> (turba
> | ver
> | > | > > 0.0.3)
> | > | >
> | > | > bind_dn and bind_password were correct; change that back. dn is an
> | array
> | > | of
> | > | > attributes that should be combined into your dn - for my local ldap
> | > | server, I
> | > | > just use cn. So:
> | > | >
> | > | > 'dn' => array('dn'),
> | > | >
> | > | > Try that...
> | > | >
> | > | > -chuck
> | > | >
> | > | > --
> | > | > Turba mailing list: http://horde.org/turba/
> | > | > Frequently Asked Questions: http://horde.org/faq/
> | > | > To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> | > | >
> | > | >
> | > | >
> | > |
> | > |
> | > | --
> | > | Turba mailing list: http://horde.org/turba/
> | > | Frequently Asked Questions: http://horde.org/faq/
> | > | To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> | > |
> | > |
> | >
> | >
> | >
> | >
> | > ---
> | >
> | > --
> | > Turba mailing list: http://horde.org/turba/
> | > Frequently Asked Questions: http://horde.org/faq/
> | > To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> | >
> | >
> | >
> | 
> | 
> | -- 
> | Turba mailing list: http://horde.org/turba/
> | Frequently Asked Questions: http://horde.org/faq/
> | To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> | 
> | 
> 
> 
> 
> 
> ---
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



>From chuck@horde.org Date: Fri,  7 Sep 2001 13:58:07 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 13613 invoked from network); 7 Sep 2001 17:58:38 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 7 Sep 2001 17:58:38 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id E351739F6; Fri,  7 Sep 2001 13:58:07 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@localhost by marina.horde.org with HTTP;
	Fri,  7 Sep 2001 13:58:07 -0400
Message-ID: <999885487.3b990aafb95fc@marina.horde.org>
Date: Fri,  7 Sep 2001 13:58:07 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: turba@lists.horde.org
References: <999725244.3b9698bc4e428@secure.birddog.com> <999725637.3b969a45e4026@secure.birddog.com> <999807457.3b97d9e154c56@secure.birddog.com> <999799623.3b97bb4745844@webmail.jares.com.ar> <999811956.3b97eb74bafc6@secure.birddog.com> <004401c1373f$fed45480$01000001@VAIO>
In-Reply-To: <004401c1373f$fed45480$01000001@VAIO>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [turba] ldap - personal address books 

Quoting Julian Jares <julian@jares.com.ar>:

> $imp['user']
> Secret::read(Secret::getKey('imp'), $imp['pass'])
> 
> the first being the user, and the second the password...
> 
> you have to have the horde includes for this.

And you have to have the user logged in to IMP. And this is _not_ part of IMP's 
publically accessible API; it may break at any time.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.