I spent pretty much 8 hours testing various things around our ldap integration, wiki and others. (im using container authorization, because that enables ldap auth for all other app's on the server)
First thing I noticed, there is a hickup in the profile page. Pretty much __after__ I login, and go to the profile page it tells me in that yellow box: "sorry you are not logged in" (this seems to happen only if there is no profile yet) Next I tried putting in my full name in "Name *". This got rid of the wrong yellow box and showed instead "You cannot set your login name because your credentials are managed by the web container, not the wiki." That's pretty neat, although I am unsure why the password hint after the email address? (jspwiki doesn't know the password) I noticed something else: all links (regarding to my user) everywhere suddenly turned nice. So I had a look in the wiki folder and behold, there is suddenly an entry in userdatabase.xml The rest was a bit fiddling * downloading ldapvi (that loads ldap into a vi instance, and you can actually change things from there) * writing a couple sed/awk scripts to use the report output from ldapvi and produce a raw xml * writing a xsl file to transform the raw xml to userdatabase.xml compliant format The rest of the day I spent going through our page database (which had been growing for almost 2 years), changing all the custom userdata, changeby and personal homepages to the "new" wikiname in userdatabase.xml Since everything looked very nice from that point, I tried a couple other things. Changing the wikiname into "Joerg Meyer" instead of "JoergMeyer" did not break anything (on 2.5.139), that's nice Following the rules for wiki names, there is no problem anywhere. Since anything else is not supported that's fine ... I guess ... However a streight container authorization will most likely always break things. I consider the generation of the userdatabase.xml a hack (since it relies on a cron script, and may not sync nicely) but I guess container authorization does not give 'custom' properties of the user away. I will post as a reply for the bug report too, and I think it can be considered closed with the above. _______________________________________________ This is the Jspwiki-users mailing list, in which we discuss the stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. For development discussion, please join jspwiki-dev. http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users http://www.jspwiki.org/JSPWikiMailingList
