[horde] LDAP

James MacLean macleajb at ednet.ns.ca
Tue Jan 30 14:03:13 PST 2007


Paul Faure wrote:
> On Tue, 2007-01-30 at 12:28 -0400, James MacLean wrote:
>   
>> Paul Faure wrote:
>>     
>>> Hi All,
>>>
>>> Quick question, is there a way to make a Horde address book (which is
>>> stored in a MySQL db) available via LDAP ?
>>>
>>> Thanks.
>>>
>>>   
>>>       
>> Hi Paul,
>>
>> Are you considering perl code that works via OpenLDAP ? I have the start 
>> of a module based on the OpenLDAP Perl sample that allows you to bind 
>> either to a global address book, or, via ou's, to a users address book 
>> if you have any permissions to it.
>>     
>
> Hi James, we have only one address book which I would like to share via
> LDAP, so I think your perl script would work well. Is it a script which
> syncs OpenLDAP to Horde, or does it run as a daemon ?
>
>   
Sorry Paul, it is a plugin to OpenLDAP that goes directly against the 
Horde datatree/attributes/turba dbs live. So essentially, you need Perl 
support in your OpenLDAP, and add this as one of the LDAP database 
configs in slapd.conf, ie:

database        perl
suffix          "o=yourO"
perlModulePath  /opt/openldap/perl
perlModule      Horde


Let me know if you would still like it to work with it.

JES


More information about the horde mailing list