Hi Helix,
All my settings are same as you mentioned. Yet still it does not work giving 
error "incorrect username and password".
I am studying Stuart Lewis Blog regarding this. There somebody has mentioned 
that anonymous binding needs ldap_user_filter=uid="%USERNAME%". 

RegardsAmjad
> From: [email protected]
> Date: Thu, 21 Jun 2012 17:30:27 +0200
> Subject: Re: [Dspace-tech] issues in ldap connectivity
> To: [email protected]
> CC: [email protected]
> 
> Hi Amjad,
> 
> make sure you use the LDAPHierarchicalAuthentication plugin, not
> LDAPAuthentication. This should get you started:
> 
> config/modules/authentication.cfg:
> plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
>         org.dspace.authenticate.LDAPHierarchicalAuthentication, \
>         org.dspace.authenticate.PasswordAuthentication
> 
> ldap.enable = true
> ldap.autoregister = true
> ldap.provider_url = ldap://1.2.3.4/
> ldap.id_field = cn
> ldap.object_context = dc=myUni,dc=edu
> ldap.search_context = dc=myUni,dc=edu
> ldap.email_field = cn
> ldap.surname_field = sn
> ldap.givenname_field = givenName
> ldap.search_scope = 2
> 
> Regards,
> ~~helix84
                                          
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to