[turba] trouble writing to LDAP.... Undefined index: dn in /usr/local/horde/turba/lib/Driver/ldap.php on line 285

Terry Davis tdavis@birddog.com
Fri, 7 Sep 2001 10:59:30 -0500


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/