sAMAccountName  is swebshet
-----Original Message-----
From: [email protected]
[mailto:[email protected]] 
Sent: Thursday, August 19, 2010 11:23 AM
To: [email protected]
Subject: DSpace-tech Digest, Vol 52, Issue 67

Send DSpace-tech mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/dspace-tech
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of DSpace-tech digest..."


Today's Topics:

   1. Ldap authentication (Webshet, Sisay (ILRI))
   2. Re: problem with cocoon 2.2.0 config after DSpace 1.6.2
      upgrade, xmlui fails to load (Pottinger, Hardy J.)
   3. Re: Ldap authentication (helix84)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 Aug 2010 11:07:40 +0300
From: "Webshet, Sisay (ILRI)" <[email protected]>
Subject: [Dspace-tech] Ldap authentication
To: <[email protected]>
Message-ID:
        
<e0b1bfd2eacafb4c9bdbc73eeea14c1701c71...@ilrietx1.ilri.cgiarad.org>
Content-Type: text/plain; charset="us-ascii"

 

 

I used dspace 1.5 on window xp. And want to test ldap authentication
against 

a local ldap server . Here I can login to ldap server as follows.

 

*         Base DN =DC=ILRI,DC=CGIARAD,DC=ORG

*         Distinguished name to login =CN=Webshet\, Sisay (ILRI),OU=ILRI
Ethiopia Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG

*         Xxxxxxxxxxxxx( my password)

 

 

 Use this style of settings but unable to login. should redeployment is
a must.

 

ldap.enable = true
ldap.provider_url = ldap://ILRI.CGIARAD.ORG:389/

ldap.id_field = sAMAccountName
ldap.object_context = DC=ILRI, DC=CGIARAD, DC=ORG 

ldap.search_context = OU=ILRI Ethiopia, DC=ILRI, DC=CGIARAD, DC=ORG 

ldap.email_field = mail
ldap.surname_field = sn
ldap.givenname_field = givenName
webui.ldap.autoregister = true
ldap.login.specialgroup = ILRI

ldap.search_scope = 2
ldap.search.user =  what value 

ldap.search.password = what value

 

 

Is there any one who can support me 

 

Sisay

 

 

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Thu, 19 Aug 2010 03:17:30 -0500
From: "Pottinger, Hardy J." <[email protected]>
Subject: Re: [Dspace-tech] problem with cocoon 2.2.0 config after
        DSpace 1.6.2 upgrade, xmlui fails to load
To: "[email protected]"
        <[email protected]>
Message-ID:
        
<a58dc16442384b4c956d43e6ed570cc11c64035...@um-email05.um.umsystem.edu>
        
Content-Type: text/plain; charset="us-ascii"

Hi, well, long story short on this one: I completely removed the bin,
config, etc, lib, and webapps folders from the /dspace folder, and then
re-ran "ant update init_configs", started tomcat back up, and it all
works. Perhaps this thread will help another upgrader.

--Hardy 

