From users-return-1672-apmail-archiva-users-archive=archiva.apache.org@archiva.apache.org Wed Aug 06 03:59:22 2008 Return-Path: Delivered-To: apmail-archiva-users-archive@www.apache.org Received: (qmail 27880 invoked from network); 6 Aug 2008 03:59:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2008 03:59:22 -0000 Received: (qmail 2202 invoked by uid 500); 6 Aug 2008 03:59:20 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 2150 invoked by uid 500); 6 Aug 2008 03:59:20 -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 2138 invoked by uid 99); 6 Aug 2008 03:59:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2008 20:59:20 -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 oching@exist.com designates 74.125.46.28 as permitted sender) Received: from [74.125.46.28] (HELO yw-out-2324.google.com) (74.125.46.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 03:58:25 +0000 Received: by yw-out-2324.google.com with SMTP id 2so1627525ywt.9 for ; Tue, 05 Aug 2008 20:58:42 -0700 (PDT) Received: by 10.151.79.6 with SMTP id g6mr2546345ybl.224.1217995122214; Tue, 05 Aug 2008 20:58:42 -0700 (PDT) Received: by 10.151.62.3 with HTTP; Tue, 5 Aug 2008 20:58:42 -0700 (PDT) Message-ID: <1a57a2980808052058h5ce7dbd1j4b2d18c05ca29203@mail.gmail.com> Date: Wed, 6 Aug 2008 11:58:42 +0800 From: "Maria Odea Ching" Sender: oching@exist.com To: users@archiva.apache.org Subject: Fwd: ldap with Archiva In-Reply-To: <1a57a2980808052058w4ebd2ee0kdfd4af78a24d76e1@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13070_24669033.1217995122208" References: <876696.34813.qm@web54203.mail.re2.yahoo.com> <1a57a2980808052058w4ebd2ee0kdfd4af78a24d76e1@mail.gmail.com> X-Google-Sender-Auth: cb5da2c6f5b40a7c X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13070_24669033.1217995122208 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline ---------- Forwarded message ---------- From: Maria Odea Ching Date: Wed, Aug 6, 2008 at 11:58 AM Subject: Re: ldap with Archiva To: ljiang15@yahoo.com Hi Marina, I'll be forwarding this to the archiva users list and we could continue the discussion there :) Anyway, with redback 1.0.1 (used by archiva 1.0.2 & 1.0.1) I think you only need to configure the security.properties file in order to use ldap for authentication. Here's an example config: user.manager.impl=ldap ldap.bind.authenticator.enabled=true ldap.config.hostname=localhost ldap.config.port=10389 ldap.config.base.dn=dc=redback,dc=plexus,dc=codehaus,dc=org ldap.config.context.factory=com.sun.jndi.ldap.LdapCtxFactory ldap.config.bind.dn=uid=admin,ou=system ldap.config.password=PASSWORD I'm not sure with redback 1.0.2 (used by archiva 1.1) though if there are additional configurations needed after the changes in redback's LDAP module. Emmanuel might be able to answer that :) HTH, Deng On Wed, Aug 6, 2008 at 4:58 AM, Marina wrote: > Hi, Maria > > I am trying to make ldap authenticated for Archiva. I do not see any of > examples online showing how to do it. > I wonder if you can give any example. > > Is the archiva.xml the only file to change? > Or I have to change other property file? > Could you send me example of those ldap settings for Archiva? > > Great Thanks! > Marina > ------=_Part_13070_24669033.1217995122208--