Re: [PHP] LDAP in php



pobox@xxxxxxxxxxxxx wrote:
As LDAP can have SQL back-end (I saw an example with PostgreSQL) - is it a very wild idea to implement (a simple) LDAP server in php?

We have all the address data already in PostgreSQL and a php application managing all of it.

I am thinking of simple uses, such as providing LDAP address books to Thunderbird/Squirrelmail users.

For instance, is it too wild to think of Apache/php listening on the LDAP port (or so), get the request, parse it, get the data from PostgreSQL and send it back to the LDAP client?

If ldap can already use a database backend, just use the normal ldap_* functions to do all of the work, don't re-invent it all.

http://www.php.net/ldap


--
Postgresql & php tutorials
http://www.designmagick.com/
.



Relevant Pages

  • LDAP in php
    ... As LDAP can have SQL back-end (I saw an example with PostgreSQL) - is it a very wild idea to implement LDAP server in php? ...
    (php.general)
  • Re: [PHP] Authentification and LDAP (SSO / Single Sign-On)
    ... To use LDAP from within PHP you need to have a version of PHP with LDAP ... Sir Powys yn bersonol i'r awdur ac nid yw'n awdurdodedig gan y ... Any content that is not pertinent to Powys County Council business ...
    (php.general)
  • Re: [PHP-WIN] Confused
    ... On 8/24/07, Gustav Wiberg wrote: ... > To get LDAP working in PHP for Windows, you first need to download the ... > ZIP package of PHP. ... >> PHP Windows Mailing List ...
    (php.general)
  • Re: Accessing AD from UNIX machines
    ... I would like to write a small C/C++ program which would do this, like in case of Java, JNDI can be used to connect to AD using LDAP and then access the objects in AD. ... coupled but your question is more of an LDAP question than it is a ... PHP is actually a really nice language for UNIX scripting. ...
    (comp.protocols.kerberos)
  • Re: [PHP] Php coding help - Newbie question
    ... > I am having a site in PHP which I need to ... > The site deals with modifying / adding / deleting entries in a LDAP dir. ... > user's login & passwd. ... I don't see any reason to store the passwd and validate against ldap on ...
    (php.general)