Re: [Dspace-tech] (no subject)

2015-02-27 Thread Ahmed Maher
هل  تم ارسال بريد اكتروني لك من الموقع  لاكمال خطوات التسجيل ؟


2015-02-28 0:08 GMT+02:00 besmakhawla :

> لقد سجلت في الموقع ة تم قبولي لكن عندما اسجل الدخول يقولون لي الايميل
> خاطىء
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> 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
>
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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

[Dspace-tech] (no subject)

2015-02-27 Thread besmakhawla
لقد سجلت في الموقع ة تم قبولي لكن عندما اسجل الدخول يقولون لي الايميل خاطىء --
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new machine

2015-02-27 Thread Tim Donohue

Hi,

I finally got a chance to look at the database SQL backup that you 
forwarded along. I've noticed that it does *not* seem to be a complete 
backup (which may be why you are having upgrade issues).


Here's what is missing from a "normal" DSpace database schema:

1) Your backup has *no* database indexes ("CREATE INDEX" statements)
2) Your backup has *no* database constraints or primary keys ("ALTER 
TABLE..ADD CONSTRAINT" statements
3) Your backup also has no Community/Collection/Item data (those tables 
are completely empty) -- but maybe you excluded it on purpose?


In any case, I can reproduce the errors you are seeing using your 
database backup. Here's what I've found out, and how to fix your issues 
in upgrading to DSpace 5.


-

ERROR #1:  "ERROR:  there is no unique constraint matching given keys 
for referenced table "item" STATEMENT:  CREATE TABLE versionitem..."


