[Dspace-tech] LDAP registration

2015-08-20 Thread Jeffrey A Trimble
We have two different versions of DSpace running (1.6 -yeah it's old) and 4.0 When logging on via LDAP authentication, the authoregister captures the email correctly on the 1.6 version of dspace (jasm...@ysu.edu) and on the 4.0 version it is captureing it as jasmith. Both have the exact same

Re: [Dspace-tech] LDAP registration

2015-08-20 Thread Tim Donohue
Hi Jeff, This sounds like this bug which exists in DSpace 3.x and 4.x, but was fixed in DSpace 5.0 https://jira.duraspace.org/browse/DS-1781 There is a workaround listed in the comments of that ticket though where you configure the netid_email_domain setting to append the correct email

[Dspace-tech] ldap login

2015-06-26 Thread Saidy Binta
Hi , Please can someone help, I use Ldap for login on my institutional repository. I keep getting the error went anyone login to the site. The Error message is * The user name and/or password supplied were not valid. The error the dspace log message is as follows: 2015-06-26 12:09:20,632

Re: [Dspace-tech] ldap login

2015-06-26 Thread alastair.duncan
Can you bind to or search to the ldap server with your username from an ldap client other than the one in DSpace? Alastair From: Saidy Binta [mailto:bisa...@mrc.gm] Sent: 26 June 2015 13:16 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] ldap login Hi , Please can someone help

Re: [Dspace-tech] ldap login

2015-06-26 Thread Hilton Gibson
Hi Saidy, The error is the result of a bad Base DN' call by DSpace. See: http://stackoverflow.com/questions/16999627/ldap-server-which-is-my-base-dn This can be deduced from the following error in the log file: *3F:ip_addr=0:0:0:0:0:0:0:1:failed_login:no DN found for user bisaidy* Our

Re: [Dspace-tech] ldap login

2015-06-26 Thread Saidy Binta
Thanks a lot. I will check the links and hopefully see if it will work. Regards Binta From: Hilton Gibson [mailto:hilton.gib...@gmail.com] Sent: 26 June 2015 13:10 To: Saidy Binta Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] ldap login Hi Saidy, The error is the result

[Dspace-tech] ldap configuration

2015-06-21 Thread Saidy Binta
Hi all, [cid:image001.png@01D0AC27.92F20160] Please I want to use LDAP on my institutional repository but I keep having the error. When I click on the provider_url and when I rebuild dspace I just get a blank page. When I change from LDAP to password authentication it works fine. Kindly

[Dspace-tech] ldap configuration

2015-06-18 Thread Saidy Binta
Hi all, I am trying to use ldap login on dspace 5.1, but after rebuilding dspace. I just get a blank page. Please anyone access me. I don't know what is wrong and I attached the files. thanks DISCLAIMER: This message is private and confidential. If you have

Re: [Dspace-tech] ldap configuration

2015-06-18 Thread Saidy Binta
To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] ldap configuration Hi all, I am trying to use ldap login on dspace 5.1, but after rebuilding dspace. I just get a blank page. Please anyone access me. I don't know what is wrong and I attached the files

Re: [Dspace-tech] ldap configuration

2015-06-18 Thread alastair.duncan
...@mrc.gm] Sent: 18 June 2015 12:31 To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] ldap configuration Hi all, I am trying to use ldap login on dspace 5.1, but after rebuilding dspace. I just get a blank page. Please anyone access me. I don't know

Re: [Dspace-tech] ldap configuration

2015-06-18 Thread Hilton Gibson
...@mrc.gm] *Sent:* 18 June 2015 12:31 *To:* dspace-tech@lists.sourceforge.net *Subject:* [Dspace-tech] ldap configuration Hi all, I am trying to use ldap login on dspace 5.1, but after rebuilding dspace. I just get a blank page. Please anyone access me. I don’t know what is wrong and I attached

Re: [Dspace-tech] ldap configuration

2015-06-18 Thread Tim Donohue
Hi Saidy, A blank page likely means there's some error behind the scenes (possibly even unrelated to you LDAP configs). You should check your log files for any error messages reported there. Here's some tips on finding troubleshooting error messages in your logs:

