[Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-26 Thread Mesfin Teshome


Dear all,
   I am relatively new to Dspace but I have a lot of experience with Active 
Directory. I have been trying to configure Dspace Active Directory 
authentication for three days now and I am not having much success. What does 
one put for id_field = (sAMAccountName or CN or userPrincipalName)
and what about for search.user? Does anyone have any success configuring DSpace 
1.8 for Active directory authentication?
Mesfin



From: "dspace-tech-requ...@lists.sourceforge.net" 

To: dspace-tech@lists.sourceforge.net 
Sent: Monday, March 26, 2012 11:43 AM
Subject: DSpace-tech Digest, Vol 71, Issue 53

Send DSpace-tech mailing list submissions to
    dspace-tech@lists.sourceforge.net

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
    dspace-tech-requ...@lists.sourceforge.net

You can reach the person managing the list at
    dspace-tech-ow...@lists.sourceforge.net

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


Today's Topics:

  1. DSpace 1.8.2 System Administrator Functionality (KC Roa)
  2. Data Migration Errors due to Difference in Community names in
      the Different Sites of the two DSpace Versions (Andrew Mwesigwa)
  3. Re: Data Migration Errors due to Difference in Community
      names in the Different Sites of the two DSpace Versions (helix84)
  4. Customisation of Dspace Item Submission Process (Shanu Jha)


--

Message: 1
Date: Sun, 25 Mar 2012 01:56:55 +0800
From: KC Roa 
Subject: [Dspace-tech] DSpace 1.8.2 System Administrator Functionality
To: dspace-tech@lists.sourceforge.net
Message-ID:
    
Content-Type: text/plain; charset=UTF-8

Is there any way I could limit a system administrator's functionality?
It seems a system administrator can do anything or has overall
functionality.

Example: He CAN create/edit a top level community or sub-community but
CANNOT create its collection. A community administrator of that
particular community is the only one who can create a collection.

What part of DSpace can I configure to implement this? Thank you for
your response.



--

Message: 2
Date: Sun, 25 Mar 2012 16:46:38 +0300
From: "Andrew Mwesigwa" 
Subject: [Dspace-tech] Data Migration Errors due to Difference in
    Community names in the Different Sites of the two DSpace Versions
To: dspace-tech@lists.sourceforge.net
Cc: lkiwan...@mulib.mak.ac.ug
Message-ID:
    <99a2b7e3d21cf04f3654cf8b6a8cfe00.squir...@webmail.mak.ac.ug>
Content-Type: text/plain;charset=iso-8859-1

How can we resolve the failure of automated data migration due to this
difference in the names of the dspace communities and collections in the
two dspace versions? Is it possible to program the data migration process
regardless of these changes?

The background to this is that we have an upgrade dspace site. However the
names of the communities on the interface of the old dspace version site
are different from the names of the communities on the interface of the
website of the upgraded dspace version.

Secondly, in our old site we had document types as collections, where as
in the new site we do not have document types as collections



-- 
Andrew Mwesigwa
Librarian I (Academic),
Editorial Team Member of Uganda Scholarly Digital Library found at
http://dspace.mak.ac.ug and http://dspace3.mak.ac.ug
Digitisation Unit, Makerere University Library Services,
P. O. Box 7062, Kampala, Uganda, E. Africa

Office Phone: +256-414-533735
Mobile Phone: +256-712131871 or +256-701032235
Alternative Email: andrewmwesig...@gmail.com



--

Message: 3
Date: Sun, 25 Mar 2012 19:58:04 +0200
From: helix84 
Subject: Re: [Dspace-tech] Data Migration Errors due to Difference in
    Community names in the Different Sites of the two DSpace Versions
To: Andrew Mwesigwa 
Cc: dspace-tech@lists.sourceforge.net, lkiwan...@mulib.mak.ac.ug
Message-ID:
    
Content-Type: text/plain; charset=UTF-8

Hi Andrew,

just make sure to migrate all of your items first, collection
membership notwithstanding. Changing collection membership is very
easy using the Batch Metadata Editing tool:

https://wiki.duraspace.org/display/DSDOC18/Batch+Metadata+Editing#BatchMetadataEditing-EditingCollectionMembership

If the number of items in your repository is more than about 10 000,
you may need to restrict your CSV file to 2 colums only - id and
collection.

Regards,
~~helix84



--

Message: 4
Date: Mon, 26 Mar 2012 14:13:47 +0530
From: Shanu Jha 
Subject: [Dspace-tech] Customisation of Dspace Item Submission Process
To: dspace-tech@lists.sourceforge.net
Message-ID:
    
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

I have a requirement where I need customised submission form. It will have

Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-26 Thread Mesfin Teshome


Hi everyone 
 Shanu and Oscar thank you for your help. But I am still facing the same 
problem. 
My configuration is 
enable = true
autoregister=true
provider_url = ldap://
id_field= sAMAccountName
object_context = dc=negst,dc=net
search_context = dc=negst,dc=net
email_filed = mail
surname_field = sn
givenname_field = givenName
phone_field = telephoneNumber
 
= Hierarchical LDAP settings ===
search_scope = 2
search.user = cn=,ou=PSA,OU=AIUU,dc=negst,dc=net
search.password= 
netid_email_domain = @
 
and this is what I have in authentication.cfg file
 
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
org.dspace.authenticate.PasswordAuthentication, \
org.dspace.authenticate.LDAPAuthentication
 
I am using stackable authentication. The PasswordAuthentication is working 
because I am able to log in using the username I created during the 
installation. 
 
The last dspace log shows 
 
44,016 WARN org.dspace.app.webui.servelet.InternalErrorServlet @ 
:session_id=B8EC2A1DA78C76068AFDB5516957AADD:internal_error:-- URL Was: 
http:///jspui/register
Method: POST
Parameters were:
submit: "Register"
email: ""
netid: "LDAPusername"
password: 
step: "1"

Below is the error I get when I try to register

Internal System Error
The system has experienced an internal error. Please try to do what you were 
doing again, and if the problem persists, please contact us so we can fix the 
problem.


Do you have any idea what the problem could be? What do you login with (UPN, 
domain\sAMAccountName, or just sAMAccountName)? I have tried all. Am I missing 
something?

Thanks again. I appreciate your help.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-27 Thread Mesfin Teshome
Hi Emilio,
  Thank you for your help. I have made the changes as you suggested even 
flipped around the authentication method so that LDAPHierarchicalAuthentication 
becomes the first one, still no go. Here is the error I am getting and the 
detailed java error.Internal System Error
The system has experienced an internal error. Please try to do what you were 
doing again, and if the problem persists, please contact us so we can fix the 
problem.
 
java.lang.NullPointerException
 at java.util.Hashtable.put(Hashtable.java:411)
 at 
org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:298)
 at 
