[turba] ldap - personal address books

Terry Davis tdavis@birddog.com
Wed, 5 Sep 2001 16:33:57 -0500


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/