Hello everyone,

I am a newbie for jspwiki. I just set up jspwiki 2.8 in Netbean 6 and
window xp. The jspwiki worked successfully. After I changed it to use
LDAP authentication, the login page doesn't work which the internet
browser keeps running. No any messages about this issue are logged in
the log files. I did the changes for LDAP authentication as below.

1. two files LDAPUserDatabase.java and LDAPLoginModule.java from Kaukolu
downloaded to edu/school/dep/wiki

2. jspwiki.properties file changed.
jspwiki.loginModule.class=edu.school.dep.wiki.LDAPLoginModule
jspwiki.userdatabase = edu.school.dep.wiki.LDAPUserDatabase

3. Added this to jspwiki.properties:
jspwiki.ldapuserdatabase.providerurl =
ldap://ldap.example.org/ou=People,dc=example,dc=org
jspwiki.ldapuserdatabase.principal=
uid=$USERNAME,ou=People,dc=example,dc=org

By the way I can't fine the file called jspwiki.jaas as mentioned on
Kaukolu site for JSPWiki 2.8.
Change JSPWiki-custom config in jspwiki.jaas: JSPWiki-custom {
  de.opendfki.kaukoluwiki.auth.login.LDAPLoginModule    REQUIRED;
};

Does anyone have some ideas what's wrong here, how to make LDAP
authentication work for JSPWiki 2.8? Please help me. Thanks in advance.

Hong 

Reply via email to