hrm, maybe single quotes...just seems like its not pulling in the whole property string
gl -- jesse mcconnell [EMAIL PROTECTED] On Thu, Nov 20, 2008 at 11:59 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > Thanks, Jesse! I tried that: > ... > ldap.config.mapper.attribute.user.id=cn > ldap.config.mapper.attribute.user.base.dn="dc=example,dc=com" > ldap.config.mapper.attribute.user.object.class=person > ... > and got: > Caused by: javax.naming.InvalidNameException: "dc=example: no close quote > > (And it seems to work without quotes for the bind dn, which also has a > comma...) > > I'm going to try the latest Continuum + Redback and see if it's any > different. > > -- > Wendy > > On Thu, Nov 20, 2008 at 10:49 AM, Jesse McConnell > <[EMAIL PROTECTED]> wrote: > > maybe try setting the property to: > > > > ldap.config.mapper.attribute.user.base.dn="dc=example,dc=com" > > > > > > cheers! > > jesse > > > > -- > > jesse mcconnell > > [EMAIL PROTECTED] > > > > > > On Thu, Nov 20, 2008 at 11:39 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > > >> I'm trying to get Continuum 1.2.2 working with LDAP, using ApacheDS > >> 1.5.4, both on localhost. > >> > >> I've un-commented the LdapConnectionFactory and the UserMapper in > >> application.xml. > >> > >> This is my security.properties file so far: > >> > >> user.manager.impl=ldap > >> ldap.bind.authenticator.enabled=true > >> redback.default.admin=admin > >> redback.default.guest=guest > >> security.policy.password.expiration.enabled=false > >> > >> ldap.config.hostname=localhost > >> ldap.config.port=10389 > >> ldap.config.base.dn=o=example > >> ldap.config.context.factory=com.sun.jndi.ldap.LdapCtxFactory > >> ldap.config.bind.dn=uid=admin,ou=system > >> ldap.config.password=secret > >> #ldap.config.authentication.method= > >> > >> #ldap.config.mapper.attribute.email=mail > >> #ldap.config.mapper.attribute.fullname=givenName > >> ldap.config.mapper.attribute.password=userPassword > >> ldap.config.mapper.attribute.user.id=cn > >> ldap.config.mapper.attribute.user.base.dn=dc=example,dc=com > >> ldap.config.mapper.attribute.user.object.class=person > >> #ldap.config.mapper.attribute.user.filter=(attributeName=value) > >> > >> The impressive stack trace that results when I visit > >> http://localhost:9098/continuum can be seen here: > >> http://wiki.wsmoak.net/cgi-bin/wiki.pl?ContinuumLDAP > >> > >> The first bit is: > >> 2008-11-20 10:24:30,546 [btpool0-7] INFO ldapController - Searching > >> for user: guest > >> 2008-11-20 10:24:30,548 [btpool0-7] INFO ldapController - Searching > >> for users with filter: '(&(objectClass=person)(cn=guest))' from base > >> dn: dc=example > >> 2008-11-20 10:24:30,556 [btpool0-7] ERROR userManager#ldap - Failed > >> to find user: guest > >> > >> On #apache-directory on freenode irc, they seemed to think it's a > >> problem that it's looking in dc=example and not dc=example,dc=com as > >> configured. > >> > >> Any ideas on what I might try next? > >> > >> -- > >> Wendy > >> > > >
