[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
Thu, 6 Sep 2001 23:54:32 -0500


  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
>
>
>



>From tdavis@birddog.com Date: Fri,  7 Sep 2001 03:22:52 -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 80153 invoked from network); 7 Sep 2001 08:24:41 -0000
Received: from softdnserror (HELO hermes.birddog.com) (63.125.164.131)
  by horde.org with SMTP; 7 Sep 2001 08:24:41 -0000
Received: from localhost (prometheus.birddog.com [10.2.0.4])
	by hermes.birddog.com (8.11.6/8.11.6) with ESMTP id f878OeF27172
	for <turba@lists.horde.org>; Fri, 7 Sep 2001 03:24:40 -0500
Received: from 10.10.4.1 ( [10.10.4.1])
	as user td@imap.birddog.com by secure.birddog.com with HTTP;
	Fri,  7 Sep 2001 03:22:52 -0500
Message-ID: <999850972.3b9883dc8900c@secure.birddog.com>
Date: Fri,  7 Sep 2001 03:22:52 -0500
From: Terry Davis <tdavis@birddog.com>
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
X-Originating-IP: 10.10.4.1
X-Scanned-By: MIMEDefang 1.3 (www dot roaringpenguin dot com slash mimedefang)
Subject: Re: [turba] ldap - personal address books 

I think I will wait until they implement that functionality into turba.  ;)
I will just end up screwing my horde installation if i mess with it too much.  
Thanks anyways!

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059


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

> sieve is a filtering device for cyrus imapd... totally unrelated...
> what I was looking for (I do have the source now) is
> 
> $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.
> 
> Hope this helps,
> Julian
> 
> ----- Original Message -----
> From: "Terry Davis" <tdavis@birddog.com>
> To: <turba@lists.horde.org>
> Sent: Thursday, September 06, 2001 6:32 PM
> Subject: Re: [turba] ldap - personal address books
> 
> 
> Well, I have no clue what I am looking for but I got the source.  So I am
> poking around.  In a nutshell, how did you do it?
> And what does sieve do ?
> Thank you
> --
> Terry Davis
> Systems Administrator
> BirdDog Solutions, Inc.
> (402) 829-6059
> 
> 
> Quoting Julian Jares <julian@jares.com.ar>:
> 
> > I actually did this (getting user/pass from the framework) in my sieve
> > module..
> > I donīt have the sources with my right now, but you can download them
> from
> > http://www.julianjares.com.ar/hordedev/
> > It is fairly simple :-)
> >
> >
> >
> > Quoting Terry Davis <tdavis@birddog.com>:
> >
> > > Any ideas on this at all?  I am thinking this would be a good feature
> that
> >
> > > others would use as well.  Perhaps I am not giving enough information.
> > >
> > > Thank you for any feedback,
> > >
> > > --
> > > Terry Davis
> > > Systems Administrator
> > > BirdDog Solutions, Inc.
> > > (402) 829-6059
> > >
> > >
> > > Quoting Terry Davis <tdavis@birddog.com>:
> > >
> > > > Ok, I found where i can specify the bind_dn and bind_password (in the
> > > > driver).
> > > > Is there an environment variable that contains the username and
> another
> > > that
> > > >
> > > > contains the passwd so that I can fulfill these parameters?
> > > >
> > > > --
> > > > Terry Davis
> > > > Systems Administrator
> > > > BirdDog Solutions, Inc.
> > > > (402) 829-6059
> > > >
> > > >
> > > > Quoting Terry Davis <tdavis@birddog.com>:
> > > >
> > > > > Hello,
> > > > > I want to privide each user with their own ldap-based addressbook.
> > > This
> > > > is
> > > > > not hard at
> > > > > all I just need to tie horde auth into the ldap config somehow.
> > Also,
> > > > what
> > > > > does the
> > > > > public switch do for sources?  For example: (notice $USERNAME)
> > > > >
> > > > > $cfgSources['tdavis-abook'] = array(
> > > > >     'title' => 'Terry Davis Address Book',
> > > > >     'type' => 'ldap',
> > > > >     'params' => array(
> > > > >         'server' => 'ldap.birddog.com',
> > > > >         'port' => 389,
> > > > >         'root' => 'ou=$USERNAME,ou=AddressBooks,dc=birddog,dc=com',
> > > > >         'dn' => array('cn'),
> > > > >         'objectclass' => 'person',
> > > > >         'objectclass' => 'organizationalPerson',
> > > > >         'objectclass' => 'inetOrgPerson',
> > > > >         'objectclass' => 'inetLocalMailRecipient',
> > > > >         'objectclass' => 'account',
> > > > >         'objectclass' => 'top',
> > > > >         'filter' => ''
> > > > >     ),
> > > > >     'map' => array(
> > > > >         '__key' => 'dn',
> > > > >         'name' => 'cn',
> > > > >         'email' => 'mail',
> > > > >         'alias' => 'givenname',
> > > > >         'title' => 'title',
> > > > >         'department' => 'ou',
> > > > >         'workPhone' => 'telephoneNumber',
> > > > >         'pager' => 'pager',
> > > > >         'cellPhone' => 'mobile',
> > > > >         'fax' => 'facsimileTelephoneNumber',
> > > > >         'workAddress' => 'postalAddress'
> > > > >     ),
> > > > >     'public' => false,
> > > > >     'readonly' => false
> > > > > );
> > > > >
> > > > > Also where can I specify the bind credentials for ldap?
> > > > >
> > > > > --
> > > > > Terry Davis
> > > > > Systems Administrator
> > > > > BirdDog Solutions, Inc.
> > > > > (402) 829-6059
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > -------------------------------------------------
> > > > > 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
> > > > >
> > > >
> > > >
> > > > -------------------------------------------------
> > > > This mail sent through IMP: http://horde.org/imp/
> > > >
> > >
> > >
> > > -------------------------------------------------
> > > 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
> > >
> > >
> >
> >
> > --
> > Julian
> >
> > --
> > 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
> 


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