org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172)
 at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
 at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Thread.java:679)
 
Mesfin


From: Emilio Lorenzo 
To: Mesfin Teshome  
Cc: "dspace-tech@lists.sourceforge.net"  
Sent: Tuesday, March 27, 2012 10:17 AM
Subject: Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication 
Configuration


Hi, Mesfin
I think you must add to your current auth stack, something similar to:


plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \  
org.dspace.authenticate.PasswordAuthentication, \
org.dspace.authenticate.LDAPHierarchicalAuthentication

(unless you modified the ldapAuthentication class.to behave as
LDAPhierarchical)

best luck
Emilio Lorenzo

>  
> I am using stackable authentication. The PasswordAuthentication is working
> because I am able to log in using the username I created during the
> installation.
>  
> The last dspace log shows
>  
> 44,016 WARN org.dspace.app.webui.servelet.InternalErrorServlet @
> :session_id=B8EC2A1DA78C76068AFDB5516957AADD:internal_error:-- URL Was:
> http:///jspui/register
> Method: POST
> Parameters were:
> submit: "Register"
> email: ""
> netid: "LDAPusername"
> password: 
> step: "1"
>
> Below is the error I get when I try to register
>
> Internal System Error
> The system has experienced an internal error. Please try to do what you
> were doing again, and if the problem persists, please contact us so we can
> fix the problem.
>
>
> Do you have any idea what the problem could be? What do you login with
> (UPN, domain\sAMAccountName, or just sAMAccountName)? I have tried all. Am
> I missing something?
>
> Thanks again. I appreciate your help.
>
> 
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>


-- 
Emilio  Lorenzo
Arvo Consultores



AVISO LEGAL


Este mensaje es privado y confidencial y solamente para la persona a la
que va dirigido. Si usted ha recibido este mensaje por error, no debe
revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo
comunique al remitente y borre dicho mensaje y cualquier documento adjunto
que pudiera contener. No hay renuncia a la confidencialidad ni a ningún
privilegio por causa de transmisión errónea o m

Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-27 Thread Mesfin Teshome
Hi , 
   Thank you, Helix. Shanu, I want to use multiple authentication methods 
and which is why I have both password and ldaphierarchical. I think from my 
reading, that's possible. I can be wrong. I am attaching the current 
authentication method config file. 
 
Mesfin



From: helix84 
To: Mesfin Teshome  
Cc: "elore...@arvo.es" ; "dspace-tech@lists.sourceforge.net" 
 
Sent: Tuesday, March 27, 2012 11:47 AM
Subject: Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication 
Configuration

On Tue, Mar 27, 2012 at 10:37, Mesfin Teshome  wrote:
> org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:298)

This is the line that throws the error, there's probably a problem in
provider_url config property.
env.put(javax.naming.Context.PROVIDER_URL, ldap_provider_url);

Just to make sure, send us also your current
plugin.sequence.org.dspace.authenticate.AuthenticationMethod

Regards,
~~helix84

authentication.cfg
Description: Binary data


authentication-ldap.cfg
Description: Binary data
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-27 Thread Mesfin Teshome


