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 =
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,
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
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?
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
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
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
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
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
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
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 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
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
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,
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
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
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
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
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
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
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
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?
22 matches
Mail list logo