CAUSE: This is being caused because you backup has *no* database 
constraints or primary keys specified (#2 above). So, this error is 
thrown because your Item table has no "primary key" specified, and 
DSpace is therefore unable to associate the primary key with the new 
"versionitem" table.


HOW TO FIX: I've attached a custom "add-constraints-and-indexes.sql" 
file which contains *ALL* the constraints & indexes which are missing 
from your DSpace 1.8 database backup. You will need to run this SQL on 
your local database to recreate these constraints & indexes, PRIOR to 
upgrading the database.



---

ERROR #2 : "Error attempting to update Bitstream Format and/or Metadata 
Registries org.postgresql.util.PSQLException: ERROR: null value in 
column "bitstream_format_id" violates not-null constraint"


CAUSE: This seems to be caused by an outdated 
"bitstreamformatregistry_seq" sequence. But, that's easy to fix.


HOW TO FIX: Simply run the [dspace]/etc/postgres/update-sequences.sql 
script on your database. This will update all your database sequences to 
the correct values. Again you should run this PRIOR to upgrading the 
database.


--

FINALLY, after fixing both of those errors, you should simply re-run:

'dspace database migrate'

This time, the migration *should* succeed. However, as mentioned above 
your Community/Collection/Item tables may end up empty, unless you find 
a way to recover that data from your backup.


Good luck,

Tim
--
-- Name: bitstream_pkey; Type: CONSTRAINT; Schema: public; Owner: dspace; 
Tablespace: 
--

ALTER TABLE ONLY bitstream
ADD CONSTRAINT bitstream_pkey PRIMARY KEY (bitstream_id);


--
-- Name: bitstreamformatregistry_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY bitstreamformatregistry
ADD CONSTRAINT bitstreamformatregistry_pkey PRIMARY KEY 
(bitstream_format_id);


--
-- Name: bitstreamformatregistry_short_description_key; Type: CONSTRAINT; 
Schema: public; Owner: dspace; Tablespace: 
--

ALTER TABLE ONLY bitstreamformatregistry
ADD CONSTRAINT bitstreamformatregistry_short_description_key UNIQUE 
(short_description);


--
-- Name: bundle2bitstream_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY bundle2bitstream
ADD CONSTRAINT bundle2bitstream_pkey PRIMARY KEY (id);


--
-- Name: bundle_pkey; Type: CONSTRAINT; Schema: public; Owner: dspace; 
Tablespace: 
--

ALTER TABLE ONLY bundle
ADD CONSTRAINT bundle_pkey PRIMARY KEY (bundle_id);


--
-- Name: checksum_history_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY checksum_history
ADD CONSTRAINT checksum_history_pkey PRIMARY KEY (check_id);


--
-- Name: checksum_results_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY checksum_results
ADD CONSTRAINT checksum_results_pkey PRIMARY KEY (result_code);


--
-- Name: collection2item_pkey; Type: CONSTRAINT; Schema: public; Owner: dspace; 
Tablespace: 
--

ALTER TABLE ONLY collection2item
ADD CONSTRAINT collection2item_pkey PRIMARY KEY (id);


--
-- Name: collection_item_count_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY collection_item_count
ADD CONSTRAINT collection_item_count_pkey PRIMARY KEY (collection_id);


--
-- Name: collection_pkey; Type: CONSTRAINT; Schema: public; Owner: dspace; 
Tablespace: 
--

ALTER TABLE ONLY collection
ADD CONSTRAINT collection_pkey PRIMARY KEY (collection_id);


--
-- Name: communities2item_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY communities2item
ADD CONSTRAINT communities2item_pkey PRIMARY KEY (id);


--
-- Name: community2collection_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY community2collection
ADD CONSTRAINT community2collection_pkey PRIMARY KEY (id);


--
-- Name: community2community_pkey; Type: CONSTRAINT; Schema: public; Owner: 
dspace; Tablespace: 
--

ALTER TABLE ONLY community2community
ADD CONSTRAIN

Re: [Dspace-tech] Shibboleth login on DSpace 4.2

2015-02-27 Thread George Stanley Kozak
Tim:

Thank you.  The EntityID in your example was one of the things I needed.  Also, 
I needed to find the proper value used by our site for the email-header which 
is defined in the authentication-shibboleth.cfg.  So, I have Shibboleth working 
now.

-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: Friday, February 27, 2015 11:00 AM
To: George Stanley Kozak; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Shibboleth login on DSpace 4.2

George,

One last tip/hint. I just recalled I had a "Sample" config for testshib.org 
testing sitting around. This is untested for some time, but I think it *should* 
work, and maybe it'll lead you in the right direction. I stuck it in a Gist 
(off GitHub) just cause it's easier to read there:

https://gist.github.com/tdonohue/423f173bfcc2baec76ce

If this ends up being helpful let me know...we can always add something similar 
to the official docs.

- Tim


On 2/27/2015 9:35 AM, Tim Donohue wrote:
> Hi George,
>
> While I don't know the exact answer you need (as Shibboleth admittedly 
> can be complex and unique to how you have things setup), you may wish 
> to review some of the hints/tips in the DSpace Shibboleth Plugin docs:
>
> https://wiki.duraspace.org/display/DSDOC5x/Authentication+Plugins#Auth
> enticationPlugins-ShibbolethAuthentication
>
>
> Specifically, if your local IdP is not working properly, you could do 
> some initial testing against https://www.testshib.org/ (which provides 
> a sample/demo IdP) just to try and get the basics working.  The 
> problem could be in your shibboleth2.xml, or it's even possible you 
> have something misconfigured in your "mod_shib" settings (which we do 
> have a sample for in our docs) or authentication-shibboleth.cfg.
>
> So, it's possible that trying to do testing against 
> https://www.testshib.org/ may help you narrow down the problem area.
> Just an idea, if you are stumped.
>
> If you *do* discover a mistake in our docs, or a clarification we 
> should be making, definitely let us know as we'd love to enhance the 
> docs further for others.
>
> - Tim
>
> On 2/27/2015 9:08 AM, George Stanley Kozak wrote:
>> Tim:
>>
>> Not a problem.  I'm still struggling getting Shibboleth to work, but 
>> if I figure it out, I will let everyone know what I found out (it's 
>> probably just a simple configuration problem).
>>
>> -Original Message-
>> From: Tim Donohue [mailto:tdono...@duraspace.org]
>> Sent: Thursday, February 26, 2015 4:43 PM
>> To: dspace-tech@lists.sourceforge.net
>> Subject: Re: [Dspace-tech] Shibboleth login on DSpace 4.2
>>
>> Hi George,
>>
>> Apologies, I just responded to the wrong thread. :) This was meant 
>> for someone else, as you are obviously using Shibboleth authentication.
>>
>> - Tim
>>
>> On 2/26/2015 3:39 PM, Tim Donohue wrote:
>>> Hi George,
>>>
>>> Sorry for the delayed response. This issue sounds very similar to 
>>> this bug:
>>>
>>> https://jira.duraspace.org/browse/DS-2421
>>>
>>> Simply put, I'm fairly certain the LDAPAuthentication plugin is not 
>>> working correctly *unless* you configure either:
>>>
>>> "search.anonymous=true"
>>>
>>> OR specify both:
>>>
>>> "search.user" and "search.password"
>>>
>>> These are all in the authentication-ldap.cfg configuration file.
>>>
>>> I'm still searching out a volunteer to help resolve this bug in the 
>>> code. Unfortunately, I don't have an LDAP locally that I can easily 
>>> test against.
>>>
>>> - Tim
>>>
>>> On 2/23/2015 1:47 PM, George Stanley Kozak wrote:
 Hi...

 I'm trying to implement the Shibboleth Login as an option on my 
 DSpace V. 4.2 XMLUI system.

 I am getting the proper login screen, but after logging in, I get 
 "Authentication Failed"

 In the DSPace logs, I see:

 ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth 
 authentication was not able to find a NetId, Email, or Tomcat 
 Remote user for which to indentify a user from.

 ERROR org.dspace.authenticate.ShibAuthentication @ Unable to 
 register new eperson because we are unable to find an email address 
 along with first and last name for the user.

 NetId Header: 'SHIB-NETID'='null' (Optional)

 Email Header: 'SHIB-MAIL'='null'

 First Name Header: 'SHIB-GIVENNAME'='null'

 Last Name Header: 'SHIB-SURNAME'='null'

 I'm trying to debug that now.  I am wondering if I have the 
 entityID and homeURL set correctly in my shibboleth2.xml file.

 What is the recommended settings for these values if one is using a 
 DSpace installation?

 Thank  you in advance for any help or suggestions.

 George Kozak

 Digital Library Specialist

 Cornell University Library Information Technologies (CUL-IT)

 218 Olin Library

 Cornell University

 Ithaca, NY 14853

 607-255-8924



 -

