[turba] trouble writing to LDAP.... Undefined index: dn in /usr/local/horde/turba/lib/Driver/ldap.php on line 285
Steve Neuharth
steveneu@tiny.net
Fri, 7 Sep 2001 15:42:38 -0500
> > What does everyone else use for objectClass? or LDAP directory for that
> > matter?
>
> I use person; for the server I use openldap, with schema checking turned
off.
>
Ah Ha... that's why yours works and mine doesn't.
>From eculp@EnContacto.Net Date: Fri, 7 Sep 2001 14:05:53 -0700
Return-Path: <eculp@EnContacto.Net>
Mailing-List: contact turba-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list turba@lists.horde.org
Received: (qmail 33988 invoked from network); 7 Sep 2001 21:06:00 -0000
Received: from adsl-64-173-182-158.dsl.mtry01.pacbell.net (HELO EnContacto.Net) (64.173.182.158)
by horde.org with SMTP; 7 Sep 2001 21:06:00 -0000
Received: (from root@localhost)
by EnContacto.Net (8.11.6/8.11.4) id f87L5r809794
for turba@lists.horde.org; Fri, 7 Sep 2001 14:05:53 -0700 (PDT)
(envelope-from eculp@EnContacto.Net)
Received: from 24.20.19.75 ( [24.20.19.75])
as user eculp@Mail.SavvyWorld.Net by Mail.SavvyWorld.Net with HTTP;
Fri, 7 Sep 2001 14:05:53 -0700
Message-ID: <999896753.3b9936b1999be@Mail.SavvyWorld.Net>
Date: Fri, 7 Sep 2001 14:05:53 -0700
From: Edwin Culp <eculp@EnContacto.Net>
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> <999878370.3b98eee260d62@secure.birddog.com> <002b01c137d7$448b22f0$0201000a@miniguys.com>
In-Reply-To: <002b01c137d7$448b22f0$0201000a@miniguys.com>
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: 24.20.19.75
Subject: Re: [turba] trouble writing to LDAP.... Undefined index: dn in /usr/local/horde/turba/lib/Driver/ldap.php on line 285
Quoting Steve Neuharth <steveneu@tiny.net>:
| Yea but I'm using the manager account... aci's shouldn't matter. I used
| this account to get the information into the directory in the first place.
| It should work.
You used turba to input the information?
|
| Anyway... what can I use for the objectclass? I'm trying to use "person"
| but that objectClass requires the "sn" (surname) attribute. Am I going to
| have to edit templates and such to include this attribute in the forms etc?
| As it stands now it appears that it is working but I'm getting a "Missing
| required attribute" when I try to add an entry.
I'm using person, but see no reason why it can't be changed to the objectclass
that you are using although I don't recall one that doesn't require sn. You
can always turn schemacheck off.
Hmmmm. I'm sure you do but do you have 'dn' => array('cn'), ? If not try it.
ed
|
| What does everyone else use for objectClass? or LDAP directory for that
| matter?
|
|
| ----- Original Message -----
| From: "Terry Davis" <tdavis@birddog.com>
| To: <turba@lists.horde.org>
| Sent: Friday, September 07, 2001 10:59 AM
| 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/
| >
| >
| > --
| > 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
|
|
---