> -----Original Message-----
> From: Pottinger, Hardy J. [mailto:[email protected]]
> Sent: Thursday, August 19, 2010 1:55 AM
> To: [email protected]
> Subject: [Dspace-tech] problem with cocoon 2.2.0 config after DSpace
> 1.6.2 upgrade, xmlui fails to load
> 
> Hi, I've just completed an upgrade from DSpace 1.5.1 to DSpace 1.6.2
on
> our production repository, after a successful test run on our
> development server. The development server upgrade (running an exact
> clone of the production repository), went as smooth as silk. Of
course,
> the production server is working out to be less so.
> 
> After completing all upgrade steps according to the documentation,
when
> I attempt to start tomcat5, the XMLUI fails to load. The JSPUI loads
OK.
> 
> Here is the error message I'm seeing in the dspace.log:
> 
> 2010-08-19 01:42:11,248 INFO
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xmlui]
@
> Initializing Spring root WebApplicationContext
> 2010-08-19 01:42:11,925 ERROR
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xmlui]
@
> Exception sending context initialized event to listener instance of
> class org.springframework.web.context.ContextLoaderListener
> org.springframework.beans.factory.BeanDefinitionStoreException: Unable
> to read Avalon configuration from
> 'resource://org/apache/cocoon/cocoon.xconf'.; nested exception is
> org.apache.avalon.framework.configuration.ConfigurationException:
> Unknown component type 'fam' at jar:file:/dspace/webapps/xmlui/WEB-
> INF/lib/cocoon-core-2.2.0.jar!/META-INF/cocoon/avalon/cocoon-core-
> fam.xconf:24:9
>         at
>
org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.parse
> (BridgeElementParser.java:86)
>         at
>
org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(Name
> spaceHandlerSupport.java:69)
>         at
>
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parse
> CustomElement(BeanDefinitionParserDelegate.java:1297)
>         at
>
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parse
> CustomElement(BeanDefinitionParserDelegate.java:1287)
>         at
>
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReade
> r.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)
>         at
>
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReade
> r.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92)
>         at
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBe
> anDefinitions(XmlBeanDefinitionReader.java:507)
>         at
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBean
> Definitions(XmlBeanDefinitionReader.java:398)
>         at
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDe
> finitions(XmlBeanDefinitionReader.java:342)
>         at
>
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDe
> finitions(XmlBeanDefinitionReader.java:310)
>         at
>
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
> oadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>         at
>
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
> oadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>         at
>
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.l
> oadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>         at
>
org.springframework.web.context.support.XmlWebApplicationContext.loadBea
> nDefinitions(XmlWebApplicationContext.java:124)
>         at
>
org.springframework.web.context.support.XmlWebApplicationContext.loadBea
> nDefinitions(XmlWebApplicationContext.java:92)
>         at
>
org.springframework.context.support.AbstractRefreshableApplicationContex
> t.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
>         at
>
org.springframework.context.support.AbstractApplicationContext.obtainFre
> shBeanFactory(AbstractApplicationContext.java:422)
>         at
>
org.springframework.context.support.AbstractApplicationContext.refresh(A
> bstractApplicationContext.java:352)
>         at
>
org.springframework.web.context.ContextLoader.createWebApplicationContex
> t(ContextLoader.java:255)
>         at
>
org.springframework.web.context.ContextLoader.initWebApplicationContext(
> ContextLoader.java:199)
>         at
>
org.springframework.web.context.ContextLoaderListener.contextInitialized
> (ContextLoaderListener.java:45)
>         at
>
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
> ava:3764)
>         at
>
org.apache.catalina.core.StandardContext.start(StandardContext.java:4212
> )
>         at
>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
> va:760)
>         at
>
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
>         at
>
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:9
> 75)
>         at
>
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
> :938)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1193)
>         at
>
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
> 9)
>         at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
> pport.java:120)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at
>
org.apache.catalina.core.StandardService.start(StandardService.java:448)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
>         at
org.apache.catalina.startup.Catalina.start(Catalina.java:552)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> Caused by:
> org.apache.avalon.framework.configuration.ConfigurationException:
> Unknown component type 'fam' at jar:file:/dspace/webapps/xmlui/WEB-
> INF/lib/cocoon-core-2.2.0.jar!/META-INF/cocoon/avalon/cocoon-core-
> fam.xconf:24:9
>         at
>
org.apache.cocoon.core.container.spring.avalon.ConfigurationReader.proce
> ssComponents(ConfigurationReader.java:378)
>         at
>
org.apache.cocoon.core.container.spring.avalon.ConfigurationReader.conve
> rt(ConfigurationReader.java:321)
>         at
>
org.apache.cocoon.core.container.spring.avalon.ConfigurationReader.conve
> rt(ConfigurationReader.java:253)
>         at
>
org.apache.cocoon.core.container.spring.avalon.ConfigurationReader.readC
> onfiguration(ConfigurationReader.java:82)
>         at
>
org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.readC
> onfiguration(BridgeElementParser.java:154)
>         at
>
org.apache.cocoon.core.container.spring.avalon.BridgeElementParser.parse
> (BridgeElementParser.java:78)
>         ... 44 more
> 2010-08-19 01:42:11,926 INFO
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xmlui]
@
> Closing Spring root WebApplicationContext
> 2010-08-19 01:42:13,096 INFO
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui]
@
> Initializing Spring root WebApplicationContext
> 
> Our repository is currently down, I *can* revert back to an earlier
> state, but I thought I'd see if anyone out there has seen this before?
> 
> --
> HARDY POTTINGER <[email protected]>
> University of Missouri Library Systems
> http://lso.umsystem.edu/~pottingerhj/
> "No matter how far down the wrong road you've gone,
> turn back." --Turkish proverb
> 
> 
>
------------------------------------------------------------------------
> ------
> This SF.net email is sponsored by
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



------------------------------

Message: 3
Date: Thu, 19 Aug 2010 10:22:14 +0200
From: helix84 <[email protected]>
Subject: Re: [Dspace-tech] Ldap authentication
To: "Webshet, Sisay (ILRI)" <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

On Thu, Aug 19, 2010 at 10:07, Webshet, Sisay (ILRI)
<[email protected]> wrote:
> ????????? Base DN =DC=ILRI,DC=CGIARAD,DC=ORG
>
> ????????? Distinguished name to login =CN=Webshet\, Sisay
(ILRI),OU=ILRI
> Ethiopia Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG

You might try to do this:
ldap.id_field = cn

What's in your sAMAccountName?

Regards,
~~helix84



------------------------------

------------------------------------------------------------------------
------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 

------------------------------

_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech


End of DSpace-tech Digest, Vol 52, Issue 67
*******************************************

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to