[Dspace-tech] (no subject)

2015-02-27 Thread fatima zohra benzidane

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] Shibboleth login on DSpace 4.2

2015-02-27 Thread George Stanley Kozak
Thanks, Tim:

I will let you know if I end up solving things on my end.

-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: Friday, February 27, 2015 11:00 AM
To: George Stanley Kozak; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Shibboleth login on DSpace 4.2

George,

One last tip/hint. I just recalled I had a "Sample" config for testshib.org 
testing sitting around. This is untested for some time, but I think it *should* 
work, and maybe it'll lead you in the right direction. I stuck it in a Gist 
(off GitHub) just cause it's easier to read there:

https://gist.github.com/tdonohue/423f173bfcc2baec76ce

If this ends up being helpful let me know...we can always add something similar 
to the official docs.

- Tim


On 2/27/2015 9:35 AM, Tim Donohue wrote:
> Hi George,
>
> While I don't know the exact answer you need (as Shibboleth admittedly 
> can be complex and unique to how you have things setup), you may wish 
> to review some of the hints/tips in the DSpace Shibboleth Plugin docs:
>
> https://wiki.duraspace.org/display/DSDOC5x/Authentication+Plugins#Auth
> enticationPlugins-ShibbolethAuthentication
>
>
> Specifically, if your local IdP is not working properly, you could do 
> some initial testing against https://www.testshib.org/ (which provides 
> a sample/demo IdP) just to try and get the basics working.  The 
> problem could be in your shibboleth2.xml, or it's even possible you 
> have something misconfigured in your "mod_shib" settings (which we do 
> have a sample for in our docs) or authentication-shibboleth.cfg.
>
> So, it's possible that trying to do testing against 
> https://www.testshib.org/ may help you narrow down the problem area.
> Just an idea, if you are stumped.
>
> If you *do* discover a mistake in our docs, or a clarification we 
> should be making, definitely let us know as we'd love to enhance the 
> docs further for others.
>
> - Tim
>
> On 2/27/2015 9:08 AM, George Stanley Kozak wrote:
>> Tim:
>>
>> Not a problem.  I'm still struggling getting Shibboleth to work, but 
>> if I figure it out, I will let everyone know what I found out (it's 
>> probably just a simple configuration problem).
>>
>> -Original Message-
>> From: Tim Donohue [mailto:tdono...@duraspace.org]
>> Sent: Thursday, February 26, 2015 4:43 PM
>> To: dspace-tech@lists.sourceforge.net
>> Subject: Re: [Dspace-tech] Shibboleth login on DSpace 4.2
>>
>> Hi George,
>>
>> Apologies, I just responded to the wrong thread. :) This was meant 
>> for someone else, as you are obviously using Shibboleth authentication.
>>
>> - Tim
>>
>> On 2/26/2015 3:39 PM, Tim Donohue wrote:
>>> Hi George,
>>>
>>> Sorry for the delayed response. This issue sounds very similar to 
>>> this bug:
>>>
>>> https://jira.duraspace.org/browse/DS-2421
>>>
>>> Simply put, I'm fairly certain the LDAPAuthentication plugin is not 
>>> working correctly *unless* you configure either:
>>>
>>> "search.anonymous=true"
>>>
>>> OR specify both:
>>>
>>> "search.user" and "search.password"
>>>
>>> These are all in the authentication-ldap.cfg configuration file.
>>>
>>> I'm still searching out a volunteer to help resolve this bug in the 
>>> code. Unfortunately, I don't have an LDAP locally that I can easily 
>>> test against.
>>>
>>> - Tim
>>>
>>> On 2/23/2015 1:47 PM, George Stanley Kozak wrote:
 Hi...

 I'm trying to implement the Shibboleth Login as an option on my 
 DSpace V. 4.2 XMLUI system.

 I am getting the proper login screen, but after logging in, I get 
 "Authentication Failed"

 In the DSPace logs, I see:

 ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth 
 authentication was not able to find a NetId, Email, or Tomcat 
 Remote user for which to indentify a user from.

 ERROR org.dspace.authenticate.ShibAuthentication @ Unable to 
 register new eperson because we are unable to find an email address 
 along with first and last name for the user.

 NetId Header: 'SHIB-NETID'='null' (Optional)

 Email Header: 'SHIB-MAIL'='null'

 First Name Header: 'SHIB-GIVENNAME'='null'

 Last Name Header: 'SHIB-SURNAME'='null'

 I'm trying to debug that now.  I am wondering if I have the 
 entityID and homeURL set correctly in my shibboleth2.xml file.

 What is the recommended settings for these values if one is using a 
 DSpace installation?

 Thank  you in advance for any help or suggestions.

 George Kozak

 Digital Library Specialist

 Cornell University Library Information Technologies (CUL-IT)

 218 Olin Library

 Cornell University

 Ithaca, NY 14853

 607-255-8924



 ---
 --
 -

 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server 
 from Actuate! Instantly Supercharge 

