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 en

[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 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 of a

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 configurat

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

[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 INFO

[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 point

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: https://wiki.duraspace.org/d

Re: [Dspace-tech] ldap configuration

2015-06-18 Thread Hilton Gibson
e-tech] FW: ldap configuration > > > > Can someone help me. Still waiting > > > > *From:* Saidy Binta [mailto:bisa...@mrc.gm ] > *Sent:* 18 June 2015 12:31 > *To:* dspace-tech@lists.sourceforge.net > *Subject:* [Dspace-tech] ldap configuration > > > > Hi

Re: [Dspace-tech] ldap configuration

2015-06-18 Thread Saidy Binta
15 12:31 To: dspace-tech@lists.sourceforge.net<mailto: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 wro

Re: [Dspace-tech] ldap configuration

2015-06-18 Thread alastair.duncan
:bisa...@mrc.gm] Sent: 18 June 2015 12:31 To: dspace-tech@lists.sourceforge.net<mailto: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

[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 rec

[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 messa

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 : > 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

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 >

[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 = cn=Users,dc=ldap,dc=c

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 re

[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 this

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 r

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 [dspace-source]/dspace-api/src/main/java/dspace/authent

Re: [Dspace-tech] LDAP autoregister

2015-01-23 Thread Tim Donohue
Olivier, Looking again at the code, it seems like there *may* be a bug here. (Unfortunately, I don't have an LDAP locally to test against myself in order to verify it though.) However, I do notice something odd in the LDAP Authentication code. It looks as though the various user LDAP fields are

Re: [Dspace-tech] LDAP autoregister

2015-01-23 Thread Olivier Nicole
Tim, >> 3) As for the "email" field problem. There was a known bug regarding >> this in DSpace 3 and 4. It's now been fixed in DSpace 5. Here's the info >> on that problem: https://jira.duraspace.org/browse/DS-1781 > > Thanks, I will patch that. I have downloaded the new LDAPAuthentication.java

Re: [Dspace-tech] LDAP autoregister

2015-01-22 Thread Olivier Nicole
Oliver, > 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 nothin

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 > https://wiki.duraspace.org/display

Re: [Dspace-tech] LDAP autoregister

2015-01-22 Thread Tim Donohue
Olivier, 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: https://wiki.duraspace.org/display/DSDOC4x/Authenticati

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 (ph

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 refus

[Dspace-tech] LDAP autoregister

2015-01-20 Thread Olivier Nicole
Olivier Nicole 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 e-person is created but the pro

[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 13:51

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

2015-01-07 Thread helix84
On Wed, Jan 7, 2015 at 1:56 PM, helix84 wrote: > On Wed, Jan 7, 2015 at 1:33 PM, Hilton Gibson 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-

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

2015-01-07 Thread helix84
On Wed, Jan 7, 2015 at 1:33 PM, Hilton Gibson 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 only have one LDAP ser

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 Syst

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

2015-01-07 Thread helix84
The way it works is anyone who can log in to LDAP can log into DSpace and then is assigned the specialgroup. If you want only those who are students in LDAP to be able to log into DSpace, that's a different matter. There are two ways how your group information may be stored in LDAP: if your DN is

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 4

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 (students

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 https://wiki.duraspace.org/display/DSPACE/

[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 someon

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

[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 sear

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread helix84
On Fri, Feb 28, 2014 at 4:02 PM, Oscar Sanchez Gomez 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 with your own DN an

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread Oscar Sanchez Gomez
591-4820 F  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 Beh

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread helix84
On Fri, Feb 28, 2014 at 3:23 PM, Stefanie Behnke 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 access them as the use

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 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

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-28 Thread helix84
On Fri, Feb 28, 2014 at 12:33 PM, Stefanie Behnke 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 and what would y

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 wit

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 leas

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-21 Thread Stefanie Behnke
tusnet.com.au] Gesendet: 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 sho

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-20 Thread Keir Vaughan-Taylor
t; > > Here is my ldap configuration: > > > > > > > > > > thanking you in advance > > Stefanie > > > > > > -Ursprüngliche Nachricht- > Von: Keir Vaughan-Taylor [mailto:kei...@optusnet.com.au] > Gesendet: Donnerstag, 20. Februar

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-20 Thread helix84
On Thu, Feb 20, 2014 at 11:41 AM, Stefanie Behnke 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 at all. I see

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread helix84
On Thu, Feb 20, 2014 at 12:58 AM, Keir Vaughan-Taylor 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 role > is. (Helix did

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread Keir Vaughan-Taylor
I've ranted in the past about the ldap Authentication code. There is in my view conflict in anonymous access and having priviledged or root LDAP access. Most people don't have that kind of access and it has to be challenge response. That is make an LDAP request as a user and supply a password and

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 from

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 wrote: > It does w

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread helix84
On Wed, Feb 19, 2014 at 3:22 PM, Stefanie Behnke 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 you also always tr

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&#

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 a

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 the

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-19 Thread Seun Ojedeji
? Where is the problem? > > > > Your help is very appreciated. > > > > Best regards > > Stefanie > > > > > > > > -Ursprüngliche Nachricht- > Von: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] Im Auftrag von > helix84 > Gesendet:

Re: [Dspace-tech] Ldap Authentification and profile

2014-02-18 Thread Hilton Gibson
ted. > > > > Best regards > > Stefanie > > > > > > > > -----Ursprüngliche Nachricht- > Von: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] Im Auftrag von > helix84 > Gesendet: Montag, 10. Februar 2014 10:57 > An: Stefanie Behnke > Cc: dspace-tec

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 ---

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 Roo

[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 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, ~~helix84

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 to be

[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 u

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 Jir

Re: [Dspace-tech] Ldap Authentification and profile

2013-11-26 Thread Stefanie Behnke
Betreff: Re: [Dspace-tech] Ldap Authentification and profile 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 authenticatio

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 L

[Dspace-tech] Ldap Authentification and profile

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

[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. W

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

2013-09-16 Thread Reid, Andrew C.E.
er reasons, but now I have a working fall-back, and can start tightening up the controls. From: Clive Gould 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 -- wh

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

2013-09-16 Thread Clive Gould
: 1 > Date: Sun, 15 Sep 2013 23:14:29 +0200 > From: helix84 > Subject: Re: [Dspace-tech] LDAP auto-registration -- what am I > missing? > To: Andrew Reid > Cc: dspace-tech > Message-ID: > 2j_...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 &g

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 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 work for other peopl

[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 poi

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

2013-08-29 Thread Schuster, David
ox 425528 Denton TX 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

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

2013-08-27 Thread Schuster, David
dschus...@twu.edu -Original Message- 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 P

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

2013-08-27 Thread helix84
On Tue, Aug 27, 2013 at 11:17 PM, Schuster, David 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 enable ldap wouldn't

[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: 940-89

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" Subject: [Dspace-tech] Ldap 3.2 w

[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 L

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 /home/dspace/dspace-3.0-src-release/dspace-api/src/m

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

2013-08-07 Thread helix84
On Wed, Aug 7, 2013 at 1:20 PM, Clive Gould 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? https://jira.duraspace.org/browse/DS-1576 Regards,

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 /home/dspace/dspace-3.0-src-release/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.

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", "login.grou

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 = OU=StudentUsers:all-stud

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 sprin

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 m

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-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
On Mon, Aug 5, 2013 at 2:42 PM, Clive Gould wrote: > 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 Like Kostas mentioned in

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 helix84
On Fri, Aug 2, 2013 at 3:58 PM, Clive Gould 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 actual values,

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 errors

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

2013-08-02 Thread helix84
On Fri, Aug 2, 2013 at 1:35 PM, Clive Gould 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 if there are a

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
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 wrote: > I've edited /home/dspace/dspace-3.0-src-release/dspace/config/log4j.properties > > Can anyone advise me what directory to run ant init_c

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
On Fri, Aug 2, 2013 at 10:24 AM, helix84 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, ldapSearchString)) D

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 Cliv

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 https://wiki.duraspace.org/

  1   2   3   4   >