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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to