Hi,

I have the following LDAP settings in my dev environment but they are not 
working. I get a "No DN found for user"

authentication-ldap.enable = true
authentication-ldap.autoregister = true
authentication-ldap.provider_url = ldap://domain.com:389/dc=domain,dc=com
#authentication-ldap.provider_url = ldap://domain.com:389/
authentication-ldap.id_field = sAMAccountName
authentication-ldap.object_context = ou=SomeOU\,dc=domain\,dc=com
authentication-ldap.search_context = ou=SomeOU\,dc=domain\,dc=com
#authentication-ldap.search_context = ou=SomeOU,dc=domain,dc=com
authentication-ldap.email_field = mail
authentication-ldap.netid_email_domain = @domain.com
authentication-ldap.surname_field = sn
authentication-ldap.givenname_field = givenName
authentication-ldap.search_scope = 2
authentication-ldap.search.anonymous = true
authentication-ldap.search.user = [email protected]
#authentication-ldap.search.user = 
[email protected]\,ou=SomeOU\,dc=domain\,dc=com
authentication-ldap.search.password =password

The netid_email_domain field also does not get recognized by the app, so if 
I only put a username without the domain it does not append as it should.

All the lines that are commented are combinations I tried before, nothing 
seems to work. If I run linux LDAPSearch or Gawor_ldapbrowser_282 with the 
exact parameters; a connection is established.

In the authentication.cfg file I have:

plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ 
org.dspace.authenticate.LDAPAuthentication,\ 
org.dspace.authenticate.PasswordAuthentication

I have also tried have them in two separate lines.

Is there something I am doing wrong here?

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to