[turba] ldap - personal address books

Julian Jares julian@jares.com.ar
Thu, 6 Sep 2001 22:53:53 -0300


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