[Dspace-tech] Fwd: DSpace configuration with LDAP
-- Forwarded message -- From: Dr. Ahmad Al-Zubi dralz...@gmail.com Date: Fri, Jun 5, 2009 at 11:15 PM Subject: DSpace configuration with LDAP To: DSpace-tech@lists.sourceforge.net Hello everybody, So sorry for resending this messege again, but I need you assistance urgently, so plz try to help me ASAP thank you in advance I am Dr Ahmad Al-Zubi dspace project manager at King Saud University sorry for resending the same messege, but I'm sending it now as a subscriber so plz assist if you can, We have succesfully installed Dspace 151 and we are trying to do ldap authentication aginst AD Our ldap directory contains users with their cn and under user's cn there are attributes(sAMAccountName, mailNickNamme,sn,pwd, mailadress,) Our ldap tree contains users like, DN (CN = Ahmad Ali Al-Zubi,OU=Regular Users,OU=KSU-USERS,DC=KSU,DC=LOCAL) Attribute: mailaddress [EMAIL PROTECTED] Attribute: sAMAccountName=aalzubi Attribute: mailNickname=aalzubi Attribute: pwd= Attribute: givenname = ( . ) Attribute: when i am trying to setup the LDAP authentication the olny way it works, is giving in dspace.cfg in LDAP authentications settings, ldap.id_field = cn so on in dsapce login page i have to write in the field Username or Email address:Ahmad Ali Al-Zubi as you see this the full name (display name) and I want people to sign in with their usernames not full name (sAMAccountName, or mailNickName) (the full cn, with email or uid it doesnt works.) How can i define ldap.id_field in order to do authentication using username or mailladrees(attributes of every user's CN). I would be very gratefull if you could help me. -- Best Regards Dr Ahmad Al-Zubi KSU Repository Project Manager King Saud University Saudi Arabia -- Best Regards Dr Ahmad Al-Zubi KSU Repository Project Manager King Saud University Saudi Arabia -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Displaying bitstream description
Hi John - You may be able to get at the file description by using this expression: mets:floc...@loctype='URL']/@xlink:label wherever you were using @SIZE to get the filesize. Here's an example: xsl:if test=mets:floc...@loctype='URL']/@xlink:label xsl:value-of select=mets:floc...@loctype='URL']/@xlink:label / /xsl:if Try this out and let us know. You can often figure this sort of thing out by looking at the mets.xml document for an item and then playing around until you get the correct expression. Here's xml for an item with files and associated descriptions: http://drcdev.ohiolink.edu/metadata/handle/123456789/1574/mets.xml -- Keith Gilbertson Systems Developer OhioLINK John Preston wrote: I'm trying out manakin and want to be able to display the bitstream description instead of format in the file list. I have everything I need copied into my theme, but I can't seem to figure out what I should use to get atb the description field. I see where @SIZE is size, @MIMETYPE is mimetype, etc, but @DESCRIPTION does not seem to work. John -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Displaying bitstream description
Hi John, This has been included for DSpace 1.6. See http://scm.dspace.org/trac/dspace/changeset/3758 for details, and the code changes required. Thanks, Stuart Lewis Digital Services Programmer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz http://www.library.auckland.ac.nz/ / From: John Preston [mailto:byhisde...@gmail.com] Sent: Sunday, 7 June 2009 12:49 p.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Displaying bitstream description I'm trying out manakin and want to be able to display the bitstream description instead of format in the file list. I have everything I need copied into my theme, but I can't seem to figure out what I should use to get atb the description field. I see where @SIZE is size, @MIMETYPE is mimetype, etc, but @DESCRIPTION does not seem to work. John -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Producing mets.xml for SWORD
Hi Mika, I don't know what framework / language / environment you want to use this in, but the SWORD PHP library (http://php.swordapp.org/) contains a METS packager. It works as follows: require('packager_mets_swap.php'); // Create a new package with the root and directory of the input files, and the root and directory of the created package $package = new PackagerMetsSwap($rootin, $dirin, $rootout, $fileout); // Add metadata to the package $package-setType($test_type); $package-setTitle($title); $package-setAbstract($abstract); foreach ($creators as $creator) { $package-addCreator($creator); } // Add a file to the package $package-addFile($filename, $mimetype); // Now deposit the package require(swordappclient.php); $sac = new SWORDAPPClient(); $dr = $sac-deposit($depositurl, $username, $password, $onbehalfof, $filename, $packageformat, $pacakgecontenttype); I've been thinking of writing a web service front end to this, to make a packaging service (POST metadata and files, and it returns a package), or to make a deposit proxy service (POST metadata and files, SWORD deposit target and authentication details, and it will make the package and deposit it). If you think this might be a useful service, get in touch. Thanks, Stuart Lewis Digital Services Programmer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -Original Message- From: mikan.d.dspace listmail [mailto:mikan.dsp...@gmail.com] Sent: Friday, 5 June 2009 9:25 p.m. To: Dspace Tech Subject: [Dspace-tech] Producing mets.xml for SWORD Im hoping to use SWORD in order to deposit items to DSpace. What would be the best way to produce mets-metadata for the items to be submitted? Should I write the entire metadata file myself or is there templates / frameworks available for this? Thanks, Mika -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem enabling feedback in DSpace
Hi Reina, This redirect occurs if one of two pre-conditions fails (to help stop spammers): 1) The setting of dspace.hostname in dspace.cfg does not match the URL you are using 2) You link directly to the feedback page, rather than visiting it via another DSpace page. DSpace checks that the referrer (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.36) of the feedback form request is another page in your repository. See [dspace-src]/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/ webui/servlet/FeedbackServlet.java for full details. I hope that helps, Stuart Lewis Digital Services Programmer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz http://www.library.auckland.ac.nz/ / From: Reina Camacho [mailto:rcamach...@gmail.com] Sent: Saturday, 6 June 2009 5:08 a.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Problem enabling feedback in DSpace What I have to do to enable the feedback option in DSpace When I try to sends a comment, dspace sends me to the authorization page and I don't why. Please could you help me? -- Reina Camacho -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech