I tryied some of the LDAP public servers
(http://www.emailman.com/ldap/public.html)
But I always get this connection error :

<ldap-error xmlns="http://apache.org/cocoon/LDAP/1.0";>[LDAPTransformer]
Failed ldap-connection to directory service.</ldap-error> 

Is it because of my configuration or from the server? Here is my xml
page :

<?xml version="1.0" encoding="ISO-8859-1"?>
<LDAPUSER xmlns:ldap="http://apache.org/cocoon/LDAP/1.0";>
<ldap:execute-query>

<ldap:initializer>com.sun.jndi.ldap.LdapCtxFactory</ldap:initializer>
<ldap:authentication>simple</ldap:authentication>
<ldap:version>3</ldap:version>
<ldap:serverurl>LDAP://noc2.irt.drexel.edu</ldap:serverurl>
<ldap:searchbase>o=drexel,c=us</ldap:searchbase>
<ldap:port>389</ldap:port>

         <ldap:count-limit>100</ldap:count-limit>

         <ldap:show-attribute>TRUE</ldap:show-attribute>

         <ldap:attribute>Mail</ldap:attribute>
         
</ldap:execute-query>


</LDAPUSER>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to