Re: [Dspace-tech] Ldap not working with Dspace

2012-11-14 Thread Seun Ojedeji
Hello, Just to report back that i finally got my LDAP to work with Dspace. Found out dspace actually does accept username format (not just email format). Can you direct me to where i can find dspace themes/templates? Thanks for the help. Regards On Tue, Nov 13, 2012 at 10:26 AM, helix84

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-14 Thread helix84
On Wed, Nov 14, 2012 at 9:32 AM, Seun Ojedeji seun.ojed...@gmail.com wrote: Just to report back that i finally got my LDAP to work with Dspace. Found out dspace actually does accept username format (not just email format). Yes, you can put anything into id_field, I thought you knew that when

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-14 Thread Seun Ojedeji
Thanks! On Wed, Nov 14, 2012 at 9:45 AM, helix84 heli...@centrum.sk wrote: On Wed, Nov 14, 2012 at 9:32 AM, Seun Ojedeji seun.ojed...@gmail.com wrote: Just to report back that i finally got my LDAP to work with Dspace. Found out dspace actually does accept username format (not just email

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-13 Thread Seun Ojedeji
Hello, Thanks for all the help, On Mon, Nov 12, 2012 at 12:18 PM, helix84 heli...@centrum.sk wrote: Well that indicates that there's no such record in LDAP. Are you sure your mail attribute is indexed so you can search on it? Kindly guide me on how to verify/make my mail attribute indexed?

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-13 Thread Hilton Gibson
Please send us the web link to your repository. I assume it is available on the internet. On 13 November 2012 11:18, Seun Ojedeji seun.ojed...@gmail.com wrote: Hello, Thanks for all the help, On Mon, Nov 12, 2012 at 12:18 PM, helix84 heli...@centrum.sk wrote: Well that indicates that

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-13 Thread helix84
On Tue, Nov 13, 2012 at 10:18 AM, Seun Ojedeji seun.ojed...@gmail.com wrote: On Mon, Nov 12, 2012 at 12:18 PM, helix84 heli...@centrum.sk wrote: Well that indicates that there's no such record in LDAP. Are you sure your mail attribute is indexed so you can search on it? Kindly guide me on

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-13 Thread Seun Ojedeji
Hello, On Tue, Nov 13, 2012 at 10:26 AM, helix84 heli...@centrum.sk wrote: No such object (32) This baffles me, I'm not sure whether this refers to the record or somethine else. Try Googling for this (in quotes). Your response wasn't really related to my recommendation. I did

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-12 Thread Seun Ojedeji
Hello, On Sun, Nov 11, 2012 at 12:50 PM, helix84 heli...@centrum.sk wrote: 1) Use the ldapsearch tool to try to connect to LDAP from the DSpace machine. Start with this: ldapsearch -h your_ldap.com -D cn=admin,dc=myorg,dc=edu -W -L (mail=akin.ojed...@mydomain.com) and see if it finds the

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-12 Thread helix84
On Mon, Nov 12, 2012 at 11:35 AM, Seun Ojedeji seun.ojed...@gmail.com wrote: # filter: (mail=akin.ojed...@mydomain.com) Well that indicates that there's no such record in LDAP. Are you sure your mail attribute is indexed so you can search on it? No such object (32) This baffles me, I'm not

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-11 Thread Seun Ojedeji
Hello, On Sat, Nov 10, 2012 at 5:55 PM, helix84 heli...@centrum.sk wrote: status=4 means that the username as you passed it to LDAP is incorrect. My best guess is that you didn't pass the full DN, only the username part. I think your observation is in line...what i observe is that dspace

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-11 Thread helix84
It seems allright, you're using id_field correctly (assuming all else is correct). You just didn't respond which authentication plugin you used. You should use LDAPHierarchicalAuthentication, not LDAPAuthentication, otherwise the initial bind would be ignored and an anonymous search tried, which

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-11 Thread Hilton Gibson
Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management#Step_1._Check_local_LDAP_on_local_server On 11 November 2012 13:50, helix84 heli...@centrum.sk wrote: It seems allright, you're using id_field correctly (assuming all else is correct). You just didn't

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-11 Thread helix84
Hi Hilton, out of curiosity I looked at that the chapter and the new ldap.conf file you're linking there to isn't explained at all. Where does it come from? What's its contents? Dňa 11.11.2012 14:27, Hilton Gibson hilton.gib...@gmail.com napísal(-a): Perhaps this will help:

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-11 Thread Hilton Gibson
Updated wiki page: http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management#Examples Cheers hg On 11 November 2012 15:33, helix84 heli...@centrum.sk wrote: Hi Hilton, out of curiosity I looked at that the chapter and the new ldap.conf file you're linking there to isn't explained at

[Dspace-tech] Ldap not working with Dspace

2012-11-10 Thread Seun Ojedeji
Hello, For some unknown reason i can't seem to get dspace to work with my ldap(openldap). Here is the error message i get: 2012-11-10 17:03:41,590 WARN org.dspace.authenticate.LDAPAuthentication @

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-10 Thread helix84
Hi Seun, well, the immediate reason is obviously that the login and password as DSpace provided it to LDAP is really invalid. https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/servlet/PasswordServlet.java#L93 Nobody can't help

Re: [Dspace-tech] Ldap not working with Dspace

2012-11-10 Thread helix84
This is the link I meant: https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-api/src/main/java/org/dspace/authenticate/AuthenticationMethod.java#L54 status=4 means that the username as you passed it to LDAP is incorrect. My best guess is that you didn't pass the full DN, only the username