Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 85565 invoked from network); 27 Aug 2008 09:29:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2008 09:29:29 -0000 Received: (qmail 40710 invoked by uid 500); 27 Aug 2008 09:29:27 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 40639 invoked by uid 500); 27 Aug 2008 09:29:27 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 40628 invoked by uid 99); 27 Aug 2008 09:29:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 02:29:27 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of emmanuel.venisse@gmail.com designates 74.125.78.27 as permitted sender) Received: from [74.125.78.27] (HELO ey-out-2122.google.com) (74.125.78.27) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 09:28:30 +0000 Received: by ey-out-2122.google.com with SMTP id 4so414587eyf.39 for ; Wed, 27 Aug 2008 02:28:41 -0700 (PDT) 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:references; bh=jLnzhLf1TqWANI76FHgKudSGRQP/B4A3QvHFPq8rRgo=; b=JwhCmdTpHbLwDu+n9lufSgRhdC/pKysTkCOy61Ij1j8ogOyZx+fkbHDGv8kc4ciwZm NUMwAPDUR9Jix5ujrRAF75ZT+nljSAAJZlm4DQyUlH4n/oVTBsR6nryoSwn7PtTlkHwu fLIWzAPvrYOGH5TQ3y9sY35idMaYMPisp4tpY= 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:references; b=UJBeA3zGIsg8kYtnd0WZMuxwX9LGJmer8f4QWezF3BE4uJW45vhwhAabSDd7HoHHgB h5KaylhzNQs4lZ6dR7X+Ug6JEWtlCw/9OlhUpJ6UlkZ0NIXArH5nK1flhhh8A758mQ8M lIfX4f4g5CyYEtsJY+4JJHEPhQUjXyc9s+0ds= Received: by 10.210.81.3 with SMTP id e3mr9966866ebb.22.1219829321901; Wed, 27 Aug 2008 02:28:41 -0700 (PDT) Received: by 10.210.34.8 with HTTP; Wed, 27 Aug 2008 02:28:41 -0700 (PDT) Message-ID: Date: Wed, 27 Aug 2008 11:28:41 +0200 From: "Emmanuel Venisse" To: users@archiva.apache.org Subject: Re: Active Directory Authentication In-Reply-To: <9595F39E2D27654A9184E2F7476D0F17588275@velmail03.velsys.local> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_693_33152726.1219829321890" References: <9595F39E2D27654A9184E2F7476D0F17588268@velmail03.velsys.local> <9595F39E2D27654A9184E2F7476D0F17588273@velmail03.velsys.local> <6291fc850808270018o6b68dab0hbda3accb6ebde8cc@mail.gmail.com> <9595F39E2D27654A9184E2F7476D0F17588274@velmail03.velsys.local> <9595F39E2D27654A9184E2F7476D0F17588275@velmail03.velsys.local> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_693_33152726.1219829321890 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline What is your Archiva version? 1.0? I fixed some things about LDAP in 1.1.1 Emmanuel On Wed, Aug 27, 2008 at 10:42 AM, Chris Anders wrote: > Hi guys, > > Digging deeper into my issue I have now moved from the default deby jdbc > and onto mysql so I could see the data structure being created. > > When I start up tomcat with no tables and ldap (AD) configured the > following tables are created under mysql: > > * ARCHIVA_ARTIFACT > * JDOAUTHENTICATIONKEY > * SECURITY_OPERATIONS > * SECURITY_PERMISSIONS > * SECURITY_RESOURCES > * SECURITY_ROLES > * SECURITY_ROLE_CHILDROLE_MAP > * SECURITY_ROLE_PERMISSION_MAP > * SECURITY_USERASSIGNMENT_ROLENAMES > * SECURITY_USER_ASSIGNMENTS > > Everything looks fine until I restart tomcat and 2 more tables are > created: > > * JDOUSER > * JDOUSER_PREVIOUSENCODEDPASSWORDS > > With an exception in the tomcat log which i posted before: > SEVERE: Exception sending context initialized event to listener instance > of class org.apache.maven.archiva.web.startup.ArchivaStartup > java.lang.ClassCastException: > org.codehaus.plexus.redback.users.UserNotFoundException > > So i then manually added to the JDOUSER table the defined > redback.default.admin/guest (both users exist in ldap) > > Restarted tomcat and this time everything came up. > > I still can't browse or search from the default user without logging in > (causes another exception I have posted), however after logging in > everything looks to be fine. > > Perhaps someone can make more sense out of this and raise a bug for the > devs? > > Cheers, > > Chris > ------=_Part_693_33152726.1219829321890--