Jann Forrer wrote:

Ciao Michi
I have been looking for an LDAP user example within the source of Lenya,
but couldn't find any.

There also doesn't seem to be any docu

http://wiki.apache.org/lenya/

nor

http://lenya.apache.org/docs/

nor Google ;-)

Any pointers are very welcome

In 1.2.x the ldap class is org.apache.lenya.ac.ldap. LDAPUser and an
example of a respective ldap.properties file is found at:
webapp/lenya/pubs/default/config/ac/passwd/ldap.properties.sample and
the user (iml) File starts with:

<identity class="org.apache.lenya.ac.ldap.LDAPUser" id="jann">

that was what I was looking for. So Lenya is dynamically loading the User class based on this class attribute.


IIUC then the layout of the custome LDAP server is defined within ldap.properties, right?

Wouldn't it make sense to switch the example port to 389 (instead 636) which seems to be the default LDAP port?

In lenya 1.4 ther is a ldap module src/modules-core/ldap. However there
is no ldap properties file.

do you mean it would actually need one, resp. a sample file is missing?

Thanks

Michi


HTH Jann


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




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


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

Reply via email to