[horde] Fw: Using a global ldap address book.
Niyati Dave
niyati.dave at youtelecom.com
Fri Jul 25 14:29:19 UTC 2008
Hi
I have done the same for my personal address book also
The tree is o=pab.com its showing up but this is not showing up.
----- Original Message -----
From: "Craig White" <craigwhite at azapple.com>
To: "Niyati Dave" <niyati.dave at youtelecom.com>
Sent: Thursday, July 24, 2008 9:22 PM
Subject: Re: [horde] Fw: Using a global ldap address book.
> On Thu, 2008-07-24 at 10:25 +0530, Niyati Dave wrote:
>> > 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?
> ----
> doubt it...looks like, this is one problem...
>
> 'root' => 'o=test.com',
>
> bind as rootbinddn? probably a bad idea
>
> you've also removed most of the useful fields
>
> It appears that you don't know what you're doing with LDAP and if that
> is the case, why don't you just use a shared sql address book?
>
> Craig
>
>
>
More information about the horde
mailing list