"LDAP Query of AD for User Failed" - this shows that ADauthentication code is
executing. Now the problem could be with search context.
In DSpace config file u have given context as
ou=enabled,ou=staff,dc=ad,dc=stir,dc=ac,dc=uk?
If it doen't work, then give context as
CN=mw6,ou=enabled,ou=staff,dc=ad,dc=stir,dc=ac,dc=uk
MYORG_USERS group is created in Dspace using admin interface?
Jayan
________________________________
From: Michael White [mailto:[EMAIL PROTECTED]
Sent: Fri 4/27/2007 7:35 PM
To: Jayan Chirayath Kurian; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] AD Authentication and Choose login page?
Thanks Jayan,
I eventually realised my problem!! I had the 2 authentication methods in the
plugin list on different lines, but hadn't added a "\" terminator to the end of
the first line - I've done that now and now I'm getting the normal logon screen.
My LDAP login still isn't working, but I'm guessing (or is that hoping!) that
this is just a configuration error - I will take another look at my config info
(I have tested all the config stuff in the LDAP browser and it seems OK) and
see if I can work out what the problem is.
At the moment I'm just using my own account for the AD lookup (I'm working on
my DEV system at the moment) - this is the config I'm using for this (my
username followed by the context where it is):
msad.username = CN=mw6,ou=enabled,ou=staff,dc=ad,dc=stir,dc=ac,dc=uk
- should this work (it appears to work fine in the LDAP browser)?
One thing I did notice that surprised me was that the failed login showed up in
the logs as being in LDAPAuthentication rather than ADAuthentication -
2007-04-27 12:17:38,486 INFO org.dspace.eperson.LDAPAuthentication @
anonymous:session_id=B4566E227087E0FBE7F4EFB1EA938915:ip_addr=139.153.92.71:auth:LDAP
Query of AD for User Failed
Is this to be expected, or have I done something else silly?
My config info is:
plugin.sequence.org.dspace.eperson.AuthenticationMethod = \
org.dspace.eperson.ADAuthentication, \
org.dspace.eperson.PasswordAuthentication
Any insights or thoughts welcome.
Thanks,
Mike
Michael White
eLearning Developer
Centre for eLearning Development (CeLD)
S7, The Library
University of Stirling
Stirling SCOTLAND
FK9 4LA
Email: [EMAIL PROTECTED]
Tel: +44 (0) 1786 466877
Fax: +44 (0) 1786 466880
<http://www.is.stir.ac.uk/celd/> http://www.is.stir.ac.uk/celd/
________________________________
From: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED]
Sent: 27 April 2007 11:39
To: Michael White; dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] AD Authentication and Choose login page?
Check
plugin.sequence.org.dspace.eperson.AuthenticationMethod = \
org.dspace.eperson.ADAuthentication,
org.dspace.eperson.PasswordAuthentication
ldap.enable = false
this will bring the normal password screen for you to enter uid and password.
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael White
Sent: Friday, April 27, 2007 6:23 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] AD Authentication and Choose login page?
Hi,
I am trying to get Active Directory LDAP integration up and running with DSpace
v1.4.1.
Jayan Chirayath Kurian has kindly provided me with a copy of an
ADAuthentication.java plugin written by Kyle Brenthall (along with
implementation instructions - thanks Kyle, by the way :-) ).
Following Kyle's instructions to Jayan, I have added the plug-in code, made the
required code additions to Utils.java, added the config info to dspace.cfg, and
added ADAuthentication to the authentication plugin sequence (as the first
option followed by PasswordAuthentication).
However, when I now try to access "My DSpace" to test it out, rather than being
presented with a login page, I am getting a "Choose a Login Method" page, which
asks me to 'choose one of these ways to login' - however there are no options
to choose from, so I am not able to proceed.
Anyone know what I'm doing wrong, or what I should be tweaking in order to get
past this screen?
In his email to Jayan, Kyle says "The module uses the 'normal' screen to gather
the username and password", so this is what I'm trying to get at . . . .
Any thoughts, suggestions, or pointers welcome!
Cheers,
Mike
Michael White
eLearning Developer
Centre for eLearning Development (CeLD)
S7, The Library
University of Stirling
Stirling SCOTLAND
FK9 4LA
Email: [EMAIL PROTECTED]
Tel: +44 (0) 1786 466877
Fax: +44 (0) 1786 466880
http://www.is.stir.ac.uk/celd/
--
The University of Stirling is a university established in Scotland by charter
at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in
this message. If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not disclose,
copy or deliver this message to anyone and any action taken or omitted to be
taken in reliance on it, is prohibited and may be unlawful. In such case, you
should destroy this message and kindly notify the sender by reply email. Please
advise immediately if you or your employer do not consent to Internet email for
messages of this kind.
--
The University of Stirling is a university established in Scotland by charter
at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in
this message. If you are not the addressee indicated in this message (or
responsible for delivery of the message to such person), you may not disclose,
copy or deliver this message to anyone and any action taken or omitted to be
taken in reliance on it, is prohibited and may be unlawful. In such case, you
should destroy this message and kindly notify the sender by reply email. Please
advise immediately if you or your employer do not consent to Internet email for
messages of this kind.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech