[horde] Using a global ldap address book.

Otto Stolz Otto.Stolz at uni-konstanz.de
Wed Jul 23 16:15:31 UTC 2008


Hello Niyati Dave,

please keep discussions to the list,
as I certainly do not the answer to your particular question.

Thanks,
   OS

-------- Original-Nachricht --------
Datum: Wed, 23 Jul 2008 18:43:48 +0530
Von: Niyati Dave <niyati.dave at youtelecom.com>
An: Otto Stolz <Otto.Stolz at uni-konstanz.de>
Referenzen: <488660AA.6070300 at msu.edu> <039001c8ecba$6a2215b0$310210ac at SURDT1081> 
<488727FE.8070709 at uni-konstanz.de>

Hi
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