LDAP problems
Scott Battaglia
scott.battaglia at gmail.com
Tue Sep 26 13:43:08 EDT 2006
Is the certificate in the JVM keystore? Does the host name in the url match
the cn?
-Scott
On 9/26/06, kike velez <kike_velez at hotmail.com> 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" <kike_velez at hotmail.com>
> >Reply-To: Yale CAS mailing list <cas at tp.its.yale.edu>
> >To: cas at tp.its.yale.edu
> >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: [kike_velez at hotmail.com]
> >X-Sender: kike_velez at hotmail.com
> >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
> ><cas at tp.its.yale.edu>; 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
> ><cas at tp.its.yale.edu>; 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: cas at tp.its.yale.edu
> >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:
> cas-request at tp.its.yale.edu?subject=unsubscribe>
> >List-Archive: <http://tp.its.yale.edu/pipermail/cas>
> >List-Post: <mailto:cas at tp.its.yale.edu>
> >List-Help: <mailto:cas-request at tp.its.yale.edu?subject=help>
> >List-Subscribe:
> ><http://tp.its.yale.edu/mailman/listinfo/cas>,<mailto:
> cas-request at tp.its.yale.edu?subject=subscribe>
> >Errors-To: cas-bounces at tp.its.yale.edu
> >Return-Path: cas-bounces at tp.its.yale.edu
> >
> >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
> >cas at tp.its.yale.edu
> >http://tp.its.yale.edu/mailman/listinfo/cas
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20060926/c92f474d/attachment.html
More information about the cas
mailing list