[horde] Fw: Using a global ldap address book.

Niyati Dave niyati.dave at youtelecom.com
Thu Jul 24 04:55:52 UTC 2008


> thx for response
> 
> yes i have edited the sources.php for global addr book
> 
> 
> sources.php..............
> 
> 
> $uid = Auth::getAuth();
> if (preg_match('/(^.*)@/', $uid, $matches)) {
>    $uid = $matches[1];
> }
> 
> $cfgSources['localldap'] = array(
>     'title' => _("Shared Address Book"),
>     'type' => 'ldap',
>     'params' => array(
>         'server' => 'localhost',
>         'port' => 389,
>         'tls' => false,
>         'root' => 'o=test.com',
>         'bind_dn' => 'cn=Directory Manager',
>         'bind_password' => 'password',
>         'sizelimit' => 200,
>         'dn' => array('cn'),
>         'objectclass' => array('top',
>                                'person',
>                                'organizationalPerson',
>                                'inetOrgPerson'),
> 'scope' => 'one',
>         'charset' => 'iso-8859-1',
>         'version' => 3
>     ),
>     'map' => array(
>         '__key' => 'dn',
>         '__uid' => 'uid',
> 
> ),
>     'search' => array(
>         'name',
>         'email',
> //         'homePhone',
> //         'workPhone',
> //         'cellPhone',
> //         'homeAddress'
>    ),
>     'strict' => array(
>        'dn',
>     ),
>     'approximate' => array(
>         'cn',
>     ),
>     'export' => false,
>     'browse' => false,
> );
> 
> 
> but its not showing up and permissions editing gives this error
> 
> is there anythin i hav to define in hooks or anywhere else?
> 
> 
> Regards
> Niyati Dave
> ----- Original Message ----- 
> From: "Otto Stolz" <Otto.Stolz at uni-konstanz.de>
> To: "Niyati Dave" <niyati.dave at youtelecom.com>
> Cc: "Steve Devine" <sd at msu.edu>; "horde forum" <horde at lists.horde.org>
> Sent: Wednesday, July 23, 2008 6:15 PM
> Subject: Re: [horde] Using a global ldap address book.
> 
> 
>> Hello Niyati Dave,
>> 
>> you wrote:
>>> when i tried to set permission for address book to show for all 
>>> authenticated users it giving me error
>>> "Attempt to edit a non-existent permission."
>>> the personal address book is workin but global not working.
>> 
>> You have to define the global addressbook, of course.
>> Cf. <http://wiki.horde.org/AdminPerms#toc5>, for the whole story.
>> 
>> Good luck,
>>   OS
>> 
>> 
>>



More information about the horde mailing list