[turba] ldap - personal address books

Julian Jares julian@jares.com.ar
Thu, 6 Sep 2001 15:07:03 -0300


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