[Dspace-tech] ldap configuration on windows

2015-06-15 Thread Saidy Binta
Hi everyone, I install dspace on my machine as a test instance for own institutional repository. I want to configure ldap login but it not working. Kindly help. Regards Binta DISCLAIMER: This message is private and confidential. If you have received this

Re: [Dspace-tech] LDAP auth doesn't send e-mails properly

2015-04-08 Thread Olivier Nicole
Xerio, We're running DSpace 4.1 along with the LDAP authentication system. This works well except LDAP doesn't seem to find the correct e-mail address for users. I think there is a patch to apply. You could have a look at: https://jira.duraspace.org/browse/DS-1781 Best regards, olivier In

Re: [Dspace-tech] LDAP auth doesn't send e-mails properly

2015-04-08 Thread Xerio Cheri
Seems to work. Thank you so much! 2015-04-08 9:04 GMT+01:00 Olivier Nicole olivier.nic...@cs.ait.ac.th: Xerio, We're running DSpace 4.1 along with the LDAP authentication system. This works well except LDAP doesn't seem to find the correct e-mail address for users. I think there is a

[Dspace-tech] LDAP auth doesn't send e-mails properly

2015-04-08 Thread Xerio Cheri
Hi, We're running DSpace 4.1 along with the LDAP authentication system. This works well except LDAP doesn't seem to find the correct e-mail address for users. In config/modules/authentication-ldap.cfg we have: provider_usr = ldap://ldapserver id_field = uid object_context =

[Dspace-tech] LDAP authentication mail attribute issue

2015-02-09 Thread Hakan Yanaz
Hi, I am using LDAP authentication for autoregister. DSpace can communicate with LDAP server and get mail value independently. When I configure ldap to match email_field = mail, it doesn't work. However, it is working as phone_field = mail. I can not understand and find any post related to

Re: [Dspace-tech] LDAP authentication mail attribute issue

2015-02-09 Thread Olivier Nicole
Hi, I am using LDAP authentication for autoregister. DSpace can communicate with LDAP server and get mail value independently. When I configure ldap to match email_field = mail, it doesn't work. However, it is working as phone_field = mail. I can not understand and find any post related

Re: [Dspace-tech] LDAP autoregister