Re: [Dspace-tech] Shibboleth login on DSpace 4.2

2015-02-27 Thread Tim Donohue
George,

One last tip/hint. I just recalled I had a "Sample" config for 
testshib.org testing sitting around. This is untested for some time, but 
I think it *should* work, and maybe it'll lead you in the right 
direction. I stuck it in a Gist (off GitHub) just cause it's easier to 
read there:

https://gist.github.com/tdonohue/423f173bfcc2baec76ce

If this ends up being helpful let me know...we can always add something 
similar to the official docs.

- Tim


On 2/27/2015 9:35 AM, Tim Donohue wrote:
> Hi George,
>
> While I don't know the exact answer you need (as Shibboleth admittedly
> can be complex and unique to how you have things setup), you may wish to
> review some of the hints/tips in the DSpace Shibboleth Plugin docs:
>
> https://wiki.duraspace.org/display/DSDOC5x/Authentication+Plugins#AuthenticationPlugins-ShibbolethAuthentication
>
>
> Specifically, if your local IdP is not working properly, you could do
> some initial testing against https://www.testshib.org/ (which provides a
> sample/demo IdP) just to try and get the basics working.  The problem
> could be in your shibboleth2.xml, or it's even possible you have
> something misconfigured in your "mod_shib" settings (which we do have a
> sample for in our docs) or authentication-shibboleth.cfg.
>
> So, it's possible that trying to do testing against
> https://www.testshib.org/ may help you narrow down the problem area.
> Just an idea, if you are stumped.
>
> If you *do* discover a mistake in our docs, or a clarification we should
> be making, definitely let us know as we'd love to enhance the docs
> further for others.
>
> - Tim
>
> On 2/27/2015 9:08 AM, George Stanley Kozak wrote:
>> Tim:
>>
>> Not a problem.  I'm still struggling getting Shibboleth to work, but
>> if I figure it out, I will let everyone know what I found out (it's
>> probably just a simple configuration problem).
>>
>> -Original Message-
>> From: Tim Donohue [mailto:tdono...@duraspace.org]
>> Sent: Thursday, February 26, 2015 4:43 PM
>> To: dspace-tech@lists.sourceforge.net
>> Subject: Re: [Dspace-tech] Shibboleth login on DSpace 4.2
>>
>> Hi George,
>>
>> Apologies, I just responded to the wrong thread. :) This was meant for
>> someone else, as you are obviously using Shibboleth authentication.
>>
>> - Tim
>>
>> On 2/26/2015 3:39 PM, Tim Donohue wrote:
>>> Hi George,
>>>
>>> Sorry for the delayed response. This issue sounds very similar to
>>> this bug:
>>>
>>> https://jira.duraspace.org/browse/DS-2421
>>>
>>> Simply put, I'm fairly certain the LDAPAuthentication plugin is not
>>> working correctly *unless* you configure either:
>>>
>>> "search.anonymous=true"
>>>
>>> OR specify both:
>>>
>>> "search.user" and "search.password"
>>>
>>> These are all in the authentication-ldap.cfg configuration file.
>>>
>>> I'm still searching out a volunteer to help resolve this bug in the
>>> code. Unfortunately, I don't have an LDAP locally that I can easily
>>> test against.
>>>
>>> - Tim
>>>
>>> On 2/23/2015 1:47 PM, George Stanley Kozak wrote:
 Hi...

 I'm trying to implement the Shibboleth Login as an option on my
 DSpace V. 4.2 XMLUI system.

 I am getting the proper login screen, but after logging in, I get
 "Authentication Failed"

 In the DSPace logs, I see:

 ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth
 authentication was not able to find a NetId, Email, or Tomcat Remote
 user for which to indentify a user from.

 ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register
 new eperson because we are unable to find an email address along with
 first and last name for the user.

 NetId Header: 'SHIB-NETID'='null' (Optional)

 Email Header: 'SHIB-MAIL'='null'

 First Name Header: 'SHIB-GIVENNAME'='null'

 Last Name Header: 'SHIB-SURNAME'='null'

 I'm trying to debug that now.  I am wondering if I have the entityID
 and homeURL set correctly in my shibboleth2.xml file.

 What is the recommended settings for these values if one is using a
 DSpace installation?

 Thank  you in advance for any help or suggestions.

 George Kozak

 Digital Library Specialist

 Cornell University Library Information Technologies (CUL-IT)

 218 Olin Library

 Cornell University

 Ithaca, NY 14853

 607-255-8924



 -
 -

 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and
 Dashboards with Interactivity, Sharing, Native Excel Exports, App
 Integration & more Get technology previously reserved for
 billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg
 .clktrk




 _

