ldap - personal address books

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


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/