I probably should have been more explicit in my previous email.  The
properties I mentioned were properties of the ldap connection when viewed in
the tomcat debugger, not properties set in xml files.

Here's the ldapContext.xml:

    <bean id="defaultLdapServer"
class="org.jasig.portal.ldap.ContextSourceLdapServerImpl">
        <property name="ldapContextSource" ref="defaultLdapContext"/>
        <property name="uidAttribute" value="sAMAccountName"/>
    </bean>

    <bean id="defaultLdapContext"
class="org.springframework.ldap.core.support.LdapContextSource">
        <property name="url" value="ldap://10.15.10.5:389"/>
        <property name="base" value="cn=Users,dc=unicon,dc=net"/>
        <property name="userName"
value="cn=nottheusername,ou=Resources,dc=unicon,dc=net"/>
        <property name="password" value="notthepassword"/>
        <property name="pooled" value="false"/>
    </bean>



On Fri, May 9, 2008 at 11:16 PM, Jen Bourey <[EMAIL PROTECTED]>
wrote:

> OK, I finally managed to set up a up2.6 install against the same LDAP
> source, and it worked fine.  There do seem to be a new properties in up3's
> ldap connection.  Also, the URL seems to be of the form ldap:port/basePath,
> rather than ldap:port.
>
> New props:
>
> java.naming.ldap.version=3,
> org.springframework.ldap.base.path=cn=Users, dc=unicon, dc=net,
> java.naming.factory.object=org.springframework.ldap.core.support.DefaultDirObjectFactory
>
>
> - Jen

-- 
You are currently subscribed to [email protected] as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Reply via email to