« 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

Never mind the other issues, these are just skinning problems...


Mario.

-----Original Message-----
From: daisy-bounces@... [mailto:daisy-bounces@...] On Behalf Of Mario Brackeva
Sent: donderdag 25 juni 2009 13:39
To: Daisy: open source CMS - general mailinglist
Subject: RE: [daisy] Daisy 2.3 upgrade LDAP issue

I changed the log entry like you advised, but it doesn't make a difference.

I cleaned up the test server and restored the production backup from last night. I then started daisy (2.2) and all is well.
I then upgraded (link to the 2.3 directory instead of 2.2 and run the upgrade sql script) and applied your "searchBase" patch to the myconfig.xml file. Started again, but can't log in anymore with LDAP users.

I then replaced the file lib/daisy/jars/daisy-auth-ldap-2.3.jar with the old one from 2.2, and ...
... it works fine now!

Some other issues:
- When I edit a document, I don't get the WYSIWYG editor, just the plain text editor
- I don't see the "search&replace" option


Mario.

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

Hmm, there isn't much more in the logs. From daisy-request-errors I
can only see confirmation that we're not looking at some completely
different problem,
but unfortunately it doesn't tell any details about the ldap login.

Here's one more thing that might help: in
{repodata}/conf/repository-log4j.properties, change the line
"log4j.rootLogger=WARN, serverlog"
to this:
log4j.rootLogger=DEBUG, serverlog

Then repeat the process - it should give more details about the ldap
authentication problems. (in {repodata}/logs/daisy if I'm not
mistaken.

I'll have a closer look soon, sorry for the inconvenience...
Karel

On Wed, Jun 24, 2009 at 4:44 PM, Mario
Brackeva<Mario.Brackeva@...> wrote:

> Logs attached.
> Actions:
> - stop all
> - clear log directories
> - start all
> - login with LDAP account
>
> Mario.
>
> -----Original Message-----
> From: daisy-bounces@... [mailto:daisy-bounces@...] On Behalf Of Karel Vervaeke
> Sent: woensdag 24 juni 2009 15:14
> To: Daisy: open source CMS - general mailinglist
> Subject: Re: [daisy] Daisy 2.3 upgrade LDAP issue
>
> Hm, unfortunately that's really general.  Is there anything more in the logs?
>
> Karel
>
> On Wed, Jun 24, 2009 at 3:03 PM, Mario
> Brackeva<Mario.Brackeva@...> wrote:
>> 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
>>
> _______________________________________________
> 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
>
>
_______________________________________________
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
_______________________________________________
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