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
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
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
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
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
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
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
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
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
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
: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
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
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
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
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
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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
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
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
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
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
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/
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
-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
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
: 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
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
: 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
? 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:
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
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
---
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
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
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
...@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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
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,
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.
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
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
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
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
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
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
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
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
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,
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
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
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
###
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
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
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
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
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 - 100 of 316 matches
Mail list logo