Thanks Stuart,

I ended up writing a php script to connect to the ldap server from our 
dspace server. Worked.

Long story short. There were about 3 changes going on at the same time. 
The only one I had control over was a stupid error on my part - through 
the course of the past few weeks, the config file was clobbered (only on 
1 line) and one letter was changed in the ldap object context.
I guess no one noticed as there are only 3 people testing; I was able to 
log in, but no one else was.

Alas. Thanks for the tool tip - We use softerra on windows, but I don't 
have anything loaded on linux.

Thanks again,
Susan


Stuart Lewis [sdl] wrote:
> Hi Susan,
>
>   
>> I started receiving the following messages in my dspace log today:
>>
>> 2007-04-17 15:29:25,244 WARN  org.dspace.app.webui.servlet.LDAPServlet @
>> anonymous:session_id=7EFF45148568493C0EB81D2E82FDCF62:ip_addr=128.172.144.44:l
>> dap_authentication:type=failed_auth
>> javax.naming.AuthenticationException: [LDAP: error code 49 - NDS error:
>> failed authentication (-669)]
>>     
>
> I'm guessing you are authenticating against Novell? The standard LDAP error
> code 49, and Novell's error code -669 just mean "bad username or password",
> so aren't very helpful.
>
> One little tool that is very useful in debugging LDAP problems is the 'LDAP
> Browser'.
>
> http://www-unix.mcs.anl.gov/~gawor/ldap/
>
> You can give this the same information that you used to configure LDAP in
> DSpace, and see if it lets you in. If it does, the problem will be with
> DSpace (although you say you have changed anything so hopefully it is fine),
> or if it doesn't, the problem will be with the LDAP service.
>
> If it does also fail, it gives you a nice tool to take to the LDAP
> administrators to show that connections are not working. They should be able
> to turn on tracing to watch authentication attempts to their LDAP service to
> see what is happening.
>
> Good luck!
>
>
> Stuart
> _________________________________________________________________
>
> Datblygydd Cymwysiadau'r We            Web Applications Developer
> Gwasanaethau Gwybodaeth                      Information Services
> Prifysgol Cymru Aberystwyth       University of Wales Aberystwyth
>
>             E-bost / E-mail: [EMAIL PROTECTED]
>                  Ffon / Tel: (01970) 622860
> _________________________________________________________________
>   

-- 
Susan Teague Rector
Web Applications Manager
Library Information Systems, VCU Libraries
804.827.3554 | [EMAIL PROTECTED]



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to