Re: Re: 4.1.0RC5
| From: | Stig Venaas | Date: | Mon, 03 Dec 2001 15:41:44 +0000 |
| Subject: | Re: Re: 4.1.0RC5 | ||
| References: | 1 2 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-72344@lists.php.net to get a copy of this message | ||
On Mon, Dec 03, 2001 at 04:31:40PM +0100, Alexander Wirtz wrote:
> I'd love to test the LDAP, but I haven't got a server at hand :-/
Great, you can test with ldap.uninett.no (base dc=uninett,dc=no)
and ldap.openldap.org (base dc=OpenLDAP,dc=org).
There are several public servers out there. You can find some at
http://sites.inka.de:8002/web2ldap, which btw uses
Python. Of
course we would have liked them to use PHP (: To find the bases
of the servers, you can press connect and then "Root DSE". Of
course you could also have read that with PHP. You can do that
from PHP I think by using ldap_read(), objectclass=* as filter
and namingContexts as attribute. Like this I think:
ldap_read($ds, "", "objectclass=*", array("namingContexts"));
Stig