Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 75435 invoked from network); 28 Feb 2008 02:49:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2008 02:49:04 -0000 Received: (qmail 35714 invoked by uid 500); 28 Feb 2008 02:48:59 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 35704 invoked by uid 500); 28 Feb 2008 02:48:59 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 35695 invoked by uid 99); 28 Feb 2008 02:48:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 18:48:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eric.ladner@gmail.com designates 72.14.220.158 as permitted sender) Received: from [72.14.220.158] (HELO fg-out-1718.google.com) (72.14.220.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 02:48:22 +0000 Received: by fg-out-1718.google.com with SMTP id 22so2254954fge.26 for ; Wed, 27 Feb 2008 18:48:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VUmJWOh0LwQW+A1mINPfpst1oYOpEx1I56qgIpMEJwA=; b=L0v4QJGJKExK2ZyTBXv34afbpeUkzW6DPBAINk56c6lbZ/KZc+0A7YVo6bYkOTSV+vgYJMDiXu0jGVDWC4V55FY4IZjCtwb9oZUH2Edy30I+KzS5Dy9d7DPV8ty0mz6L2cYYfbpW3pbh6Jn8n/Cc/DZmNepK3E75CXVzvSg2jC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fszJMZQdVM+cdFwEPbT+iAwb9uptWhYY6UNcQmrVahbMcDuuVddre19oBQdvMjLnYCrfyTFeAnjGAjAQG1L0nARmqFVOykzIS5Gh8mTMaXnCdjM41OA8j0+DsXDdL5+cwkQUjP7ODp23X7zMd74ycrgOm7vW9GK835Je1eZ1scY= Received: by 10.86.96.18 with SMTP id t18mr7159498fgb.13.1204166911436; Wed, 27 Feb 2008 18:48:31 -0800 (PST) Received: by 10.86.2.5 with HTTP; Wed, 27 Feb 2008 18:48:31 -0800 (PST) Message-ID: Date: Wed, 27 Feb 2008 20:48:31 -0600 From: "Eric Ladner" To: jspwiki-user@incubator.apache.org Subject: Re: NTLM Authentication and User Preferences In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org That's weird. I get a domain\username form that causes problems with the Profile as well, but with an illegal character reference. On Wed, Feb 27, 2008 at 3:38 PM, wrote: > Hi... > > I have set up JSPWiki 2.6.1 using NTLM Authentication ( > http://www.jspwiki.org/wiki/NTLMAuthentication) on Tomcat 5.5 and using > JDK 1.4. Most of the functionality of JSPWiki seems to work, but I have a > problem with "User Preferences". > > I would like user to e.g. be able to chose there favorite editor (plan, > wikiwizard or FCK), but when I save the preferences nothing happens. I get > the following in my log: > > INFO SecurityLog SASWiki:/wiki/Wiki.jsp > SASWiki:http://xxxx:8080/wiki/Wiki.jsp - > WikiSecurityEvent.LOGIN_AUTHENTICATED > [source=com.ecyrd.jspwiki.auth.AuthenticationManager@5bf624, > princpal=jcifs.smb.NtlmPasswordAuthentication domain\xxxx, > target=com.ecyrd.jspwiki.WikiSession@1da87db] > > WARN com.ecyrd.jspwiki.WikiSession SASWiki:/wiki/Wiki.jsp > SASWiki:http://xxxx:8080/wiki/Wiki.jsp - User profile 'domain\xxxx' not > found. This is normal for container-auth users who haven't set up a > profile yet. > > INFO JSPWiki SASWiki:/wiki/UserPreferences.jsp > SASWiki:http://xxxx:8080/wiki/UserPreferences.jsp - Redirecting user to > http://xxxx:8080/wiki/Wiki.jsp?page=Main > > It should be noted, that I get a user name on the form "domain/user-name" > when using NTLM authentication. I don't know if this can be the source of > the problem. > > I have tried to manually add users to userdatabase.xml, but this doesn't > seem to resolve the problem. > > A workaround would could be to added an editor chooser drop down to the > page editor, but I am not sure how to do that. > > Any help is appreciated. > > Regards > > Jens B. Christiansen > -- Eric Ladner