2015-01-25 Thread Olivier Nicole
Thanks Tim, Also, since you are copying these changes to your [dspace-source]/dspace-api/src/main/java/dspace/authenticate/ directory, you MUST be sure to run mvn -U clean package from [dspace-source] (which recompiles EVERYTHING) and NOT from [dspace-source]/dspace/ (which only

Re: [Dspace-tech] LDAP autoregister

2015-01-23 Thread Tim Donohue
Olivier, Yes, that process sounds correct. To be clear though, here are the changes that should be in your LDAPAuthentication class to fix DS-1781: https://github.com/DSpace/DSpace/pull/663/files So, if you don't see those changes in your

Re: [Dspace-tech] LDAP autoregister

2015-01-22 Thread Olivier Nicole
Hi, OK, I have some answers but it raises much more questions. enable = true autoregister = true provider_url = ldaps://ldap.cs.ait.ac.th/ id_field = uid object_context = ou=People,ou=csim,dc=cs,dc=ait,dc=ac,dc=th # search_context = ou=People email_field = mail It stubornedly refuses to

Re: [Dspace-tech] LDAP autoregister

2015-01-22 Thread Oliver Goldschmidt
Olivier, I only have answers to a couple of your questions, but perhaps that helps a little bit... First: I have the same situation here. Authentication against LDAP works, but the data is not collected correctly from the LDAPserver. All I get is a local entry with the netid, but nothing else

Re: [Dspace-tech] LDAP autoregister

2015-01-22 Thread Olivier Nicole
Thank you Tim, Just skimming your configuration, it looks like, based on the DSpace LDAP Documentation you have a slightly odd combination of configs. I'm not sure which version of DSpace you are using though, so I'm assuming this might be 4.x: 4.2

[Dspace-tech] LDAP autoregister

2015-01-20 Thread Olivier Nicole
Olivier Nicole olivier.nic...@cs.ait.ac.th writes: Hi, Allow-me to repost my question because it got no answer, I am adraid it was lost in the limbo of the mailinglist. I am trying to understand how to configure LDAP to properly autoregister. When I try to connect with an LDAP account, the

[Dspace-tech] LDAP autoregister

2015-01-14 Thread Olivier Nicole
Hi, I am trying to understand how to configure LDAP to properly autoregister. When I try to connect with an LDAP account, the e-person is created but the profile is empty (no name, no proepr email, etc.). I had a look at the log of my LDAP server and all I can see is the following: Jan 15

[Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Nada Abo-Eita
Dear DSpace community, I want any user log in to dspace to be member of the students group (Note that this group is already created on dspace). So to do that, I changed the login.specialgroup to Students in authentication-ldap.cfg and then restart tomcat. But it doesn't work with me. Can someone

Re: [Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread helix84
I already answered your question here: http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html Can you specify what exactly doesn't seem to work? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette

Re: [Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Nada Abo-Eita
Hi helix, I did exactly what you mentioned here http://dspace.2283337.n4.nabble.com/Adding-e-people-into-groups-automatically-td4675556.html Based on my changes if any user log in to dspace then they should become a member of the specified group in login.specialgroup property in my case

Re: [Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Hilton Gibson
Hi All When using LDAP auth, does membership rely on the auto-register config setting? Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646

Re: [Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread Hilton Gibson
Hi Helix So this all depends on the quality of the metadata in the LDAP tree/server. Is it possible to map an LDAP filter to a group in DSpace? Assuming you only have one LDAP server to refer to, not a separate staff and student LDAP server, just one. Cheers hg *Hilton Gibson* Ubuntu Linux

Re: [Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread helix84
On Wed, Jan 7, 2015 at 1:33 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Is it possible to map an LDAP filter to a group in DSpace? Yes, both a filter and an attribute: https://github.com/DSpace/DSpace/blob/dspace-5.0-rc3/dspace/config/modules/authentication-ldap.cfg#L150-168 Assuming you

Re: [Dspace-tech] LDAP Authentication - login.specialgroup property

2015-01-07 Thread helix84
On Wed, Jan 7, 2015 at 1:56 PM, helix84 heli...@centrum.sk wrote: On Wed, Jan 7, 2015 at 1:33 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Is it possible to map an LDAP filter to a group in DSpace? Yes, both a filter and an attribute:

Re: [Dspace-tech] Ldap settings

2014-09-09 Thread helix84
Hi Satish, You probably don't intend to use netid_email_domain (there is an alternative configuration where you might want to use it, but I don't think it will work in what you wrote). Additionally, you specified search.password, but not search.user, this is clearly wrong. id_field is what is

[Dspace-tech] Ldap settings

2014-09-08 Thread Satish Kumar
Hello everybody, I require help in configuring ldap settings, i am using DSpace 4.2, my configurations are enable = true autoregister = false id_field = sAMAccountName object_context = dc=example, dc=com

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread Stefanie Behnke
Behnke Cc: dspace-tech Betreff: Re: AW: [Dspace-tech] Ldap Authentification and profile Hi Stefanie, as you can see, I don't have a solution for you right now, sorry about that. But if either of the LDAP modules in 1.8 worked for you, you can still use it with DSpace 3 and 4 (along with its

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread helix84
On Fri, Feb 28, 2014 at 12:33 PM, Stefanie Behnke s.beh...@online.de wrote: I have used the LDAP modules from 1.8, but that is also not working in the way I would expect. Can you be more specific? The conversation is long and it's becoming hard to follow. Which one of the modules are you using

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread Stefanie Behnke
: AW: [Dspace-tech] Ldap Authentification and profile On Fri, Feb 28, 2014 at 12:33 PM, Stefanie Behnke s.beh...@online.de wrote: I have used the LDAP modules from 1.8, but that is also not working in the way I would expect. Can you be more specific? The conversation is long and it's becoming

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread helix84
On Fri, Feb 28, 2014 at 3:23 PM, Stefanie Behnke s.beh...@online.de wrote: -- the autoregistered eperson has none of the fields: email_field, surname_field, givenname_field, phone_field Does the eperson have the right in LDAP to access their own attributes? Because DSpace will attempt to

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread Oscar Sanchez Gomez
  Apdo Postal:  159-7050 -Mensaje original- De: helix84 [mailto:heli...@centrum.sk] Enviado el: viernes, 28 de febrero de 2014 08:36 a.m. Para: Stefanie Behnke CC: dspace-tech Asunto: Re: [Dspace-tech] Ldap Authentification and profile On Fri, Feb 28, 2014 at 3:23 PM, Stefanie Behnke s.beh

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread helix84
On Fri, Feb 28, 2014 at 4:02 PM, Oscar Sanchez Gomez osanc...@itcr.ac.cr wrote: I don't know if the eperson have rights to access their own attributes because the security server y administrated by other IT personnel in my Institution. You can check that using a tool like ldapsearch. Bind

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-24 Thread helix84
Hi Stefanie, as you can see, I don't have a solution for you right now, sorry about that. But if either of the LDAP modules in 1.8 worked for you, you can still use it with DSpace 3 and 4 (along with its corresponding configuration file from 1.8). The auth modules API hasn't changed since at

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-21 Thread Stefanie Behnke
: Donnerstag, 20. Februar 2014 22:44 An: Stefanie Behnke Cc: heli...@centrum.sk; 'dspace-tech' Betreff: Re: AW: [Dspace-tech] Ldap Authentification and profile The screenshot doesn;t show a user role field, in which case just leave the config changes out. the code should pick up mail, given name

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-20 Thread helix84
On Thu, Feb 20, 2014 at 11:41 AM, Stefanie Behnke s.beh...@online.de wrote: can you please tell me what I should use for especially my case as values: position_field = usydPersonEntitlement groupMapping_field = staff:access,enrolled:access I don't think you need to use these config options

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-20 Thread Keir Vaughan-Taylor
in advance Stefanie -Ursprüngliche Nachricht- Von: Keir Vaughan-Taylor [mailto:kei...@optusnet.com.au] Gesendet: Donnerstag, 20. Februar 2014 00:59 An: heli...@centrum.sk Cc: Stefanie Behnke; dspace-tech Betreff: Re: [Dspace-tech] Ldap Authentification and profile

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread Seun Ojedeji
: Montag, 10. Februar 2014 10:57 An: Stefanie Behnke Cc: dspace-tech Betreff: Re: [Dspace-tech] Ldap Authentification and profile Hi Stefanie, you can now just copy the file from here to your dspace-src: https://raw2.github.com/DSpace/DSpace/dspace-4_x/dspace-api/src/main/java/org/dspace

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread Stefanie Behnke
: heli...@centrum.sk; dspace-tech Betreff: Re: [Dspace-tech] Ldap Authentification and profile Hello, I am wodering how you were able to connect with ldap with the current setting in your ldap config file (search level no defined and the DN for the search user is commented out) Kindly confirm

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread helix84
Hi Stefanie, I tried reproducing the problem with nulls but couldn't, neither with flat nor hierarchical LDAP. The only thing that I see potentially wrong with your config is that you set email_field = mail, while it needs to be email_field = uid. This is an unfortunate assumption of the DSpace

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread Stefanie Behnke
: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] Im Auftrag von helix84 Gesendet: Mittwoch, 19. Februar 2014 13:41 An: Stefanie Behnke Cc: Seun Ojedeji; dspace-tech Betreff: Re: [Dspace-tech] Ldap Authentification and profile Hi Stefanie, I tried reproducing the problem with nulls but couldn't

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread helix84
On Wed, Feb 19, 2014 at 3:22 PM, Stefanie Behnke s.beh...@online.de wrote: It does work so far, although I am not really happy. OK, now I'm a bit lost. Can you tell me again what your problem was before you set email_field = uid and what your problem is now? You're testing in JSPUI, right? Can

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread Oscar Sanchez Gomez
-7050 -Mensaje original- De: helix84 [mailto:heli...@centrum.sk] Enviado el: miércoles, 19 de febrero de 2014 08:38 a.m. Para: Stefanie Behnke CC: dspace-tech Asunto: Re: [Dspace-tech] Ldap Authentification and profile On Wed, Feb 19, 2014 at 3:22 PM, Stefanie Behnke s.beh...@online.de wrote

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread helix84
The difference between AD and other LDAP servers is that AD uses an email address format for username, while others usually don't. In DSpace, this is configured using netid_email_domain (e.g. @netid_email_domain = example.com) which is then appended to netid (so in this case email is not taken

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread helix84
On Thu, Feb 20, 2014 at 12:58 AM, Keir Vaughan-Taylor kei...@optusnet.com.au wrote: It require two lines in /dspace/config/modules/authentication-ldap.cfg to be added. One line defining the ldap field that contains a users role and one line that allocates the user to a group based on what the

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-18 Thread Hilton Gibson
Cc: dspace-tech Betreff: Re: [Dspace-tech] Ldap Authentification and profile Hi Stefanie, you can now just copy the file from here to your dspace-src: https://raw2.github.com/DSpace/DSpace/dspace-4_x/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java

Re: [Dspace-tech] ldap authentication after upgrade 1.8 to 3.2

2014-02-14 Thread helix84
Hi Erik, what does your LDAP configuration look like? Which field do you use as the user identifier and do you use a suffix (@example.com)? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] ldap authentication after upgrade 1.8 to 3.2

2014-02-13 Thread Erik Guss
Hello, I upgraded from 1.8.2 to 3.2. The ldap new user registration was not working properly after the upgrade. A new user could authenticate, and was registered, but the ldap attributes would not populate (sn,givenname,mail). Existing users were unaffected. I was not using ldap-hierarchical, and

Re: [Dspace-tech] ldap authentication after upgrade 1.8 to 3.2

2014-02-13 Thread Hilton Gibson
Hi Erik I also had problems during an upgrade from 1.8.2 to 3.2 and have documented fixes here: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Upgrading/DSpace/Release_Notes/3.2 One of them was LDAP authentication. Regards *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-10 Thread Stefanie Behnke
...@gmail.com] Im Auftrag von helix84 Gesendet: Dienstag, 26. November 2013 17:02 An: Stefanie Behnke Cc: dspace-tech Betreff: Re: [Dspace-tech] Ldap Authentification and profile Hi Stefanie, yes, I submitted the fix in this Pull request: https://github.com/DSpace/DSpace/pull/366/files It is meant

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-10 Thread helix84
Hi Stefanie, you can now just copy the file from here to your dspace-src: https://raw2.github.com/DSpace/DSpace/dspace-4_x/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java Then rebuild and redeploy DSpace as usual (follow the docs if you're in doubt). Regards,

[Dspace-tech] LDAP authentication in Dspace 4.0

2014-01-28 Thread Oscar Sanchez Gomez
Hi all, Before Dspace 4.0, the LDAP authentication recognize the email account from the security server and use it as Dspace userid for persons. In Dspace 4.0 the LDAP authentication process create a new account with the id_field (sAMAccountName in Active Directory) in place of the email_field

Re: [Dspace-tech] Ldap Authentification and profile

2013-11-26 Thread helix84
Hi Stefanie, yes, I submitted the fix in this Pull request: https://github.com/DSpace/DSpace/pull/366/files It is meant to be merged for DSpace 4.0, but it seems nobody else reviewed it yet. If you want to to try it, it would help if you can report back that it worked, either in GitHub or in

Re: [Dspace-tech] Ldap Authentification and profile

2013-10-22 Thread helix84
Hi Stefanie, I'm sorry about that, it's a known bug. I'll try to make a fix later this week. For now, you can use the LDAPAuthentication or LDAPHierarchicalAuthentication class from DSpace 1.8 (along with authentication-ldap.cfg from 1.8). Regards, ~~helix84 Compulsory reading: DSpace Mailing

[Dspace-tech] Ldap Authentification and profile

2013-10-18 Thread Stefanie Behnke
Dear all, I have successfully logged in using the ldap authentification, but when I call „My DSpace“ all form fields are empty and there is no email field: I am using DSpace 3.1 and the jspui interface. Attached is the authentication-ldap.cfg file and the screenshot of the ldap entry.

Re: [Dspace-tech] LDAP auto-registration -- what am I missing?

2013-09-16 Thread Clive Gould
: Sun, 15 Sep 2013 23:14:29 +0200 From: helix84 heli...@centrum.sk Subject: Re: [Dspace-tech] LDAP auto-registration -- what am I missing? To: Andrew Reid andrew.r...@nist.gov Cc: dspace-tech dspace-tech@lists.sourceforge.net Message-ID: CAGdvKqjOx8oz95Zdi_duY90W909+kkDKGcVfUj

Re: [Dspace-tech] LDAP auto-registration -- what am I missing?

2013-09-16 Thread Reid, Andrew C.E.
I have a working fall-back, and can start tightening up the controls. From: Clive Gould cli...@gmail.com Sent: Monday, September 16, 2013 5:36 AM To: dspace-tech@lists.sourceforge.net Tech; Reid, Andrew C.E. Subject: Re: [Dspace-tech] LDAP auto-registration

Re: [Dspace-tech] LDAP auto-registration -- what am I missing?

2013-09-15 Thread helix84
On Fri, Sep 13, 2013 at 9:56 PM, Andrew Reid andrew.r...@nist.gov wrote: The fact that the authentication succeeds makes me think I'm not too far off. I don't think I've typo'd any of the field names on either side. Is there some subtlety in the permissions that I'm missing? Does this

[Dspace-tech] LDAP auto-registration -- what am I missing?

2013-09-13 Thread Andrew Reid
Hi again all -- I am having some difficulties with auto-registration of LDAP authenticated users. When I first sign in as a user who exists only in LDAP, most of the profile entries are wrong, and I can't figure out why. I thought it was probably permissions, but I have gotten to the

Re: [Dspace-tech] LDAP config - DS-1576?

2013-08-29 Thread Schuster, David
76204-5528 Phone: 940-898-3909 Fax: 940-898-3764 dschus...@twu.edu -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, August 28, 2013 2:57 AM To: Schuster, David Subject: Re: [Dspace-tech] LDAP config - DS-1576? On Wed, Aug 28

[Dspace-tech] LDAP config - DS-1576?

2013-08-27 Thread Schuster, David
Does this fix the problem where LDAP doesn't automatically assign people to a group as instructed in the authentication-LDAP configuration file? David Schuster Texas Woman's University Director of Library Information Technology Technical Support PO Box 425528 Denton TX 76204-5528 Phone:

Re: [Dspace-tech] LDAP config - DS-1576?

2013-08-27 Thread helix84
On Tue, Aug 27, 2013 at 11:17 PM, Schuster, David dschus...@mail.twu.edu wrote: Does this fix the problem where LDAP doesn’t automatically assign people to a group as instructed in the authentication-LDAP configuration file? No, DS-1576 fixes a problem where the right configuration property to

Re: [Dspace-tech] LDAP config - DS-1576?

2013-08-27 Thread Schuster, David
- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Tuesday, August 27, 2013 4:32 PM To: Schuster, David Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] LDAP config - DS-1576? On Tue, Aug 27, 2013 at 11:17 PM, Schuster, David dschus

Re: [Dspace-tech] Ldap 3.2 working except groups

2013-08-16 Thread Clive Gould
Hi David I'm pretty sure the special groups code is broken. It was definitely broken in 3.0 and I can't get it to work using the corrected code copied from 3.2 Clive Message: 1 Date: Thu, 15 Aug 2013 22:27:03 + From: Schuster, David dschus...@mail.twu.edu Subject: [Dspace-tech] Ldap 3.2

[Dspace-tech] Ldap 3.2 working except groups

2013-08-15 Thread Schuster, David
I have LDAP working now and it creates the accounts but is not putting the user in the group I have defined in the authenticate-ldap.cfg. Anyone else see that? -- Get 100% visibility into Java/.NET code with AppDynamics

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-07 Thread Clive Gould
Hi everyone I'm beginning to suspect the LDAP Special Groups code in DSpace 3.0 is broken Please see the scenarios below, which are excerpts from /home/dspace/config/modules/authentication-ldap.cfg Scenario 1 login.groupmap.1 = OU=StaffUsers:all-staff login.groupmap.2 =

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-07 Thread Clive Gould
Hi everyone I'm not a programmer as I said before but have just been scanning over the source code in LDAPAuthentication.java My concern is with the following lines Before we go into the while loop int i = 1; String groupMap = ConfigurationManager.getProperty(authentication-ldap,

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-07 Thread Clive Gould
Hi everyone It looks as if this was fixed in DSpace 3.2 [dspace@standbyvle ~]$ diff /home/dspace/dspace-3.2-src-release/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-07 Thread helix84
On Wed, Aug 7, 2013 at 1:20 PM, Clive Gould cli...@gmail.com wrote: It looks as if this was fixed in DSpace 3.2 Right. Sorry about that. You can simply use that newer LDAPAuthentication.java file (beware of OAI being broken in 3.2). Does it work for you now?

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-07 Thread Clive Gould
I've just copied over the config file from 3.2 run maven and ant On restarting Tomcat the problem still seems to be there :(( 1026 cp /home/dspace/dspace-3.2-src-release/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-06 Thread Clive Gould
Hi everyone Still trying to get the special groups code to work with LDAP login Below is an excerpt from /home/dspace/config/modules/authentication-ldap.cfg # LDAP users group # # If required, a group name can be given here, and all users who log in # to LDAP will automatically become

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-06 Thread helix84
Neither login.specialgroup nor login.groupmap are applied to student, but it is to staff? I'm as baffled as you are. Are you modifying the right config file, i.e. [dspace]/config/modules/authentication-ldap.cfg (maybe you accidentally edited the one in [dspace-source])? Other than that, try

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-05 Thread helix84
On Fri, Aug 2, 2013 at 3:58 PM, Clive Gould cli...@gmail.com wrote: java.io.FileNotFoundException: /${dspace.dir}/config/dspace.cfg (No such file or directory) Somehow you're running with a dspace.cfg that hasn't been through the ant filtering phase. In this phase, references are replaced with

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-05 Thread Clive Gould
Hi Thanks for the suggestions. I've tried everything including mvn, ant and subsequently manually replacing every reference to ${dspace.dir with /home/dspace in all files in /home/dspace/config and its subdirectories However, the error in catalina.out resolutely refuses to go away I just don't

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-05 Thread Clive Gould
Hi Problem solved :) I went through all the files below and manually changed ${dspace.dir} for /home/dspace No more error messages in catalina.out Thanks everyone Now to get back to debugging LDAP! Clive [root@standbyvle config]# cd /home/dspace/apache-tomcat-6.0.18/webapps [root@standbyvle

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-05 Thread helix84
A grep tip for faster searching: use the -I option to skip binary files. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Get your

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread Clive Gould
Hi Helix The following excerpt is taken from the authentication-ldap.cfg file # LDAP users group # # If required, a group name can be given here, and all users who log in # to LDAP will automatically become members of this group. This is useful # if you want a group made up of all

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread helix84
The only thing that comes to mind right away is case sensitivity. It shouldn't matter, but let's check. Try login.groupmap.1 = OU=StaffUsers:all-staff login.groupmap.2 = OU=StudentUsers:all-students Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread helix84
On Fri, Aug 2, 2013 at 10:24 AM, helix84 heli...@centrum.sk wrote: The only thing that comes to mind right away is case sensitivity. It shouldn't matter, but let's check. Try You can still check, but this shouldn't be the tproblem, because we're using if (StringUtils.containsIgnoreCase(dn,

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread Clive Gould
Hi Helix I've made the change you recommended to /home/dspace/dspace-3.0-src-release/dspace/config/modules/authentication-ldap.cfg Restarted Tomcat and also Apache but it still doesn't work Is there any logging within DSpace that I can enable to see what's happening with LDAP auth? Thanks

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread Clive Gould
Hi I need to increase the dspace.log level to debug The wiki says You can control the verbosity of this by editing the * [dspace-source]/config/templates/log4j.properties* file and then running *ant init_configs*. I've edited /home/dspace/dspace-3.0-src-release/dspace/config/log4j.properties

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread helix84
You're right, you do need to raise the log level to get those messages I listed, sorry I didn't notice it. On Fri, Aug 2, 2013 at 11:30 AM, Clive Gould cli...@gmail.com wrote: I've edited /home/dspace/dspace-3.0-src-release/dspace/config/log4j.properties Can anyone advise me what directory to

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread Clive Gould
I've edited the /home/dspace/config/log4j.properties file, restarted Tomcat, logged into DSpace. Unfortunately the dspace.log file hasn't changed since DSpace reloaded at 4 am today These are the changes I have made to the log4j file

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread helix84
On Fri, Aug 2, 2013 at 1:35 PM, Clive Gould cli...@gmail.com wrote: These are the changes I have made to the log4j file Those should be correct. Unfortunately the dspace.log file hasn't changed since DSpace reloaded at 4 am today Yes, that's weird. Also check tomcat's log (catalina) to see

Re: [Dspace-tech] LDAP and Special Groups Code

2013-08-02 Thread Clive Gould
Hi It looks as if there is something seriously wrong with Tomcat talking to DSpace [root@standbyvle ~]# tail -40 /home/dspace/apache-tomcat-6.0.18/logs/catalina.out Aug 2, 2013 2:46:25 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/sword] startup failed due to previous

[Dspace-tech] LDAP and Special Groups Code

2013-07-31 Thread Clive Gould
Hi I'm just upgrading from DSpace 1.8.1 to DSpace 3.0 on our test server We used to use custom code to differentiate between staff and student login and assign them to appropriate dynamic special groups I have tried using the new DSpace 3.0 login.groupmap directive within

Re: [Dspace-tech] LDAP and Special Groups Code

2013-07-31 Thread helix84
On Wed, Jul 31, 2013 at 2:48 PM, Clive Gould cli...@gmail.com wrote: We used to use custom code to differentiate between staff and student login and assign them to appropriate dynamic special groups Hi Clive, where does your custom code take the group information from? Full DN or attributes?

[Dspace-tech] LDAP permssion

2013-06-20 Thread Webshet, Sisay (ILRI)
Hi All, We are using dspace 3.1/xmlui version. We implemented LDAP/SSL. Our e-people doesn't have the same permission as the normal dsapce/password login when they login through the LDAP. Any hint on this --

Re: [Dspace-tech] LDAP permssion

2013-06-20 Thread helix84
On Thu, Jun 20, 2013 at 9:47 AM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: We implemented LDAP/SSL. Our e-people doesn’t have the same permission as the normal dsapce/password login when they login through the LDAP. Use login.specialgroup and/or login.groupmap.* to assign LDAP users to

Re: [Dspace-tech] LDAP permssion

2013-06-20 Thread Alan Orth
Thanks, Helix. In this case the problem was that this particular user had registered with an email address (long before we moved to LDAP) which didn't match that of the email address in LDAP; ie ao...@example.org instead of a.o...@example.org. We added the user to the appropriate groups and

[Dspace-tech] LDAP group

2013-05-24 Thread Webshet, Sisay (ILRI)
Hi All, Is there a possibility of creating more than one group (login.specialgroup) who log into LDAP For Dsapce 3.1 Thanks -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based

Re: [Dspace-tech] LDAP group

2013-05-24 Thread helix84
On Fri, May 24, 2013 at 3:08 PM, Webshet, Sisay (ILRI) s.webs...@cgiar.org wrote: Is there a possibility of creating more than one group (login.specialgroup) who log into LDAP For Dsapce 3.1 Yes, this functionality has been added in DSpace 3. See the login.groupmap option in documentation:

Re: [Dspace-tech] LDAP not working (AD): error code 34 - 0000208F\colon; NameErr\colon; DSID-031001F7, problem 2006 (BAD_NAME)

2013-04-26 Thread Jonathan Freesbay
OK, got it: object_context was empty, should be set to the ou where the user is. 2013/4/2 helix84 heli...@centrum.sk Sorry I can't be of more help. Here are some more observations, but they probably won't directly help you. Here's what result=2 means: /** User exists, but credentials

  1   2   3   >