« Return to Thread: Daisy 2.3 upgrade LDAP issue

RE: Daisy 2.3 upgrade LDAP issue

by Mario Brackeva :: Rate this Message:

Reply to Author | View in Thread

Yep, now the repository server starts. However, I can only log in with
local Daisy users. If I try a LDAP user it gives me the general
"Authentication failed for login ..." error.

Mario.

-----Original Message-----
From: daisy-bounces@...
[mailto:daisy-bounces@...] On Behalf Of Karel Vervaeke
Sent: maandag 22 juni 2009 16:43
To: Daisy: open source CMS - general mailinglist
Subject: Re: [daisy] Daisy 2.3 upgrade LDAP issue

Try adding this line (of course change to match your environment).

    <scheme name="secret" description="LDAP Secret">
         <environment>
           <property name="java.naming.factory.initial"
value="com.sun.jndi.ldap.LdapCtxFactory"/>
           <property name="java.naming.provider.url"
value="ldap://server.domain.be:389"/>
           <property name="java.naming.security.authentication"
value="simple"/>
           <!--property name="java.naming.security.protocol"
value="ssl"/-->
           <property name="java.naming.security.principal"
value="$daisyLogin@ntdomain"/>
         </environment>
 +       <searchBase>dc=outerthought,dc=org</searchBase>
         <cache enabled="true" maxCacheSize="3000"
maxCacheDuration="1800000"/>
         <autoCreateUser>
           <roles>
             <role>Guest</role>
           </roles>
           <defaultRole>Guest</defaultRole>
           <updateableByUser>true</updateableByUser>
         </autoCreateUser>
       </scheme>

I'll have the documentation updated soon:
http://www.daisycms.org/daisydocs-2_3/13-cd/591-cd.html

HTH,
Karel
_______________________________________________
daisy community mailing list
Professional Daisy support:
http://outerthought.org/en/services/daisy/support.html
mail to: daisy@...
list information: http://lists.cocoondev.org/mailman/listinfo/daisy
_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy@...
list information: http://lists.cocoondev.org/mailman/listinfo/daisy

 « Return to Thread: Daisy 2.3 upgrade LDAP issue