[Dspace-tech] LDAP user info updating

2010-12-03 Thread Edgaras
Hello,

i have configured LDAP on DSpace. It's working nicely but i miss one
feature - dspace is not updating user information if admin change it after
users first login.

E.g.
User logs in:
username: test
password: testword
Telephone number: 123456789

Then telephoneNumber is changed to 987654321, user logs in again but
contact telephone remains same.

Do I miss something?


-- 
Pagarbiai,

Edgaras Lukoševičius
Kauno kolegijos kompiuterių centro administratorius
Pramones 20, Kaunas.
edga...@kauko.lt


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem installing 1.7

2010-12-03 Thread Hilton Gibson

Hi Glenn

Check this out: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Dspace
It may help. When version 1.7.0 is released and I have done a test 
installation/upgrade I will update the wiki contents.


Cheers

hg

On 02/12/2010 20:22, Bunton, Glenn A. wrote:

Clean install of Dspace 1.7
Ubuntu 9.10
Postgresql 8.4
Tomcat 6
Carried out the installation instructions. Everything seemed to go 
smoothly. No errors and installation completed successfully.
Now when I test Tomcat it tells me it is working but when I try to go 
to xmlui I get the Status 404 error saying The requested resource 
(/xmlui/ is not available.
I did have one area of confusion in the installation instructions. In 
the Deploy Web Applications it gives the line

cp -R [dspace]/webapps/* [tomcat]/webapps*
However, on the Ubuntu installation of Tomcat6 there is a directory 
labeled ROOT inside the webapps directory so I wasn't sure whether to 
copy the dspace webapps stuff to just the tomcat webapps directory or 
put it inside the directory labeled ROOT. I tried both and neither 
seemed to work.
Any suggestions or guidance would be greatly appreciated. Thanks in 
advance.

==
Glenn 
Bunton  
gbun...@odu.edu

Head of Systems Development  757-683-5952
Old Dominion University Libraries
Norfolk, VA. 23529
===


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LDAP user info updating

2010-12-03 Thread Mark H. Wood
On Fri, Dec 03, 2010 at 10:46:13AM +0200, Edgaras wrote:
 i have configured LDAP on DSpace. It's working nicely but i miss one
 feature - dspace is not updating user information if admin change it after
 users first login.
 
 E.g.
 User logs in:
 username: test
 password: testword
 Telephone number: 123456789
 
 Then telephoneNumber is changed to 987654321, user logs in again but
 contact telephone remains same.
 
 Do I miss something?

No; that is the way it works.  DSpace will go get the user's
telephoneNumber attribute from the directory when the user is created,
but it does not check for updates.

IMHO this is the wrong approach.  If we want to pass through directory
object attributes such as telephoneNumber, we should fetch them from
the directory every time we want them.  The value maintained by DSpace
should be missing or null or whatever would indicate that we don't
store it for this user.  If the user or an administrator fills in one
of these fields locally in DSpace then it should prevail: we show a
local value if it exists, otherwise ask the directory if there is one,
otherwise show nothing.  Perhaps there should be a time-limited cache
for directory object attributes, although directory servers are
usually quite fast and do their own caching arguably better than we
could.

The scheme should not be confied to LDAP; it should be general enough
to e.g. accept identity attributes from Shibboleth.  That is:  it
should be part of the authentication framework so that any suitable
authentication source may contribute.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Balance your desire for bells and whistles with the reality that only a 
little more than 2 percent of world population has broadband.
-- Ledford and Tyler, _Google Analytics 2.0_


pgpZEMhCOAah9.pgp
Description: PGP signature
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Bilingual submission process -- multiple input-forms.xml ?

2010-12-03 Thread Roger Gillis
Hi there,

We are trying to implement a bilingual submission process. We have our site
configured so that one community has both an English and French site, but we
are hoping to extend this to the submission process as well. Has anyone
successfully done this? And would you be able to provide any insight  on how
to go about doing this?


Thank you


Roger Gillis
MSVU Dspace Administrator
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem installing 1.7

2010-12-03 Thread Bunton, Glenn A.
Below is what I find in the tomcat6 log after trying to connect to the newly 
installed dspace 1.7. I noticed the access denied item so I went back and 
opened all the permissions for everything in the dspace directory inward, then 
restarted everything but still received the same errors. I don't understand how 
it can say access denied to the /dspace/config/dspace.cfg file when it's got 
full open permissions.

Any suggestions will be greatly appreciated. Thanks.



Dec 3, 2010 1:06:32 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of 
class org.dspace.app.util.DSpaceContextListener
java.security.AccessControlException: access denied (java.io.FilePermission 
/dspace/config/dspace.cfg read)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
at 
java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.File.isDirectory(File.java:769)
at java.io.File.toURI(File.java:678)
at 
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:888)
at 
org.dspace.app.util.DSpaceContextListener.contextInitialized(DSpaceContextListener.java:100)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at 
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:123)
at 
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:769)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1039)
at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:961)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1258)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Dec 3, 2010 1:06:32 PM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class 
org.dspace.app.util.DSpaceContextListener
java.lang.ExceptionInInitializerError
at 
org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:129)
at 
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3973)
at 
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4577)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4474)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at 
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:123)
at 
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at