Return-Path: X-Original-To: apmail-archiva-dev-archive@www.apache.org Delivered-To: apmail-archiva-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CE9A10AF6 for ; Thu, 7 Nov 2013 21:54:25 +0000 (UTC) Received: (qmail 66722 invoked by uid 500); 7 Nov 2013 21:54:25 -0000 Delivered-To: apmail-archiva-dev-archive@archiva.apache.org Received: (qmail 66647 invoked by uid 500); 7 Nov 2013 21:54:24 -0000 Mailing-List: contact dev-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list dev@archiva.apache.org Received: (qmail 66639 invoked by uid 99); 7 Nov 2013 21:54:24 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 21:54:24 +0000 Received: from localhost (HELO mail-ob0-f178.google.com) (127.0.0.1) (smtp-auth username olamy, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 21:54:24 +0000 Received: by mail-ob0-f178.google.com with SMTP id va2so709154obc.23 for ; Thu, 07 Nov 2013 13:54:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=BCqlwxKTJLFDFnd+nHG/pZERkXoH8Swq5fHPHTCVfU4=; b=i+ISG8SnMENtnEHWfavxImBCnNtRBYYPvKLnQ0drl9lj/DK60gRFW8gAIBifC2KZHK RpKy8qFo9gDpRwPVKJqv4vsBzN3nUsnWumdufs/DXStyBMMwT+lEkn9LKqn9NDPa57h/ TfEwt2w96kVK8iOiZ33xSI9pg0bM1Lma56K5PKmxEsBvPK8MWvWFFK9DlPypiABXhYxh QGX0jepH2bvM1CINTD+bCjQzPIlt02jPtXhE2wAXC6CU5ECZ0kqBr1rZy2qJayO/MzF4 SSbQO1iW84P6xXNH8EVcYI6Vxz+uO7CSP1AjGiFpxoddjSnYf4rCCgJ9K+Sk1WYLOu6W HDfQ== X-Received: by 10.60.44.239 with SMTP id h15mr8480138oem.22.1383861263112; Thu, 07 Nov 2013 13:54:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.132.68 with HTTP; Thu, 7 Nov 2013 13:54:03 -0800 (PST) In-Reply-To: <527B5A15.1000606@gmail.com> References: <5270D182.4020202@gmail.com> <527B5A15.1000606@gmail.com> From: Olivier Lamy Date: Fri, 8 Nov 2013 08:54:03 +1100 Message-ID: Subject: Re: LDAP configuration To: dev@archiva.apache.org Content-Type: text/plain; charset=ISO-8859-1 Thanks for your time on that. And do not hesitate to propose a patch :-) On 7 November 2013 20:15, Sascha Vogt wrote: > Hi, > > we investigated a bit further, and one thing was quite easy to find: The > config needs to expose the group class in order to list all the groups. > Nevertheless the queries if a user is in a particular group seems to > fail. We're in the process of debugging and will let you know, what we > find out. > > Greetings > -Sascha- > > Am 30.10.2013 10:29, schrieb Sascha Vogt: >> Hi all, >> >> yesterday I installed the latest 2.0.0-SNAPSHOT from Jenkins >> (https://builds.apache.org/job/archiva-all-maven-3.x-jdk-1.6/ - hope >> that's the correct one) and tried to configure LDAP against our AD. >> >> Some things I noticed: >> >> * ldap.config.mapper.attribute.user.filter isn't exposed in the properties >> >> * If I manually add a filter to the archiva.xml and enter a filter like: >> (|(sAMAccountName=)(memberOf=CN=Entwicklung,OU=Gruppen,DC=,DC=de)) >> the property gets cut at the first "," and the filter is then obviously >> broken. >> >> * Not sure what's going wrong here, but I don't see any LDAP groups (for >> a role mapping), when I click on the green button, I get an >> error: [redback-runtime-ldap-group-mapping.role.mandatory] >> >> * My log is silent about all this, maybe it's related to those errors in >> the wrapper*.log: >> INFO | jvm 1 | 2013/10/30 10:24:17 | 2013-10-30 10:24:17,193 ERROR >> Unable to locate appender auditlog for logger org.apache.archiva.AuditLog >> INFO | jvm 1 | 2013/10/30 10:24:17 | 2013-10-30 10:24:17,194 ERROR >> Unable to locate appender redbackAuditLog for logger >> org.apache.archiva.redback.struts2.action.AuditEvent >> INFO | jvm 1 | 2013/10/30 10:24:17 | 2013-10-30 10:24:17,195 ERROR >> Unable to locate appender rolling for logger >> >> >> Should I open tickets for those issues? >> >> Greetings >> -Sascha- >> > -- Olivier Lamy Ecetera: http://ecetera.com.au http://twitter.com/olamy | http://linkedin.com/in/olamy