Re: [Dspace-tech] Shibboleth login on DSpace 4.2

2015-02-27 Thread Tim Donohue
Hi George,

While I don't know the exact answer you need (as Shibboleth admittedly 
can be complex and unique to how you have things setup), you may wish to 
review some of the hints/tips in the DSpace Shibboleth Plugin docs:

https://wiki.duraspace.org/display/DSDOC5x/Authentication+Plugins#AuthenticationPlugins-ShibbolethAuthentication

Specifically, if your local IdP is not working properly, you could do 
some initial testing against https://www.testshib.org/ (which provides a 
sample/demo IdP) just to try and get the basics working.  The problem 
could be in your shibboleth2.xml, or it's even possible you have 
something misconfigured in your "mod_shib" settings (which we do have a 
sample for in our docs) or authentication-shibboleth.cfg.

So, it's possible that trying to do testing against 
https://www.testshib.org/ may help you narrow down the problem area. 
Just an idea, if you are stumped.

If you *do* discover a mistake in our docs, or a clarification we should 
be making, definitely let us know as we'd love to enhance the docs 
further for others.

- Tim

On 2/27/2015 9:08 AM, George Stanley Kozak wrote:
> Tim:
>
> Not a problem.  I'm still struggling getting Shibboleth to work, but if I 
> figure it out, I will let everyone know what I found out (it's probably just 
> a simple configuration problem).
>
> -Original Message-
> From: Tim Donohue [mailto:tdono...@duraspace.org]
> Sent: Thursday, February 26, 2015 4:43 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Shibboleth login on DSpace 4.2
>
> Hi George,
>
> Apologies, I just responded to the wrong thread. :) This was meant for 
> someone else, as you are obviously using Shibboleth authentication.
>
> - Tim
>
> On 2/26/2015 3:39 PM, Tim Donohue wrote:
>> Hi George,
>>
>> Sorry for the delayed response. This issue sounds very similar to this bug:
>>
>> https://jira.duraspace.org/browse/DS-2421
>>
>> Simply put, I'm fairly certain the LDAPAuthentication plugin is not
>> working correctly *unless* you configure either:
>>
>> "search.anonymous=true"
>>
>> OR specify both:
>>
>> "search.user" and "search.password"
>>
>> These are all in the authentication-ldap.cfg configuration file.
>>
>> I'm still searching out a volunteer to help resolve this bug in the
>> code. Unfortunately, I don't have an LDAP locally that I can easily
>> test against.
>>
>> - Tim
>>
>> On 2/23/2015 1:47 PM, George Stanley Kozak wrote:
>>> Hi...
>>>
>>> I'm trying to implement the Shibboleth Login as an option on my
>>> DSpace V. 4.2 XMLUI system.
>>>
>>> I am getting the proper login screen, but after logging in, I get
>>> "Authentication Failed"
>>>
>>> In the DSPace logs, I see:
>>>
>>> ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth
>>> authentication was not able to find a NetId, Email, or Tomcat Remote
>>> user for which to indentify a user from.
>>>
>>> ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register
>>> new eperson because we are unable to find an email address along with
>>> first and last name for the user.
>>>
>>> NetId Header: 'SHIB-NETID'='null' (Optional)
>>>
>>> Email Header: 'SHIB-MAIL'='null'
>>>
>>> First Name Header: 'SHIB-GIVENNAME'='null'
>>>
>>> Last Name Header: 'SHIB-SURNAME'='null'
>>>
>>> I'm trying to debug that now.  I am wondering if I have the entityID
>>> and homeURL set correctly in my shibboleth2.xml file.
>>>
>>> What is the recommended settings for these values if one is using a
>>> DSpace installation?
>>>
>>> Thank  you in advance for any help or suggestions.
>>>
>>> George Kozak
>>>
>>> Digital Library Specialist
>>>
>>> Cornell University Library Information Technologies (CUL-IT)
>>>
>>> 218 Olin Library
>>>
>>> Cornell University
>>>
>>> Ithaca, NY 14853
>>>
>>> 607-255-8924
>>>
>>>
>>>
>>> -
>>> -
>>>
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and
>>> Dashboards with Interactivity, Sharing, Native Excel Exports, App
>>> Integration & more Get technology previously reserved for
>>> billion-dollar corporations, FREE
>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg
>>> .clktrk
>>>
>>>
>>>
>>>
>>> ___
>>> 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
>>>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, 
> sponsored by Intel and developed in partnership with Slashdot Media, is your 
> hub for all things parallel software development, from weekly thought 
> leadership blogs to news, videos, case studies, tutorials and more. Take a 
> look and join the conversat

