Re: Horde global ldap server and backends.local.php

Jan Schneider <[email protected]> Sun, 15 Dec 2019 16:56:48 +0000
Newsgroups gmane.comp.horde.turba
Message-ID <[email protected]>
Zitat von David Wells <[email protected]>:

> Hi all!
>
> I'm trying to set up a global read only address book from my samba  
> ad server and I have already set it up as a global ldap server in  
> horde settings and I'm using it in some pref_init hooks with the  
> following code.
>> $factory = $GLOBALS['injector']->getInstance('Horde_Core_Factory_Ldap');
>> $ldap = $factory->create('horde', $factory->getConfig('auth'));
>
> I'm looking at turba/config/backends.php file trying to create a  
> turba/config/backends.local.php file that could use the global ldap  
> server and not having to set up a new connection to the same server.  
> Does anyone have a sample I could use as a kicking point?
>

Unfortunately Turba doesn't use Horde_Ldap yet, but the ldap PHP  
extension directly. Thus you cannot use the same configuration or the  
same Horde_Ldap object.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/

-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]