PHP/MySQL, return LDAP response

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
batfastad
Forum Contributor
Posts: 433
Joined: Tue Mar 30, 2004 4:24 am
Location: London, UK

PHP/MySQL, return LDAP response

Post by batfastad »

Hi everyone

This may not be the best forum to post this, but it's kind of database-related.
I've been starting to think about with LDAP directory servers, and how Thunderbird can use LDAP to lookup names/addresses using auto-complete.

PHP has a bunch of LDAP functions, and I was wondering whether anyone had thought of setting up a PHP script which receives an LDAP query, searches a MySQL database using tables/queries hard-coded by the developer, then returns an appropriate LDAP response to the client.

Anyone thought of doing that?
Or is it just insanity?

Would be pretty cool to have our intranet DB linked to our Thunderbird, so when people start typing in the To: box, it auto-suggests names/email addresses from our MySQL database.

Thanks, Ben
Post Reply