Re: [Dspace-tech] Shibboleth login on DSpace 4.2

2015-02-27 Thread George Stanley Kozak
Tim:

Not a problem.  I'm still struggling getting Shibboleth to work, but if I 
figure it out, I will let everyone know what I found out (it's probably just a 
simple configuration problem).

-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: Thursday, February 26, 2015 4:43 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Shibboleth login on DSpace 4.2

Hi George,

Apologies, I just responded to the wrong thread. :) This was meant for someone 
else, as you are obviously using Shibboleth authentication.

- Tim

On 2/26/2015 3:39 PM, Tim Donohue wrote:
> Hi George,
>
> Sorry for the delayed response. This issue sounds very similar to this bug:
>
> https://jira.duraspace.org/browse/DS-2421
>
> Simply put, I'm fairly certain the LDAPAuthentication plugin is not 
> working correctly *unless* you configure either:
>
> "search.anonymous=true"
>
> OR specify both:
>
> "search.user" and "search.password"
>
> These are all in the authentication-ldap.cfg configuration file.
>
> I'm still searching out a volunteer to help resolve this bug in the 
> code. Unfortunately, I don't have an LDAP locally that I can easily 
> test against.
>
> - Tim
>
> On 2/23/2015 1:47 PM, George Stanley Kozak wrote:
>> Hi...
>>
>> I'm trying to implement the Shibboleth Login as an option on my 
>> DSpace V. 4.2 XMLUI system.
>>
>> I am getting the proper login screen, but after logging in, I get 
>> "Authentication Failed"
>>
>> In the DSPace logs, I see:
>>
>> ERROR org.dspace.authenticate.ShibAuthentication @ Shibboleth 
>> authentication was not able to find a NetId, Email, or Tomcat Remote 
>> user for which to indentify a user from.
>>
>> ERROR org.dspace.authenticate.ShibAuthentication @ Unable to register 
>> new eperson because we are unable to find an email address along with 
>> first and last name for the user.
>>
>>NetId Header: 'SHIB-NETID'='null' (Optional)
>>
>>Email Header: 'SHIB-MAIL'='null'
>>
>>First Name Header: 'SHIB-GIVENNAME'='null'
>>
>>Last Name Header: 'SHIB-SURNAME'='null'
>>
>> I'm trying to debug that now.  I am wondering if I have the entityID 
>> and homeURL set correctly in my shibboleth2.xml file.
>>
>> What is the recommended settings for these values if one is using a 
>> DSpace installation?
>>
>> Thank  you in advance for any help or suggestions.
>>
>> George Kozak
>>
>> Digital Library Specialist
>>
>> Cornell University Library Information Technologies (CUL-IT)
>>
>> 218 Olin Library
>>
>> Cornell University
>>
>> Ithaca, NY 14853
>>
>> 607-255-8924
>>
>>
>>
>> -
>> -
>>
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server 
>> from Actuate! Instantly Supercharge Your Business Reports and 
>> Dashboards with Interactivity, Sharing, Native Excel Exports, App 
>> Integration & more Get technology previously reserved for 
>> billion-dollar corporations, FREE 
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg
>> .clktrk
>>
>>
>>
>>
>> ___
>> 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
>>

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] main servlet for url pattern: dspaceurl.com/*

2015-02-27 Thread Tim Donohue
Hi Pablo,

For the JSPUI, you'd want to look in the JSPUI's web.xml. It is what 
matches various URL paths and defines which Java Servlet will respond to 
the request:

https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/webapp/WEB-INF/web.xml

- Tim

On 2/27/2015 4:11 AM, Pablo Buenaposada wrote:
> shit, i'm using jspui, seems that sitemap.xmap is not found in jspui
> resources.
>
>
>
> --
> View this message in context: 
> http://dspace.2283337.n4.nabble.com/main-servlet-for-url-pattern-dspaceurl-com-tp4676559p4676814.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> 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
>

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] TOR SQL injection attack

2015-02-27 Thread Tim Donohue
Hi Contanio,

Newer versions of DSpace (4.x or above) now use Apache Solr for all 
browse and search interfaces (instead of direct database access for 
browsing). This means that such a SQL injection attack would no longer 
be possible (since the browse interface never even executes SQL, it 
simply queries the Solr indexes).

I should also mention that, per our DSpace Software Support Policy [1], 
all DSpace 1.x.x versions (including 1.8.3 and below) are "End of Life" 
(EOL). This means that, while we'll do our best to still help answer 
questions for 1.x.x versions, we no longer directly support or patch 
these older versions.

Therefore, we do recommend upgrading to either 3.4, 4.3 or 5.1 (which 
are all still under support). These releases also patch several other 
security vulnerabilities recently discovered (see the release notes for 
each):

* 5.1 Release Notes: 
https://wiki.duraspace.org/display/DSDOC5x/Release+Notes
* 4.3 Release Notes: 
https://wiki.duraspace.org/display/DSDOC4x/Release+Notes
* 3.4 Release Notes: 
https://wiki.duraspace.org/display/DSPACE/DSpace+Release+3.4+Notes

Finally, if you are considering upgrading, please note that DSpace 5 now 
includes an easier upgrade process. It will automatically 
upgrade/migrate your existing data  (i.e. database contents, 
search/browse indexes) from any prior version of DSpace (1.x.x, 3.x or 4.x).

Good luck,

Tim

[1] DSpace Software Support Policy: 
https://wiki.duraspace.org/display/DSPACE/DSpace+Software+Support+Policy

On 2/27/2015 3:55 AM, cotanio wrote:
> Hi everyone,
>
> We have recently received attempts to compromise the security of our
> repository DSpace (v 1.6.2) via SQL Injection attacks using TOR. We have
> seen access to:
>
> [dspace_url]/browse
>
> Some hosts are:
>
> tor-exit-node.7by7.de
> tor-exit.mensrea.org
> tor2.t-3.net
> ..
>
> Have you been attacked by this or similar type? Is there a patch or newer
> versions of DSpace that solve this problem?
>
> Thanks in advance,
>
> A greeting.
>
>
>
> --
> View this message in context: 
> http://dspace.2283337.n4.nabble.com/TOR-SQL-injection-attack-tp4676813.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> 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
>

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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


[Dspace-tech] Changing the community/collection name

2015-02-27 Thread Anja Radoicic

Hi,

I have a question regarding one community/collection view. Can anyone 
tell me the name of the XSL file where I can change the way the title is 
neing written? I went through most of the files and I dont see the part 
where the title can be changed.


For example in demo, it would be "The scramble for and Partition of 
Africa" in this page: http://demo.dspace.org/xmlui/handle/10673/22.


Thanks ahead,
Anja



smime.p7s
Description: S/MIME Cryptographic Signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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] Manakin, collection name

2015-02-27 Thread Anja Radoicic

Hi,

Thank you, it does make sense :), I will try that now.

Thanks again,
Anja

On 2/27/2015 1:56 AM, Andrea Schweer wrote:

Hi,

On 27/02/15 01:16, Anja Radoicic wrote:
This helps me save the trail variable. Now I have to somehow acces 
the fourth or fifth element of the trail. Is there a way to do that?


Also, this is just a workaround to access the collection name. Is 
there another way that you would suggest to get to a collection name 
or community name from xsl file?


There is, it's just one more step. Look at this item here, on the demo 
server: http://demo.dspace.org/xmlui/handle/10673/93
Add ?XML to look at the XML, like you did for the trail: 
http://demo.dspace.org/xmlui/handle/10673/93?XML

Then look at this section here:

|id="aspect.artifactbrowser.ItemViewer.referenceSet.collection-viewer" 
type="summaryView" n="collection-viewer">
url="/metadata/handle/10673/93/mets.xml">


url="/metadata/handle/10673/22/mets.xml"/>



||
|
The hierarchy tells you which collection this item is in. It gives you 
the link to the collection's mets.xml. So have a look at that one 
http://demo.dspace.org/xmlui//metadata/handle/10673/22/mets.xml and 
you will see the title here:
The scramble for and 
Partition of Africa


Now, to put this all together -- in the same spot where you are 
assigning the trail to a variable, instead do this:

obtain the URL of the collection's mets.xml file from the snippet above
load that mets file via the XSL document function 
(http://www.w3schools.com/xsl/func_document.asp)
from the loaded document, select the title metadata (and/or whatever 
else you want, eg identifier for the link).


then assign _that_ to a variable and pass it into item-view.xsl

I hope this makes sense, I don't have time to go into more detail 
right now, sorry.


cheers,
Andrea

--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand




smime.p7s
Description: S/MIME Cryptographic Signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
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

[Dspace-tech] browse list with contains option not starts_with

2015-02-27 Thread Pablo Buenaposada
Hi,
In browse itemlist (/browse?type=title) you have an input for search items
starting with the string you want.
What about if you want to search an item containing that string not starting
with? is it possible?

Thanks.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/browse-list-with-contains-option-not-starts-with-tp4676815.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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] main servlet for url pattern: dspaceurl.com/*

2015-02-27 Thread Pablo Buenaposada
shit, i'm using jspui, seems that sitemap.xmap is not found in jspui
resources.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/main-servlet-for-url-pattern-dspaceurl-com-tp4676559p4676814.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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


[Dspace-tech] Want to implement advanced search with more than one same type filter at a time in dspace 4.x XMLUI

2015-02-27 Thread Susmita
 

I am using dspace 4.x XMLUI version. I want to add advanced search box in
dspace like above,where we can search items of more than one "Type of
Learning Material" at a time. For this purpose we have to generate 'OR'
query. In dspace 4.x version,when we are searching using filter,a URL is
generating in address bar,where all query filter is added using '&'. But in
this case we have to generate two types of conjunction(&,OR). But I can't
understand how to do it? I just find one clue that there has a file
AdvancedSearch.java , where conjunctions are defined. But how can i
implement this? Please help.




--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Want-to-implement-advanced-search-with-more-than-one-same-type-filter-at-a-time-in-dspace-4-x-XMLUI-tp4676812.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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


[Dspace-tech] TOR SQL injection attack

2015-02-27 Thread cotanio
Hi everyone,

We have recently received attempts to compromise the security of our
repository DSpace (v 1.6.2) via SQL Injection attacks using TOR. We have
seen access to:

[dspace_url]/browse

Some hosts are:

tor-exit-node.7by7.de
tor-exit.mensrea.org
tor2.t-3.net
..

Have you been attacked by this or similar type? Is there a patch or newer
versions of DSpace that solve this problem?

Thanks in advance,

A greeting.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/TOR-SQL-injection-attack-tp4676813.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
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