Dear all,
Thank you very much for all the help. Lorenzo, Helix, Oscar, Shanu...your 
help is very much appreciated. I have finally been able to login using an AD 
account. This is a very helpful forum.
Mesfin--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] XMLUI customization Dspace 3.1

2013-03-06 Thread Mesfin Teshome
Dear all,
    I am trying to customize the Mirage XMLUI interface to suit our 
institutions image. I have tried following the instructions detailed on this 
page
https://wiki.duraspace.org/display/DSDOC3x/XMLUI+Configuration+and+Customization
These are my dspace settings
DSpace Settings
DSpace Version:  3.1 
DSpace Installation Directory:  
/dspace     
 

What I don't understand is I don't see the themes directory the documentations 
is talking about [dspace-source]/dspace/modules/xmlui/src/main/webbapp/themes/ 
under the webbapp directory where I am supposed to copy the templates. Am I 
missing something? Am I supposed to create the themes directory by myself or 
was it supposed to be there after installation. 
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] XMLUI customization Dspace 3.1

2013-03-06 Thread Mesfin Teshome

Thank you, helix and Hilton. You are awesome. I like the support here. I think 
I will need to do some reading on XSLT and XML. But I am in the right direction.
Mesfin--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] (no subject) (Meron Mesfin)

2013-03-11 Thread Mesfin Teshome
Hello Meron,

   Which interface are you using? Jspui or Xmlui?




 From: "dspace-tech-requ...@lists.sourceforge.net" 

To: dspace-tech@lists.sourceforge.net 
Sent: Monday, March 11, 2013 5:51 PM
Subject: DSpace-tech Digest, Vol 83, Issue 28
 
Send DSpace-tech mailing list submissions to
    dspace-tech@lists.sourceforge.net

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
    dspace-tech-requ...@lists.sourceforge.net

You can reach the person managing the list at
    dspace-tech-ow...@lists.sourceforge.net

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


Today's Topics:

   1. Re: (no subject) (Meron Mesfin)
   2. Re: (no subject) (Hilton Gibson)
   3. Re: (no subject) (helix84)
   4. Re: (no subject) (Meron Mesfin)
   5. Re: (no subject) (helix84)
   6. Strange issue with DSpace 3.0 (Alan Orth)


--

Message: 1
Date: Mon, 11 Mar 2013 03:58:08 -0700 (PDT)
From: Meron Mesfin 
Subject: Re: [Dspace-tech] (no subject)
To: "dspace-tech@lists.sourceforge.net"
    
Message-ID:
    <1362999488.53171.yahoomail...@web140205.mail.bf1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"







hello there! I was hoping if u could help me how i can change the dspace header 
layouts which is called (About DSpace Software) title and also one thing when 
how can i change the dspace site name "DSpace at My University"? to the name 
that i want it to appear.i try it by changind the dspace.name but no change.

Thank you and best regards!!!
-- next part --
An HTML attachment was scrubbed...

--

Message: 2
Date: Mon, 11 Mar 2013 13:02:20 +0200
From: Hilton Gibson 
Subject: Re: [Dspace-tech] (no subject)
To: Meron Mesfin 
Cc: "dspace-tech@lists.sourceforge.net"
    
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Perhaps this will help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Theme/Language#Step_2_-_Apply_own_.22DSpace.22_replacement



On 11 March 2013 12:58, Meron Mesfin  wrote:

>
>
> --
> hello there! I was hoping if u could help me how i can change the dspace
> header layouts which is called (About DSpace Software)
> title and also one thing when how can i change the dspace site name "DSpace
> at My University"  to the name that i want it to appear.i try it by
> changind the dspace.name but no change.
> Thank you and best regards!!!
>
>
>
>
>
> --
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ar1.sun.ac.za
http://aj1.sun.ac.za
-- next part --
An HTML attachment was scrubbed...

--

Message: 3
Date: Mon, 11 Mar 2013 12:09:16 +0100
From: helix84 
Subject: Re: [Dspace-tech] (no subject)
To: Meron Mesfin 
Cc: "dspace-tech@lists.sourceforge.net"
    
Message-ID:
    
Content-Type: text/plain; charset=UTF-8

On Mon, Mar 11, 2013 at 11:58 AM, Meron Mesfin  wrote:
> hello there! I was hoping if u could help me how i can change the dspace
> header layouts which is called (About DSpace Software) title and also one
> thing when how can i change the dspace site name "DSpace at My University"
> to the name that i want it to appear.i try it by changind the dspace.name
> but no change.

Hi Meron,

again, you didn't say which DSpace version and interface you're using.

You can change "About DSpace Software" in
[dspace-src]/dspace-api/src/main/resources/Messages.properties

Then you have to rebuild and redeploy DSpace (using mvn package and ant update).

"DSpace at My University" can indeed be changed in dspace.name in
dspace.cfg (or in build.properties when rebuilding DSpace 3), but you
have to restart Tomcat after any change to dspace.cfg.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



---