Re: LDAP in php

From: Date: Thu, 03 Apr 2008 20:40:28 +0000
Subject: Re: LDAP in php
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-272507@lists.php.net to get a copy of this message
On Thu, Apr 3, 2008 at 2:22 PM, pobox@verysmall.org <pobox@verysmall.org> wrote: > I am 100% aware of the fact that LDAP is a read optimized database (though > I am not sure where this optimization goes when back end is PostgreSQL, for > example - the LDAP "commands" seem simple and re-writing them into SQL can't > be so much overhead; the explanation might be that PostgreSQL powered LDAP > is not as fast as... - whatever, I'm not an expert and this analysis is not > my goal, not now.). afaik, the performance degrades severly; and its a little more complicated to map to sql than one might initially suspect http://www.openldap.org/doc/admin24/intro.html#LDAP%20vs%20RDBMS > PHP is probably not going to give you blazing fast performance > compared to an off-the-shelf LDAP server in C. > 100% aware of that. > the other key facet of the open ldap (assume this implementation is what were discussing [sorry if its an oversight]) is the use of berkdb internally for which there is no php extension. if im not mistaken, the 'queries' are compiled directly into the source. i know your reqs for ldap usage are small, but im thinking it would be much more straight-forward and less time consuming to just setup ldap, write some php scripts to map / sync data from ur relational db to it and point the client software to said ldap installation. -nathan

« previous php.general (#272507) next »