After some consultation, I found out that with the ApacheDS
service, you jxplorer (my LDAP browser) needed to specify a
base DN on connection.
Thanks to Jim and Endi for their help.
Rich
--
Richard J. Renomeron (Contractor)
TCG
Tel: (202) 742-8460
OMB Tel: 5-0996
www.tcg.com
-----Original Message-----
From: safehaus googlegroups.com [mailto:safehaus googlegroups.com] On Behalf Of yingyang
Sent: Monday, January 21, 2008 1:54 PM
To: safehaus
Subject: Re: Setting up the apacheds service
Richard,
Penrose 1.2.4 contains OpenDS, ApacheDS and MINA libraries
for its
LDAP stack. The default LDAP stack is MINA, but if you
follow the
documentation, you can switch the LDAP Stack to ApacheDS
which support
SSL. The LDAP stack and mapping are independent so your
existing
mapping should still work. I'll be in the Penrose chat room
today,
please feel free to drop in.
Jim
On Jan 21, 12:32 pm, "Renomeron, Richard J."
<RENOMERO... omb.eop.gov>
wrote:
> I'm trying to use the Apache DS service instead of the
default Mina
> service so I can use SSL. However, when I start up
Penrose, it appears
> to ignore my mappings and present some kind of default
directory tree to
> the LDAP browser. There's a log extract at the bottom
of this message.
>
> The documentation
> <http://docs.safehaus.org/display/PENROSE1
2/Services#Services-ApacheDSLD
> APService> implies that the ApacheDS service is a
drop-in replacement
> for the default mina service. Is that correct, or do I
need to
> configure Penrose as a plugin for ApacheDS, as the
stuff in the
> "samples" subdirectory of the distribution
seems to imply?
>
> Thanks,
>
> Rich
>
> Session [ 757] Search
"uid=admin,ou=system" with scope base
> and fil
>
> ter "(objectClass=*)"
>
> Session [ 885] No Such Object
>
> LDAPException: No Such Object (32) No Such Object
>
> LDAPException: Server Message: No Such Object
>
> at
org.ietf.ldap.LDAPException.<init>(Unknown Source)
>
> at
>
org.safehaus.penrose.util.ExceptionUtil.createLDAPException(
Exception
>
> Util.java:73)
>
> at
>
org.safehaus.penrose.util.ExceptionUtil.createLDAPException(
Exception
>
> Util.java:61)
>
> at
org.safehaus.penrose.session.Session.search(Session.java:851
)
>
> at
org.safehaus.penrose.session.Session.search(Session.java:742
)
>
> at
>
org.safehaus.penrose.backend.PenroseSession.search(PenroseSe
ssion.jav
>
> a:261)
>
> at
>
org.safehaus.penrose.apacheds.PenroseInterceptor.lookup(Penr
oseInterc
>
> eptor.java:391)
>
> at
>
org.apache.directory.server.core.interceptor.InterceptorChai
n.lookup(
>
> InterceptorChain.java:870)
>
> at
>
org.apache.directory.server.core.partition.PartitionNexusPro
xy.lookup
>
> (PartitionNexusProxy.java:524)
>
> at
>
org.apache.directory.server.core.authn.SimpleAuthenticator.l
ookupUser
>
> Password(SimpleAuthenticator.java:173)
>
> at
>
org.apache.directory.server.core.authn.SimpleAuthenticator.a
uthentica
>
> te(SimpleAuthenticator.java:118)
>
> at
>
org.apache.directory.server.core.authn.AuthenticationService
.bind(Aut
>
> henticationService.java:488)
>
> at
>
org.apache.directory.server.core.interceptor.InterceptorChai
n$Entry$1
>
> .bind(InterceptorChain.java:1430)
>
> at
>
org.apache.directory.server.core.normalization.Normalization
Service.b
>
> ind(NormalizationService.java:394)
>
> at
>
org.apache.directory.server.core.interceptor.InterceptorChai
n$Entry$1
>
> .bind(InterceptorChain.java:1430)
>
> at
>
org.safehaus.penrose.apacheds.PenroseInterceptor.bind(Penros
eIntercep
>
> tor.java:100)
>
> at
>
org.apache.directory.server.core.interceptor.InterceptorChai
n.bind(In
>
> terceptorChain.java:726)
>
> at
>
org.apache.directory.server.core.partition.PartitionNexusPro
xy.bind(P
>
> artitionNexusProxy.java:670)
>
> at
>
org.apache.directory.server.core.partition.PartitionNexusPro
xy.bind(P
>
> artitionNexusProxy.java:699)
>
> at
>
org.apache.directory.server.core.jndi.ServerContext.<init
>(ServerCont
>
> ext.java:126)
>
> at
>
org.apache.directory.server.core.jndi.ServerDirContext.<i
nit>(ServerD
>
> irContext.java:83)
>
> at
>
org.apache.directory.server.core.jndi.ServerLdapContext.<
init>(Server
>
> LdapContext.java:63)
>
> at
>
org.apache.directory.server.core.DefaultDirectoryService.get
JndiConte
>
> xt(DefaultDirectoryService.java:171)
>
> at
>
org.apache.directory.server.core.jndi.AbstractContextFactory
.getIniti
>
> alContext(AbstractContextFactory.java:138)
>
> at
>
javax.naming.spi.NamingManager.getInitialContext(NamingManag
er.java:6
>
> 67)
>
> at
>
javax.naming.InitialContext.getDefaultInitCtx(InitialContext
.java:247
>
> )
>
> at
javax.naming.InitialContext.init(InitialContext.java:223)
>
> at
javax.naming.InitialContext.<init>(InitialContext.java
:197)
>
> at
>
javax.naming.directory.InitialDirContext.<init>(Initia
lDirContext.jav
>
> a:82)
>
> at
>
org.safehaus.penrose.apacheds.ApacheDSLDAPService.start(Apac
heDSLDAPS
>
> ervice.java:171)
>
> at
>
org.safehaus.penrose.service.ServiceManager.start(ServiceMan
ager.java
>
> :79)
>
> at
>
org.safehaus.penrose.service.ServiceManager.start(ServiceMan
ager.java
>
> :66)
>
> at
>
org.safehaus.penrose.server.PenroseServer.start(PenroseServe
r.java:80
>
> )
>
> at
>
org.safehaus.penrose.server.PenroseServer.main(PenroseServer
.java:246
>
> )
>
> --
> Richard J. Renomeron (Contractor)
> TCG
> Tel: (202) 742-8460
> OMB Tel: 5-0996
> <http://www.tcg.com
/>www.tcg.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "safehaus" group.
To post to this group, send email to safehaus googlegroups.com
To unsubscribe from this group, send email to
safehaus-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/safehaus?hl=en
-~----------~----~----~----~------~----~------~--~---
|