You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ma...@swisscom.com on 2003/06/06 14:52:38 UTC
ldap authentification
Where do I have to put my username to make a connection to an LDAP
server ? Because I need an authentification with username&password.
Thanks
<?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:password>mypass</ldap:password>
<ldap:serverurl>ldap://10.50.40.41</ldap:serverurl>
<ldap:port>389</ldap:port>
<ldap:version>3</ldap:version>
<ldap:rootdn>dc=corproot,dc=net</ldap:rootdn>
<ldap:scope>OBJECTS_SCOPE</ldap:scope>
<ldap:searchbase>dc=corproot,dc=net</ldap:searchbase>
<ldap:deref-link>TRUE</ldap:deref-link>
<ldap:count-limit>1000</ldap:count-limit>
<ldap:time-limit>0</ldap:time-limit>
<ldap:attribute>name</ldap:attribute>
<ldap:show-attribute>TRUE</ldap:show-attribute>
<ldap:filter>(objectClass=*)</ldap:filter>
</ldap:execute-query>
</LDAPUSER>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org