[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Ldap



Actually, I'm doing it...
I use shell backend to translate OpenLDAP query to SQL query and passing the
result back to OpenLDAP.
All ldap operations (add/del/modify/modrdn .. etc) are supported. The whole
things are transparent to client.

Too bad I can't make it 'open source' (techinally I can, but expect to get
fired on the following day..).
Performance is of course a little slower compared to native backend. But,
short development time alone far
outweight the tiny performance hit.

If you don't expect your ldap server to get huge access everyday, then you
might want to look into this approach.

Regards,
Rosdi.


----- Original Message -----
From: David J N Begley <david@avarice.nepean.uws.edu.au>
To: <openldap-software@OpenLDAP.org>
Sent: Friday, December 03, 1999 11:55 AM
Subject: Re: Ldap


> On Thu, 2 Dec 1999, Kristinn E. Arnarsson wrote:
>
> > I'm new to this Ldap stuff and i'v got one qustion, I whant to use ldap
to
> > display informations from a MySql database to an address book like in
> > netscape mail or outlook mail, can ldap do query's to a MySql database ?
>
> In theory yes - whatever LDAP server you use can probably be configured to
> talk to any number of possible backends for providing persistent storage;
the
> most popular backend with OpenLDAP is the embedded "Berkeley DB" database.
>
> In practice, however, nobody has written/released a MySQL backend for
OpenLDAP
> do OpenLDAP won't talk directly to MySQL "out of the box".
>
> There are, however, some programmatic backends that you could use (eg.,
the
> shell backend) for translating the queries from the LDAP server to MySQL
> queries (and returning the responses) - this will require you to write
some
> code to act as the bridge between OpenLDAP and MySQL.  Performance-wise,
it
> probably won't be as fast as a native query backend, though.
>
> Cheers..
>
>
> dave
>
>