Re: [PHP] LDAP in php

2008-04-04 Thread Nathan Nobbe
On Thu, Apr 3, 2008 at 4:10 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Nathan Nobbe schrieb: > > 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 > > Yes, that's why I decided to try a

Re: [PHP] LDAP in php

2008-04-03 Thread [EMAIL PROTECTED]
Nathan Nobbe schrieb: > 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

Re: [PHP] LDAP in php

2008-04-03 Thread Nathan Nobbe
On Thu, Apr 3, 2008 at 2:22 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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 in

Re: [PHP] LDAP in php

2008-04-03 Thread [EMAIL PROTECTED]
Richard Lynch schrieb: You probably wouldn't run it through Apache, but you probably COULD run an LDAP server of sorts using http://php.net/sockets Yes... this starts to sound as a solution... Sorry, I hope I do not sound lazy, I just need a bit of a help to locate the starting point. I tho

Re: [PHP] LDAP in php

2008-04-01 Thread Richard Lynch
On Sun, March 30, 2008 8:15 pm, [EMAIL PROTECTED] 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. >

Re: [PHP] LDAP in php

2008-03-31 Thread [EMAIL PROTECTED]
Chris schrieb: 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 Just wanted to avoid installing and maintaining a LDAP server and mapping all the data. Perhaps I am underestimating it, bu

Re: [PHP] LDAP in php

2008-03-30 Thread Chris
[EMAIL PROTECTED] 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 pr

[PHP] LDAP in php

2008-03-30 Thread [EMAIL PROTECTED]
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