Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-08-14 Thread Vusani Mutshinya
Ended up with a solution with the following config: provider_url = ldap://domain.com/ #object_context = ou=someOU\, dc=domain\,dc=com search_context = dc=domain\,dc=com # No OU required here for my ldap search_scope = 2 search.user = CN=ldapsync\,CN=ldapsync_group\,dc=domain\,dc=com search.passwor

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-08-03 Thread Vusani Mutshinya
My top level OU is the same name with my domain name, only that the OU's first letter capitalized. On Thursday, 3 August 2017 16:12:50 UTC+2, Shannon Meisenheimer wrote: > > I think you need something other than domain for your OU: > authentication-ldap.object_context = ou=domain\,dc=domain\,dc=

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-08-03 Thread Shannon Meisenheimer
I think you need something other than domain for your OU: authentication-ldap.object_context = ou=domain\,dc=domain\,dc=gov\,dc=za authentication-ldap.search_context = ou=domain\,ou=domain\,ou=gov\,ou=za The error seems to indicate a problem with your base DN. Talk to your LDAP/Directory admin an

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-08-03 Thread Vusani Mutshinya
Here: authentication-ldap.enable = true authentication-ldap.autoregister = true authentication-ldap.provider_url = ldap://domain.gov.za/ authentication-ldap.id_field = sAMAccountName authentication-ldap.object_context = ou=domain\,dc=domain\,dc=gov\,dc=za authentication-ldap.search_context = ou=do

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-08-03 Thread Shannon Meisenheimer
Can you post your ldap configuration settings? Shannon -- Mr. Shannon Meisenheimer Office of Technology University of Central Missouri WDE0608 meisenhei...@ucmo.edu Work Phone: (660) 543-8483 On Thu, Aug 3, 2017 at 8:00 AM, Vusani Mutshinya wrote: > Hi, > > I am facing the same issue, I was so

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-08-03 Thread Vusani Mutshinya
Hi, I am facing the same issue, I was so happy you had found a solution only to find it not working for me. I have configured everything as you have and still no joy. I have ldapsearch which I am able to connect with but DSpace still does not. The error is a no DN found for user. Any help will

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-08-02 Thread Tim Cullings
Finally solved this through a combination of Wiresark and dspace logs I was able to figure out that it wasn't binding to LDAP at all. Fixed that by adding \'s to my authentication-ldap.search.user. So it is now cn=username\,ou=someou\,dc=domain\,dc=com I then had to add a slash to the end of my

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-07-13 Thread Shannon Meisenheimer
Weird. That's an auth credential error, but like you said you've tested that user elsewhere. I'm no LDAP wizard, I had troubleshoot our DSpace/LDAP setup with our team that supports active directory. Shannon Sent from my iPhone > On Jul 13, 2017, at 6:18 PM, Tim Cullings wrote: > > Yes, I

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-07-13 Thread Tim Cullings
Yes, I verified that they are the same. On Wed, Jul 12, 2017 at 7:22 PM, Shannon Meisenheimer wrote: > Are you sure the cn and samAccountName match for that user? > > Shannon > > Sent from my iPhone > > On Jul 12, 2017, at 3:55 PM, Tim Cullings wrote: > > I have been tasked with setting up DSpa

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-07-12 Thread Shannon Meisenheimer
Are you sure the cn and samAccountName match for that user? Shannon Sent from my iPhone > On Jul 12, 2017, at 3:55 PM, Tim Cullings wrote: > > I have been tasked with setting up DSpace in my environment and getting it > working with LDAP for user authentication. > > I've gone through every

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-07-12 Thread Shannon Meisenheimer
Just username for the cn value: search.user = cn=someUser,ou=someOU,ou=anotherOU,dc=ucmo,dc=local I wouldn't think you would need the domain defined with in CN if you are providing the domain component attribute. The rest of your key values are pretty similar to mine with a couple of exceptions.

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-07-12 Thread Tim Cullings
I think I just mistyped that id_field, I had tried cn and that didn't work either. My authentication.cfg file only has LDAP turned on atm so I can test it. In the username field are you adding any @domainname.com or domain\username? Through google searches it is telling me that the error indi

Re: [dspace-tech] LDAP Login issues - DSpace v5

2017-07-12 Thread Shannon Meisenheimer
What does your authentication.cfg file look like, do you have LDAPAuth added there? Mine contains: > plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ > org.dspace.authenticate.LDAPAuthentication, \ > org.dspace.authenticate.PasswordAuthentication Also the value for your

[dspace-tech] LDAP Login issues - DSpace v5

2017-07-12 Thread Tim Cullings
I have been tasked with setting up DSpace in my environment and getting it working with LDAP for user authentication. I've gone through every article on the site, tried every combination of settings in the authentication-ldap.cfg file and can't seem to get it to work. The only error I receiv