Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 61502 invoked from network); 5 Oct 2007 14:44:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2007 14:44:47 -0000 Received: (qmail 14459 invoked by uid 500); 5 Oct 2007 14:44:35 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 14443 invoked by uid 500); 5 Oct 2007 14:44:35 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 14434 invoked by uid 99); 5 Oct 2007 14:44:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 07:44:35 -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 wboton@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 14:44:36 +0000 Received: by nf-out-0910.google.com with SMTP id 30so444690nfu for ; Fri, 05 Oct 2007 07:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=W1UBgTvtgzWzVHvG+bAIWAZJf63z3q58gmX4L2uc3Yc=; b=dt1edFGW11Bdp2WVlGohM7Ln2YuXPtns2uJf9CfgKPVRUTKbmV89l6RvBN7O00LUMqsabjGoyRMPFNEDu9MiIQkSWZP2WeB/AixbOrC/YC3IfIw5ZVAdf8TEycidbW44yAnpcHdfQw3rvcBnSvGmkUVyPn96v10QjdNskP/D7+c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=thogDtGR7fM+ICQuq25KcQ/x7+M21AcxT0Yi0d8PzXU4wdgy8pxu50ueqAMA4fuX/7m6BcXN2usrDQ55FC1oHiepk60lIJ6VlB+i2h+WWPWvGRegP+90IA5Vm7MyOE7JeACRF/6pI8A1ZUSKH+25rLVqMB19+UymOJhI0yqyxPc= Received: by 10.86.49.13 with SMTP id w13mr2516523fgw.1191595453774; Fri, 05 Oct 2007 07:44:13 -0700 (PDT) Received: by 10.86.91.10 with HTTP; Fri, 5 Oct 2007 07:44:13 -0700 (PDT) Message-ID: <4cd85f000710050744t513c2ff0x6e4cd51595eec91b@mail.gmail.com> Date: Fri, 5 Oct 2007 11:44:13 -0300 From: "Wladimir Boton" To: user@roller.apache.org Subject: Re: Login using Active Directory LDAP In-Reply-To: <8fb9ac720710050715k736cddaanc8353751c9db6aa7@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3874_24287110.1191595453779" References: <4cd85f000710031524y3b4d0cecy44932f81063812a9@mail.gmail.com> <4cd85f000710041342q693e531bj9b6e8baf86716bc0@mail.gmail.com> <8fb9ac720710041408l4e3ee698l3898ea4eb0af1403@mail.gmail.com> <4cd85f000710050700o255e5f3ahd47ee4b80193e349@mail.gmail.com> <8fb9ac720710050715k736cddaanc8353751c9db6aa7@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3874_24287110.1191595453779 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It works. But It is not wrong I have to use JDNI if I want a LDAP login? the acegi should't use my JDBC (without JNDI configuration)? There is a security.xml configuration for JDBC instead of JNDI? bye On 10/5/07, Dave wrote: > > On 10/5/07, Wladimir Boton wrote: > > Roller is working normaly when I use the default login process (db). > > > > The mysql-connector-java-5.0.4-bin.jar is on the directory > C:\Java\apache- > > tomcat-5.5.20\common\lib > > and the correct username and password was set in the > > roller-custom.properties. > > > > Is there another place to setup this conection for the acegi? > > > > This is the security.xml part where is the dataSource. > > > > > > > > > > > value="java:comp/env/jdbc/rollerdb"/> > > > > > > > > SELECT username,rolename FROM userrole WHERE username > = > > ? > > > > admin > > > > I have not tried to setup LDAP with Roller 4.0, but I believe that > with the config you show above you will have to setup a JNDI > accessible datasource for Roller. See section 9.3 in the installation > guide for notes on how to do that. > > - Dave > -- Wladimir Boton http://www.wboton.com ------=_Part_3874_24287110.1191595453779--