Re: [Dspace-tech] LDAP settings
You shouldn't need to escape the values at all. Commas are fine, and quite normal in LDAP configurations. Check using a tool such as http://jxplorer.org/ that you can log in to the LDAP server with those credentials. Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 On 3/09/2010, at 5:42 AM, Flavio Botelho wrote: > Please post any errors in the log that are appearing? > > But I will take a wild guess that there might be problems with > escaping, you might need to use 2 backslashes instead of just 1 for > each comma... > > On Thu, Sep 2, 2010 at 9:18 AM, Webshet, Sisay (ILRI) > wrote: >> >> >> Hi, >> >> >> >> Support >> >> >> >> I login to our local LDAP server using the following settings, but cannot >> login. I can search users name >> >> account using sAMAccountName attribute. >> >> >> >> >> >> Host ILRI.CGIARAD.ORG >> >> >> >> >> >> base DN DC=ILRI,DC=CGIARAD,DC=ORG >> >> >> >> Bind DN(entry DN) CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia >> Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG >> >> >> >> >> >> >> >> What will be the setting in dspace.cfg ( dspace 1.5.2 on debian ) >> >> if something is wrong please correct me.i can't login to dspace using LADP. >> >> >> >> ldap.provider_url = ldap://ILRI.CGIARAD.ORG/ >> >> >> >> ldap.id_field = sAMAccountName >> >> >> >> ldap.object_context = OU=ILRI Ethiopia Employees,OU=ILRI >> Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG >> >> >> >> ldap.search_context = OU=ILRI Ethiopia Employees,OU=ILRI >> Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG >> >> >> >> ldap.email_field = mail >> >> >> >> ldap.surname_field = sn >> >> >> >> ldap.givenname_field = givenName >> >> >> >> ldap.phone_field = telephoneNumber >> >> >> >> >> >> Hierarchical LDAP Settings # >> >> >> >> # If your users are spread out across a hierarchical tree on your >> >> # LDAP server, you will need to use the following stackable authentication >> >> class: >> >> plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ >> >> org.dspace.authenticate.LDAPHierarchicalAuthentication >> >> >> >> # object scope : 0 >> >> # one level scope : 1 >> >> # subtree scope : 2 >> >> ldap.search_scope = 2 >> >> >> >> >> >> #ldap.search.user = cn=admin,ou=people,o=myu.edu >> >> ldap.search.user = CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia >> Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG >> >> ldap.search.password = * >> >> >> >> >> >> >> >> -- >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> ___ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> >> > > -- > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] ant fresh_install fails oracle and solaris
I have tried to trace the fault in ant's failure to build on Solaris 10 and Oracle 10. Below is what seems to be the fatal error and the code from build.xml that is failing. dublin-core-types.xml, sword-metadata.xml, and bitstreams-formats.xml are all in /dspace/config/registries where they belong. Please help. Marvin Weaver load_registries: [java] 2010-09-02 16:28:18,446 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): /dspacehome/dspace-1.6.2-src-release/dspace/config/dspace.cfg [java] 2010-09-02 16:28:18,512 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config) [java] 2010-09-02 16:28:20,528 FATAL org.dspace.administer.RegistryLoader @ anonymous::error_loading_registries: [java] java.lang.NullPointerException [java] at org.dspace.storage.rdbms.TableRow.canonicalize(TableRow.java:674) [java] at org.dspace.storage.rdbms.TableRow.hasColumn(TableRow.java:110) [java] at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:507) [java] at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:713) [java] at org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:490) [java] at org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:419) [java] at org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java [java] :202) [java] at org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:168) [java] at org.dspace.administer.RegistryLoader.main(RegistryLoader.java:105) [java] Error: [java] - null BUILD FAILED /dspacehome/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir/build.xml:663: Java returned: 1 Which seems to be being caused by this part of build.xml: -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] LDAP settings
Please post any errors in the log that are appearing? But I will take a wild guess that there might be problems with escaping, you might need to use 2 backslashes instead of just 1 for each comma... On Thu, Sep 2, 2010 at 9:18 AM, Webshet, Sisay (ILRI) wrote: > > > Hi, > > > > Support > > > > I login to our local LDAP server using the following settings, but cannot > login. I can search users name > > account using sAMAccountName attribute. > > > > > > Host ILRI.CGIARAD.ORG > > > > > > base DN DC=ILRI,DC=CGIARAD,DC=ORG > > > > Bind DN(entry DN) CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia > Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG > > > > > > > > What will be the setting in dspace.cfg ( dspace 1.5.2 on debian ) > > if something is wrong please correct me.i can't login to dspace using LADP. > > > > ldap.provider_url = ldap://ILRI.CGIARAD.ORG/ > > > > ldap.id_field = sAMAccountName > > > > ldap.object_context = OU=ILRI Ethiopia Employees,OU=ILRI > Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG > > > > ldap.search_context = OU=ILRI Ethiopia Employees,OU=ILRI > Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG > > > > ldap.email_field = mail > > > > ldap.surname_field = sn > > > > ldap.givenname_field = givenName > > > > ldap.phone_field = telephoneNumber > > > > > > Hierarchical LDAP Settings # > > > > # If your users are spread out across a hierarchical tree on your > > # LDAP server, you will need to use the following stackable authentication > > class: > > plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ > > org.dspace.authenticate.LDAPHierarchicalAuthentication > > > > # object scope : 0 > > # one level scope : 1 > > # subtree scope : 2 > > ldap.search_scope = 2 > > > > > > #ldap.search.user = cn=admin,ou=people,o=myu.edu > > ldap.search.user = CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia > Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG > > ldap.search.password = * > > > > > > > > -- > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Import LDAP users and groups
> Does anyone have any experience with 'special groups' before I dive-in? Hi, I posted this yesterday, but it bears repeating, the Shibboleth authentication plugin has an expanded getSpecialGroups function, so it might be a good place to go for ideas on expanding the LDAP authentication plugin. All of these plugins are in [dspace-src]/dspace-api/src/main/java/org/dspace/authenticate/. --Hardy -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Import LDAP users and groups
Thanks for the feedback. I have auto enroll setup and it work just fine. I'm going to look at the special groups in detail. Does anyone have any experience with 'special groups' before I dive-in? Anthony Avarca aava...@anl.gov 630.252.4940 On Wed, Sep 1, 2010 at 2:04 PM, Stuart Lewis wrote: > Hi Anthony, > >> I'm in the process of implementing dspace for a prof-of-concept >> project. Is it possible to import (auto enroll) a batch of eperson and >> groups? I will like to import 30+ users and 10+ groups from LDAP. > > It isn't possible to import users from LDAP, however DSpace has an ability to > create user accounts automatically the first time they log in via LDAP. This > is from the config file: > > # This will turn LDAP autoregistration on or off. With this > # on, a new EPerson object will be created for any user who > # successfully authenticates against the LDAP server when they > # first login. With this setting off, the user > # must first register to get an EPerson object by > # entering their ldap username and password and filling out > # the forms. > webui.ldap.autoregister = true > > This may help you achieve what you need. For groups, it is possible to extend > the 'special groups' functionality that allows users to be added to groups > dynamically each time they are log on. This could be based on LDAP group > membership, and if someone were to create a patch that enables this, I'm sure > it would make an excellent addition to DSpace. > > Thanks, > > > Stuart Lewis > IT Innovations Analyst and Developer > Te Tumu Herenga The University of Auckland Library > Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand > Ph: +64 (0)9 373 7599 x81928 > > -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Search result configuration
Hi everybody I have the requeriment to present in search results (or after browsing by author, subject and so on) one icon identifying the digital object that is associated with metadata. In the same way that is presented at: http://orbi.ulg.ac.be/browse?type=title I'm using XMLUI, I understand that should touch some XSL to show icons, somebody could share an example to acomplish this requeriment? Regards and thanks Germán -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] LDAP settings
Hi, Support I login to our local LDAP server using the following settings, but cannot login. I can search users name account using sAMAccountName attribute. Host ILRI.CGIARAD.ORG base DN DC=ILRI,DC=CGIARAD,DC=ORG Bind DN(entry DN) CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG What will be the setting in dspace.cfg ( dspace 1.5.2 on debian ) if something is wrong please correct me.i can't login to dspace using LADP. ldap.provider_url = ldap://ILRI.CGIARAD.ORG/ ldap.id_field = sAMAccountName ldap.object_context = OU=ILRI Ethiopia Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG ldap.search_context = OU=ILRI Ethiopia Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG ldap.email_field = mail ldap.surname_field = sn ldap.givenname_field = givenName ldap.phone_field = telephoneNumber Hierarchical LDAP Settings # # If your users are spread out across a hierarchical tree on your # LDAP server, you will need to use the following stackable authentication class: plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.LDAPHierarchicalAuthentication # object scope : 0 # one level scope : 1 # subtree scope : 2 ldap.search_scope = 2 #ldap.search.user = cn=admin,ou=people,o=myu.edu ldap.search.user = CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG ldap.search.password = * -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] List of months
Hello Joan, could you be more precise, to which list of months you are referring. Usually there is no need to translate them, in the sense as to put a key in the message catalogue. Take a look at org.dspace.content.DCDate getMonthName(int m, Locale locale) Hope that helps Claudia Jürgen Am 01.09.2010 17:48, schrieb Joan Caparros: > Hi, I'm using the last version of DSpace (1.6.2) an I want to translate > the list of months too. Has anyone got it? > > Regards Joan > > -- > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech