-Scott
On 9/26/06, kike velez <
[EMAIL PROTECTED]> wrote:
hello,
I have a certificate with cn = localhost in the jvm. But the problem is the
same.
Is a configuration problem? or I am missing something.
Thanks in advance.
>From: "kike velez" <[EMAIL PROTECTED]>
>Reply-To: Yale CAS mailing list < [email protected]>
>To: [email protected]
>Subject: LDAP problems
>Date: Fri, 22 Sep 2006 14:16:49 +0200
>MIME-Version: 1.0
>X-Originating-IP: [194.179.55.34]
>X-Originating-Email: [[EMAIL PROTECTED]]
>X-Sender: [EMAIL PROTECTED]
>Received: from pantheon-po11.its.yale.edu ([130.132.50.69]) by
> bay0-mc4-f16.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Fri,
>22 Sep 2006 05:26:39 -0700
>Received: from tp.its.yale.edu ( tp.its.yale.edu [130.132.59.225])by
>pantheon-po11.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id
>k8MCHGUr029455;Fri, 22 Sep 2006 08:17:51 -0400
>Received: from mr2.its.yale.edu (mr2.its.yale.edu [130.132.50.8])by
> tp.its.yale.edu (8.13.1/8.13.1) with ESMTP id k8MCHF3c009088for
><[email protected]>; Fri, 22 Sep 2006 08:17:15 -0400
>Received: from bay0-omc3-s5.bay0.hotmail.com
>(bay0-omc3-s5.bay0.hotmail.com[65.54.246.205])by mr2.its.yale.edu
>(8.12.11.20060308/8.12.11) with ESMTP idk8MCHEDa026067for
><[email protected]>; Fri, 22 Sep 2006 08:17:14 -0400
>Received: from hotmail.com ([65.55.131.87 ]) by
>bay0-omc3-s5.bay0.hotmail.comwith Microsoft SMTPSVC(6.0.3790.1830); Fri, 22
>Sep 2006 05:16:52 -0700
>Received: from mail pickup service by hotmail.com with Microsoft
>SMTPSVC;Fri, 22 Sep 2006 05:16:52 -0700
>Received: from 65.55.131.123 by by126fd.bay126.hotmail.msn.com with
>HTTP;Fri, 22 Sep 2006 12:16:49 GMT
>X-Message-Info: LsUYwwHHNt2vbVFS268RvVMP7Xihi/GL0crjTIse8ek=
>X-OriginalArrivalTime: 22 Sep 2006 12:16:52.0640
>(UTC)FILETIME=[FCC0BA00:01C6DE40]
>X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)
>X-Yale-Not-Spam: For more info see:
>http://www.yale.edu/email/spam/content.html
>X-Yale-Spam-Score: (-0.001)
>X-Scanned-By: MIMEDefang 2.52 on 130.132.50.8
>X-BeenThere: [email protected]
>X-Mailman-Version: 2.1.6
>Precedence: list
>List-Id: Yale CAS mailing list < cas.tp.its.yale.edu>
>List-Unsubscribe:
><http://tp.its.yale.edu/mailman/listinfo/cas>,<mailto: [EMAIL PROTECTED]?subject=unsubscribe>
>List-Archive: <http://tp.its.yale.edu/pipermail/cas>
>List-Post: <mailto: [email protected]>
>List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
>List-Subscribe:
>< http://tp.its.yale.edu/mailman/listinfo/cas>,<mailto:[EMAIL PROTECTED]?subject=subscribe>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>
>Hello,
>
>I have problems with ldap conection.
>
>I did this:
>
>- copy ldaptemplate.1.0.2.jar + cas_server_ldap_3.0.5.jar to
>localplugins/lib
>- i modify the file webapp/web-inf/deployerConfigContext.xml
>- ant jar
>- ant war
>- deploy to tomcat
>
>My company ldap is somethig like this:
>
>a01.xx.yy.zz
>a02.xx.yy.zz
>a03.xx.yy.zz
>............
>a20.xx.yy.zz
>
>I start with FastBindLdapAuthenticationHandler to test my ldap conection
>with a user in A01.xx.yy.zz
>This is my deployerConfigContext:
><?xml version="1.0" encoding="UTF-8"?>
><!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
>"http://www.springframework.org/dtd/spring-beans.dtd">
><beans>
>
> <bean id="authenticationManager"
> class="org.jasig.cas.authentication.AuthenticationManagerImpl">
>
> <property name="credentialsToPrincipalResolvers">
> <list>
>
> <bean
> class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver"
>/>
>
> <bean
> class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver"
>/>
> </list>
> </property>
>
>
> <property name="authenticationHandlers">
> <list>
>
> <bean
> class=" org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" >
> <property name="filter"
>value="uid=%u,ou=A01,ou=xx,ou=yy,o=zz" />
> <property name="contextSource"
>ref="contextSource" />
> </bean>
> </list>
></property>
>
>
>
> </bean>
>
> <bean id="contextSource"
>class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
> <property name="urls">
> <list>
>
><value>ldap://dirIPofMyServerLdap:389/</value>
>
> </list>
> </property>
> </bean>
>
>
></beans>
>
>After deploy to test i use this url: http://localhost:8084/cas to login
>
>But always i received error.authentication.credentials.bad
>and i don“t know why.
>I use the same information with acegi-ldap and i have no problems.
>
>What i am doing wrong?
>
>Thanks in advance
>
>
>_______________________________________________
>Yale CAS mailing list
>[email protected]
>http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
